#include "gui/gui.hpp"
#include "main.hpp"
Go to the source code of this file.
Functions |
void | createUI () |
| Create all user interface.
|
void | setInfo (bool visible, int x=NONE, int y=NONE) |
| Show informations about selected object.
|
void | setVisibleGamemenu (bool visible) |
| Set visibility of game menu.
|
void | Notice (const char *message) |
| Show message for player.
|
void | setTime () |
| Set value for clock.
|
void | screenshotClb (Widget *w, void *data) |
| Make screenshot.
|
void | helpClb (Widget *w, void *data) |
| Open help.
|
Variables |
VBox * | mainmenu |
| Main menu container.
|
Label * | credits |
| Label with copyright information.
|
Label * | escinfo |
| Label with information about Escape key.
|
StatusBar * | tips |
| Status bar with tips.
|
Label * | lblnotice |
| Label with notices.
|
Function Documentation
Create all user interface.
void helpClb |
( |
Widget * |
w, |
|
|
void * |
data |
|
) |
| |
void Notice |
( |
const char * |
message | ) |
|
Show message for player.
- Parameters:
-
void screenshotClb |
( |
Widget * |
w, |
|
|
void * |
data |
|
) |
| |
Make screenshot.
- Parameters:
-
void setInfo |
( |
bool |
visible, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Show informations about selected object.
- Parameters:
-
visible | If true, show info box. |
x | X-axis position of object. Default is -1. |
y | Y-axis position of object. Default is -1. |
void setVisibleGamemenu |
( |
bool |
visible | ) |
|
Set visibility of game menu.
- Parameters:
-
visible | If true, menu is visible, otherwise false. |
Variable Documentation
Label with copyright information.
Label with information about Escape key.