[go: up one dir, main page]

Menu

[r22]: / MainMenu.h  Maximize  Restore  History

Download this file

30 lines (25 with data), 474 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _MAINMENU_H_
#define _MAINMENU_H_
enum
{
GUI_ID_QUIT_BUTTON = 101,
GUI_ID_START_BUTTON,
GUI_ID_EDITOR_BUTTON
};
class MainMenu : public IEventReceiver
{
public:
MainMenu(CLog* logger);
int show();
virtual bool OnEvent(const SEvent& event);
~MainMenu();
CSettings* settings;
bool start;
bool editor;
private:
IrrlichtDevice* device;
IGUIListBox* listbox;
u32 driver_items[EDT_COUNT];
CLog* log;
};
#endif