____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"
#include <guichan.h>
#include <guichan/gsdl.h>
#include "font.h"
#include "luacallback.h"
Go to the source code of this file.
Classes | |
| class | LuaActionListener |
| class | MyOpenGLGraphics |
| class | ImageWidget |
| class | ButtonWidget |
| class | ImageButton |
| class | ImageRadioButton |
| class | ImageCheckBox |
| class | ImageSlider |
| class | MultiLineLabel |
| class | ScrollingWidget |
| class | Windows |
| class | LuaListModel |
| class | ListBoxWidget |
| class | DropDownWidget |
| class | StatBoxWidget |
| class | MenuScreen |
Functions | |
| void | initGuichan () |
| void | freeGuichan () |
| void | handleInput (const SDL_Event *event) |
Variables | |
| bool | GuichanActive |
Definition in file widgets.h.
| void freeGuichan | ( | ) |
Free all guichan infrastructure
Definition at line 128 of file widgets.cpp.
References gcn::Gui::getGraphics().
Referenced by Exit().
| void handleInput | ( | const SDL_Event * | event | ) |
Handle input events
| event | event to handle, null if no more events for this frame |
Definition at line 143 of file widgets.cpp.
References gcn::Gui::logic(), and gcn::SDLInput::pushInput().
Referenced by SdlDoEvent(), and WaitEventsOneFrame().
| void initGuichan | ( | ) |
Initializes the GUI stuff
Definition at line 92 of file widgets.cpp.
References _event_callback_::ButtonPressed, _event_callback_::ButtonReleased, Gui, HandleMouseExit(), _event_callback_::KeyPressed, _event_callback_::KeyReleased, _event_callback_::KeyRepeated, MenuHandleButtonDown(), MenuHandleButtonUp(), MenuHandleKeyDown(), MenuHandleKeyRepeat(), MenuHandleKeyUp(), MenuHandleMouseMove(), _event_callback_::MouseExit, _event_callback_::MouseMoved, NetworkEvent(), _event_callback_::NetworkEvent, gcn::Gui::setGraphics(), gcn::Gui::setInput(), gcn::Gui::setTop(), gcn::Gui::setUseDirtyDrawing(), TheScreen, and UseOpenGL.
Referenced by MenuLoop().
| bool GuichanActive |
1.5.6