1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 18:49:54 +00:00
openmw-tes3mp/apps/openmw/mwgui/mainmenu.hpp
2014-03-12 10:53:56 +01:00

38 lines
699 B
C++

#include <openengine/gui/layout.hpp>
#include "imagebutton.hpp"
namespace MWGui
{
class SaveGameDialog;
class MainMenu : public OEngine::GUI::Layout
{
int mWidth;
int mHeight;
public:
MainMenu(int w, int h);
~MainMenu();
void onResChange(int w, int h);
virtual void setVisible (bool visible);
private:
MyGUI::Widget* mButtonBox;
MyGUI::TextBox* mVersionText;
std::map<std::string, MWGui::ImageButton*> mButtons;
void onButtonClicked (MyGUI::Widget* sender);
void updateMenu();
SaveGameDialog* mSaveGameDialog;
};
}