Gui Class Reference
#include <Gui.hh>
Inheritance diagram for Gui:

Detailed Description
The base class for all GUIsPublic Member Functions | |
| Gui () | |
| virtual | ~Gui () |
| virtual void | Init ()=0 |
| virtual void | Update () |
| virtual unsigned int | GetWidth () const =0 |
| virtual unsigned int | GetHeight () const =0 |
| Window | GetWindowId () const |
| XVisualInfo * | GetVisualInfo () const |
| Display * | GetDisplay () const |
Protected Member Functions | |
| void | HandleKeyboard (int key) |
Protected Attributes | |
| Window | windowId |
| XVisualInfo * | visual |
| Colormap | colormap |
| Display * | display |
Constructor & Destructor Documentation
| Gui | ( | ) |
Constructor
| virtual ~Gui | ( | ) | [virtual] |
Destructor
Member Function Documentation
| virtual void Init | ( | ) | [pure virtual] |
Initalize the gui
Implemented in FLTKGui, and FLTKMainWindow.
| virtual void Update | ( | ) | [inline, virtual] |
Update the gui
Reimplemented in FLTKMainWindow.
| virtual unsigned int GetWidth | ( | ) | const [pure virtual] |
Get the width of the gui's rendering window
Implemented in FLTKGui, and FLTKMainWindow.
| virtual unsigned int GetHeight | ( | ) | const [pure virtual] |
Get the height of the gui's rendering window
Implemented in FLTKGui, and FLTKMainWindow.
| Window GetWindowId | ( | ) | const |
Get the id of the window
| XVisualInfo* GetVisualInfo | ( | ) | const |
Get the visual info
| Display* GetDisplay | ( | ) | const |
Get the display
| void HandleKeyboard | ( | int | key | ) | [protected] |
Handle a keyboard event
Member Data Documentation
Window windowId [protected] |
ID of the window
XVisualInfo* visual [protected] |
Pointer to the Xvisual
Colormap colormap [protected] |
colormap
Display* display [protected] |
pointer to the display
The documentation for this class was generated from the following file: