ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Public Member Functions | Protected Attributes | List of all members
Gui Class Reference

author Fred Klaus devel.nosp@m.opme.nosp@m.nt@fk.nosp@m.web..nosp@m.de More...

#include <gui.h>

Inheritance diagram for Gui:

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)
 
Videovideo () const
 

Protected Attributes

bool mEnabled
 
WidgetmHasFocus
 
VideomVideo
 

Detailed Description

author Fred Klaus devel.nosp@m.opme.nosp@m.nt@fk.nosp@m.web..nosp@m.de

Constructor & Destructor Documentation

Gui ( Video video)
~Gui ( )

Member Function Documentation

void add ( Widget widget)
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)
bool enabled ( ) const
inline

References Gui::mEnabled.

Referenced by mainloop(), and Gui::setEnabled().

void setEnabled ( bool  enabled)
inline

References Gui::enabled(), and Gui::mEnabled.

Referenced by initGui().

void setFocus ( Widget focus)
inline

References Gui::mHasFocus.

Referenced by initGui(), and mainloop().

void toggleEnabled ( )
inline

References Gui::mEnabled.

Referenced by mainloop().

void update ( )

References Gui::mEnabled.

Referenced by display().

Video* video ( ) const
inline

References Gui::mVideo.

Referenced by FileList::FileList().

Member Data Documentation

bool mEnabled
protected
Widget* mHasFocus
protected
Video* mVideo
protected

Referenced by Gui::add(), and Gui::video().


The documentation for this class was generated from the following files: