OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
MWGui::SettingsWindow Class Reference

#include <settingswindow.hpp>

Inheritance diagram for MWGui::SettingsWindow:
Collaboration diagram for MWGui::SettingsWindow:

Public Member Functions

 SettingsWindow ()
 
virtual void open ()
 Notify that window has been made visible. More...
 
virtual void exit ()
 Gracefully exits the window. More...
 
void updateControlsBox ()
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void close ()
 Notify that window has been hidden. More...
 
virtual void setVisible (bool visible)
 Sets the visibility of the window. More...
 
bool isVisible ()
 Returns the visibility state of the window. More...
 
void center ()
 
- Public Member Functions inherited from MWGui::Layout
 Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr)
 
virtual ~Layout ()
 
MyGUI::Widget * getWidget (const std::string &_name)
 
template<typename T >
void getWidget (T *&_widget, const std::string &_name)
 
void setCoord (int x, int y, int w, int h)
 
void setText (const std::string &name, const std::string &caption)
 
void setTitle (const std::string &title)
 

Protected Member Functions

void onTabChanged (MyGUI::TabControl *_sender, size_t index)
 
void onOkButtonClicked (MyGUI::Widget *_sender)
 
void onTextureFilteringChanged (MyGUI::ComboBox *_sender, size_t pos)
 
void onSliderChangePosition (MyGUI::ScrollBar *scroller, size_t pos)
 
void onButtonToggled (MyGUI::Widget *_sender)
 
void onResolutionSelected (MyGUI::ListBox *_sender, size_t index)
 
void onResolutionAccept ()
 
void onResolutionCancel ()
 
void highlightCurrentResolution ()
 
void onWaterTextureSizeChanged (MyGUI::ComboBox *_sender, size_t pos)
 
void onRebindAction (MyGUI::Widget *_sender)
 
void onInputTabMouseWheel (MyGUI::Widget *_sender, int _rel)
 
void onResetDefaultBindings (MyGUI::Widget *_sender)
 
void onResetDefaultBindingsAccept ()
 
void onKeyboardSwitchClicked (MyGUI::Widget *_sender)
 
void onControllerSwitchClicked (MyGUI::Widget *_sender)
 
void onWindowResize (MyGUI::Window *_sender)
 
void apply ()
 
void configureWidgets (MyGUI::Widget *widget)
 
void updateSliderLabel (MyGUI::ScrollBar *scroller, const std::string &value)
 
void layoutControlsBox ()
 

Protected Attributes

MyGUI::TabControl * mSettingsTab
 
MyGUI::Button * mOkButton
 
MyGUI::ListBox * mResolutionList
 
MyGUI::Button * mFullscreenButton
 
MyGUI::Button * mWindowBorderButton
 
MyGUI::ComboBox * mTextureFilteringButton
 
MyGUI::Widget * mAnisotropyBox
 
MyGUI::ComboBox * mWaterTextureSize
 
MyGUI::ScrollView * mControlsBox
 
MyGUI::Button * mResetControlsButton
 
MyGUI::Button * mKeyboardSwitch
 
MyGUI::Button * mControllerSwitch
 
bool mKeyboardMode
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Private Member Functions

void resetScrollbars ()
 

Additional Inherited Members

- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

Constructor & Destructor Documentation

MWGui::SettingsWindow::SettingsWindow ( )

Here is the call graph for this function:

Member Function Documentation

void MWGui::SettingsWindow::apply ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::configureWidgets ( MyGUI::Widget *  widget)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::exit ( )
virtual

Gracefully exits the window.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::highlightCurrentResolution ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::layoutControlsBox ( )
protected

Here is the caller graph for this function:

void MWGui::SettingsWindow::onButtonToggled ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onControllerSwitchClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onInputTabMouseWheel ( MyGUI::Widget *  _sender,
int  _rel 
)
protected

Here is the caller graph for this function:

void MWGui::SettingsWindow::onKeyboardSwitchClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onOkButtonClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onRebindAction ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onResetDefaultBindings ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onResetDefaultBindingsAccept ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onResolutionAccept ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onResolutionCancel ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onResolutionSelected ( MyGUI::ListBox *  _sender,
size_t  index 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onSliderChangePosition ( MyGUI::ScrollBar *  scroller,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onTabChanged ( MyGUI::TabControl *  _sender,
size_t  index 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onTextureFilteringChanged ( MyGUI::ComboBox *  _sender,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onWaterTextureSizeChanged ( MyGUI::ComboBox *  _sender,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::onWindowResize ( MyGUI::Window *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::open ( )
virtual

Notify that window has been made visible.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

void MWGui::SettingsWindow::resetScrollbars ( )
private

Here is the caller graph for this function:

void MWGui::SettingsWindow::updateControlsBox ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SettingsWindow::updateSliderLabel ( MyGUI::ScrollBar *  scroller,
const std::string &  value 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MyGUI::Widget* MWGui::SettingsWindow::mAnisotropyBox
protected
MyGUI::Button* MWGui::SettingsWindow::mControllerSwitch
protected
MyGUI::ScrollView* MWGui::SettingsWindow::mControlsBox
protected
MyGUI::Button* MWGui::SettingsWindow::mFullscreenButton
protected
bool MWGui::SettingsWindow::mKeyboardMode
protected
MyGUI::Button* MWGui::SettingsWindow::mKeyboardSwitch
protected
MyGUI::Button* MWGui::SettingsWindow::mOkButton
protected
MyGUI::Button* MWGui::SettingsWindow::mResetControlsButton
protected
MyGUI::ListBox* MWGui::SettingsWindow::mResolutionList
protected
MyGUI::TabControl* MWGui::SettingsWindow::mSettingsTab
protected
MyGUI::ComboBox* MWGui::SettingsWindow::mTextureFilteringButton
protected
MyGUI::ComboBox* MWGui::SettingsWindow::mWaterTextureSize
protected
MyGUI::Button* MWGui::SettingsWindow::mWindowBorderButton
protected

The documentation for this class was generated from the following files: