Mercurial > mm7
view NewUI/MainMenu.h @ 2152:d44b7775fc06
Removed DirectDraw2 compatibility.
3D Sound enabled (change 3DSoundProvider registry entry to activate it).
Moved all forward declarations to mm7_unsorted_subs.h (many cpp files do not need them anyweay).
author | Nomad |
---|---|
date | Thu, 09 Jan 2014 01:37:34 +0200 |
parents | a5637690ffbb |
children | 5abd8fc8f1c6 |
line wrap: on
line source
#pragma once #include "Core/UIControl.h" #include "..\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; };