_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "video.h"
#include "font.h"
#include "cursor.h"
#include "ui.h"
#include "widgets.h"
#include "network.h"
#include "netconnect.h"
#include "editor.h"
#include "sound.h"
widgets.cpp - The stratagus ui widgets. | |
gcn::Gui * | Gui |
true if gain XP by dealing damage, false if by killing. More... | |
gcn::SDLInput * | Input |
A Gui object - binds it all together. More... | |
static EventCallback | GuichanCallbacks |
Input driver. More... | |
static std::stack< MenuScreen * > | MenuStack |
static void | MenuHandleButtonDown (unsigned) |
static void | MenuHandleButtonUp (unsigned) |
static void | MenuHandleMouseMove (const PixelPos &screenPos) |
static void | MenuHandleKeyDown (unsigned key, unsigned keychar) |
static void | MenuHandleKeyUp (unsigned key, unsigned keychar) |
static void | MenuHandleKeyRepeat (unsigned key, unsigned keychar) |
void | initGuichan () |
void | freeGuichan () |
void | handleInput (const SDL_Event *event) |
void | DrawGuichanWidgets () |
void DrawGuichanWidgets | ( | ) |
void freeGuichan | ( | ) |
Free all guichan infrastructure
void handleInput | ( | const SDL_Event * | event | ) |
Handle input events
event | event to handle, null if no more events for this frame |
void initGuichan | ( | ) |
Initializes the GUI stuff
|
static |
|
static |
|
static |
|
static |
|
static |
gcn::Gui* Gui |
true if gain XP by dealing damage, false if by killing.
|
static |
Input driver.
gcn::SDLInput* Input |
A Gui object - binds it all together.
|
static |