Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
mainmenu.hpp
1 //////////////////////////////
2 //
3 // File: labyrinth/mainmenu.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Oct 17 2013
9 // This file is part of Project Labyrinth
10 // This file is going to be released under terms of GNU GPL in near future
11 //
12 //////////////////////////////
13 
14 #ifndef __LXS_MAINMENU__
15 #define __LXS_MAINMENU__
16 #include "helper/opengl.h"
17 #include "helper/tr1.h"
18 #include <string>
19 #include "lxs/windowing/button.hpp"
20 #include "lxs/windowing/form.hpp"
21 #include "swce/editor.hpp"
22 #include "swce/importer.hpp"
23 namespace Labyrinth
24 {
25  //! main menu
27  {
28  friend class SWCE::Importer;
29  //!< button to continue game
31  Form * fm; //!< form "More"
32  //! quit program (exit(0) in unix)
33  void Quit(LxS::Windowing::Button * b);
34  //! continue game
35  void ContinueGame(LxS::Windowing::Button * b);
36  //! start new game
37  void StartGame(LxS::Windowing::Button * b);
38  public:
39  void Refresh();
40  void Initialize();
41  };
42 }
43 #endif