/[enigma]/enigma/src/menus.hh
ViewVC logotype

Diff of /enigma/src/menus.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dheck, Thu Jun 26 17:22:57 2003 UTC revision 1.5 by reallysoft, Sun Jul 6 12:41:35 2003 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2002 Daniel Heck   * Copyright (C) 2002 Daniel Heck
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License   * modify it under the terms of the GNU General Public License
6   * as published by the Free Software Foundation; either version 2   * as published by the Free Software Foundation; either version 2
# Line 28  namespace enigma Line 28  namespace enigma
28  {  {
29      class OptionsMenu : public gui::Menu {      class OptionsMenu : public gui::Menu {
30      public:      public:
31          OptionsMenu();          OptionsMenu(px::Surface *background_);
32      private:      private:
33          void update_info();          void update_info();
34    
# Line 39  namespace enigma Line 39  namespace enigma
39          // Menu interface.          // Menu interface.
40          void draw_background(px::GC &gc);          void draw_background(px::GC &gc);
41          void tick(double dtime);          void tick(double dtime);
42            
43          // Variables.          // Variables.
44          gui::Widget *back, *fullscreen;          gui::Widget *back, *fullscreen;
45          gui::Label *m_restartinfo;          gui::Label  *m_restartinfo;
46            px::Surface *background;
47      };      };
48    
49    
50      void GUI_MainMenu(LevelPack *lp, unsigned ilevel_pack);      void GUI_MainMenu(LevelPack *lp, unsigned ilevel_pack);
51      void GUI_OptionsMenu();      void GUI_OptionsMenu(px::Surface *background);
52  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26