OpenMW
apps/openmw/mwgui/mainmenu.hpp
Go to the documentation of this file.
00001 #include <openengine/gui/layout.hpp>
00002 
00003 #include "imagebutton.hpp"
00004 
00005 namespace MWGui
00006 {
00007 
00008     class MainMenu : public OEngine::GUI::Layout
00009     {
00010     public:
00011         MainMenu(int w, int h);
00012 
00013         void onResChange(int w, int h);
00014 
00015     private:
00016         MyGUI::Widget* mButtonBox;
00017 
00018         std::map<std::string, MWGui::ImageButton*> mButtons;
00019 
00020         void onButtonClicked (MyGUI::Widget* sender);
00021     };
00022 
00023 }