$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 |
gcn::SDLInput * | Input |
A Gui object - binds it all together. | |
static EventCallback | GuichanCallbacks |
Input driver. | |
static std::stack< MenuScreen * > | MenuStack |
static void | MenuHandleButtonDown (unsigned) |
static void | MenuHandleButtonUp (unsigned) |
static void | MenuHandleMouseMove (int x, int y) |
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 void MenuHandleButtonDown | ( | unsigned | ) | [static] |
static void MenuHandleButtonUp | ( | unsigned | ) | [static] |
static void MenuHandleKeyDown | ( | unsigned | key, | |
unsigned | keychar | |||
) | [static] |
static void MenuHandleKeyRepeat | ( | unsigned | key, | |
unsigned | keychar | |||
) | [static] |
static void MenuHandleKeyUp | ( | unsigned | key, | |
unsigned | keychar | |||
) | [static] |
static void MenuHandleMouseMove | ( | int | x, | |
int | y | |||
) | [static] |
EventCallback GuichanCallbacks [static] |
Input driver.
A Gui object - binds it all together.
std::stack<MenuScreen *> MenuStack [static] |