#include <mainmenu.hpp>
|
| MainMenu (int w, int h, const VFS::Manager *vfs, const std::string &versionDescription) |
|
| ~MainMenu () |
|
void | onResChange (int w, int h) |
| Called when GUI viewport changes size. More...
|
|
virtual void | setVisible (bool visible) |
| Sets the visibility of the window. More...
|
|
void | onFrame (float dt) |
| Called every frame if the window is in an active GUI mode. More...
|
|
bool | exit () |
| Gracefully exits the window. More...
|
|
| WindowBase (const std::string &parLayout) |
|
virtual MyGUI::Widget * | getDefaultKeyFocus () |
|
virtual void | setPtr (const MWWorld::Ptr &ptr) |
| Open this object in the GUI, for windows that support it. More...
|
|
virtual void | onOpen () |
| Notify that window has been made visible. More...
|
|
virtual void | onClose () |
| Notify that window has been hidden. More...
|
|
bool | isVisible () |
| Returns the visibility state of the window. More...
|
|
void | center () |
|
virtual void | clear () |
| Clear any state specific to the running game. More...
|
|
| 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) |
|
MWGui::MainMenu::MainMenu |
( |
int |
w, |
|
|
int |
h, |
|
|
const VFS::Manager * |
vfs, |
|
|
const std::string & |
versionDescription |
|
) |
| |
MWGui::MainMenu::~MainMenu |
( |
| ) |
|
bool MWGui::MainMenu::exit |
( |
| ) |
|
|
virtual |
void MWGui::MainMenu::onButtonClicked |
( |
MyGUI::Widget * |
sender | ) |
|
|
private |
void MWGui::MainMenu::onExitConfirmed |
( |
| ) |
|
|
private |
void MWGui::MainMenu::onFrame |
( |
float |
duration | ) |
|
|
virtual |
Called every frame if the window is in an active GUI mode.
Reimplemented from MWGui::WindowBase.
void MWGui::MainMenu::onNewGameConfirmed |
( |
| ) |
|
|
private |
void MWGui::MainMenu::onResChange |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
void MWGui::MainMenu::setVisible |
( |
bool |
visible | ) |
|
|
virtual |
void MWGui::MainMenu::showBackground |
( |
bool |
show | ) |
|
|
private |
void MWGui::MainMenu::updateMenu |
( |
| ) |
|
|
private |
MyGUI::Widget* MWGui::MainMenu::mButtonBox |
|
private |
bool MWGui::MainMenu::mHasAnimatedMenu |
|
private |
int MWGui::MainMenu::mHeight |
|
private |
MyGUI::TextBox* MWGui::MainMenu::mVersionText |
|
private |
MyGUI::ImageBox* MWGui::MainMenu::mVideoBackground |
|
private |
int MWGui::MainMenu::mWidth |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/elsid/openmw/apps/openmw/mwgui/mainmenu.hpp
- /home/travis/build/elsid/openmw/apps/openmw/mwgui/mainmenu.cpp