Mercurial > mm7
view GUI/NewUI/MainMenu.h @ 2563:65c97624c047
Saving & loading works from both main menu and game
author | a.parshin |
---|---|
date | Tue, 19 May 2015 22:00:56 +0200 |
parents | 0ff6a9e9bf7f |
children |
line wrap: on
line source
#pragma once #include "Core/UIControl.h" #include "..\..\Engine/Graphics/Render.h" class MainMenuWindow: public UIControl { public: static MainMenuWindow *Create(); bool Initialize(); // UIControl virtual void Show() override; // UIControl virtual bool Focused() override; // UIControl virtual bool OnKey(int key) override; // UIControl virtual bool OnMouseLeftClick(int x, int y) override; // UIControl virtual bool OnMouseRightClick(int x, int y) override; // UIControl //virtual bool OnMouseEnter() override; // UIControl //virtual bool OnMouseLeave() override; private: RGBTexture *background_texture; };