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 |
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 |
|
|
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 |
} |
} |