Mercurial > mm7
diff GUI/UI/UIMainMenu.h @ 2551:4008b2f34be0
MainMenu rendering moved from event loop to respective window class
author | a.parshin |
---|---|
date | Tue, 12 May 2015 12:03:30 +0200 |
parents | 0ff6a9e9bf7f |
children | dd36326a9994 |
line wrap: on
line diff
--- a/GUI/UI/UIMainMenu.h Tue May 12 11:28:22 2015 +0200 +++ b/GUI/UI/UIMainMenu.h Tue May 12 12:03:30 2015 +0200 @@ -1,1 +1,19 @@ -#pragma once \ No newline at end of file +#pragma once +#include "GUI/GUIWindow.h" + + + +extern struct GUIButton *pMainMenu_BtnExit; +extern struct GUIButton *pMainMenu_BtnCredits; +extern struct GUIButton *pMainMenu_BtnLoad; +extern struct GUIButton *pMainMenu_BtnNew; + + + +struct GUIWindow_MainMenu: public GUIWindow +{ + GUIWindow_MainMenu(); + virtual ~GUIWindow_MainMenu() {} + + virtual void Update(); +}; \ No newline at end of file