Debian Codegraph @

Examples/GUIStyle/MenuSystem/NS_Menu_Main.h

raw
1 // NS_Menu_Main.h: interface for the NS_Menu_Main class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_NS_MENU_MAIN_H__2FF44AC1_57A7_4CBC_AA78_B9EDC584A886__INCLUDED_)
6 #define AFX_NS_MENU_MAIN_H__2FF44AC1_57A7_4CBC_AA78_B9EDC584A886__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 #include "NS_MenuGeneric.h"
13
14 class CL_Sprite;
15
16 class NS_Menu_Main : public NS_MenuGeneric
17 {
18 public:
19 NS_Menu_Main(NS_MenuManager & menu_manager,
20 CL_StyleManager & style_manager,
21 std::string const & path_to_resource);
22 virtual ~NS_Menu_Main();
23 public:
24 void on_switch_to_credits_menu();
25 void on_switch_to_game_menu();
26 // virtual functions
27 public:
28 void on_begin_paint();
29
30 void on_quit();
31 void switch_to(std::string const & menu_name);
32 public:
33 void on_profile();
34 private:
35 CL_Sprite * back_ground;
36 };
37
38 #endif // !defined(AFX_NS_MENU_MAIN_H__2FF44AC1_57A7_4CBC_AA78_B9EDC584A886__INCLUDED_)