ROLAND
0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
|
author Fred Klaus devel opme nt@fk web. deMore...
#include <gui.h>
Public Member Functions | |
Gui (Video *video) | |
~Gui () | |
void | add (Widget *widget) |
void | del (Widget *widget) |
bool | checkEvent (SDL_Event *event) |
returns true if event was accepted More... | |
void | update () |
bool | enabled () const |
void | setEnabled (bool enabled) |
void | toggleEnabled () |
void | setFocus (Widget *focus) |
Video * | video () const |
Protected Attributes | |
bool | mEnabled |
Widget * | mHasFocus |
Video * | mVideo |
author Fred Klaus devel opme nt@fk web. de
~Gui | ( | ) |
void add | ( | Widget * | widget | ) |
References Video::getCanvas(), Gui::mHasFocus, Gui::mVideo, and Widget::setCanvas().
Referenced by List::add(), and initGui().
bool checkEvent | ( | SDL_Event * | event | ) |
returns true if event was accepted
References Gui::mEnabled, Gui::mHasFocus, and Widget::onKeyboard().
Referenced by mainloop().
void del | ( | Widget * | widget | ) |
|
inline |
References Gui::mEnabled.
Referenced by mainloop(), and Gui::setEnabled().
|
inline |
References Gui::enabled(), and Gui::mEnabled.
Referenced by initGui().
|
inline |
References Gui::mHasFocus.
Referenced by initGui(), and mainloop().
|
inline |
References Gui::mEnabled.
Referenced by mainloop().
void update | ( | ) |
References Gui::mEnabled.
Referenced by display().
|
inline |
References Gui::mVideo.
Referenced by FileList::FileList().
|
protected |
Referenced by Gui::checkEvent(), Gui::enabled(), Gui::setEnabled(), Gui::toggleEnabled(), and Gui::update().
|
protected |
Referenced by Gui::add(), Gui::checkEvent(), and Gui::setFocus().
|
protected |
Referenced by Gui::add(), and Gui::video().