#include #include "imagebutton.hpp" namespace MWGui { class MainMenu : public OEngine::GUI::Layout { int mWidth; int mHeight; public: MainMenu(int w, int h); void onResChange(int w, int h); virtual void setVisible (bool visible); private: MyGUI::Widget* mButtonBox; std::map mButtons; void onButtonClicked (MyGUI::Widget* sender); void updateMenu(); }; }