#include <gui.h>
List of all members.
Detailed Description
Main GUI class.
Definition at line 48 of file gui.h.
Member Enumeration Documentation
Cursors are in graphic order from left to right.
CURSOR_POINTER should be left untouched. CURSOR_TOTAL should always be last.
- Enumerator:
-
CURSOR_POINTER |
|
CURSOR_RESIZE_ACROSS |
|
CURSOR_RESIZE_DOWN |
|
CURSOR_RESIZE_DOWN_LEFT |
|
CURSOR_RESIZE_DOWN_RIGHT |
|
CURSOR_TOTAL |
|
Definition at line 102 of file gui.h.
Constructor & Destructor Documentation
Constructor.
Definition at line 74 of file gui.cpp.
Destructor.
Definition at line 149 of file gui.cpp.
Member Function Documentation
Performs logic of the GUI.
Overridden to track mouse pointer activity.
Definition at line 168 of file gui.cpp.
Draws the whole Gui by calling draw functions down in the Gui hierarchy.
It also draws the mouse pointer.
Definition at line 184 of file gui.cpp.
gcn::Font* Gui::getFont |
( |
|
) |
const [inline] |
Return game font.
Definition at line 76 of file gui.h.
gcn::Font* Gui::getInfoParticleFont |
( |
|
) |
const [inline] |
Return the Font used for "Info Particles", i.e.
ones showing, what you picked up, etc.
Definition at line 83 of file gui.h.
void Gui::setUseCustomCursor |
( |
bool |
customCursor |
) |
|
Sets whether a custom cursor should be rendered.
Definition at line 208 of file gui.cpp.
void Gui::setCursorType |
( |
int |
index |
) |
[inline] |
Sets which cursor should be used.
Definition at line 94 of file gui.h.
void Gui::handleMouseMoved |
( |
const gcn::MouseInput & |
mouseInput |
) |
[protected] |
Member Data Documentation
The global GUI font.
Definition at line 116 of file gui.h.
Font for Info Particles.
Definition at line 117 of file gui.h.
Show custom cursor.
Definition at line 118 of file gui.h.
Mouse cursor images.
Definition at line 119 of file gui.h.
The documentation for this class was generated from the following files: