3D display for items in a scene. More...
#include <Display.hpp>
Inherits CanvasListener, and CommandListener.
Public Member Functions | |
| Display (Delegate *delegate) | |
| void | add (Control *control) | 
| void | computeFootprint () | 
| virtual void | onCanvasEvent (const CanvasEvent &event) | 
| Delegate * | getDelegate () | 
| virtual void | onCommandEvent (int command) | 
| void | toggleOverlay () | 
Protected Member Functions | |
| void | overlay () | 
Private Attributes | |
| bool | useOverlay | 
| Delegate * | delegate | 
| unsigned long | timeStarted | 
| int | frames | 
| int | framesPerSecond | 
| Painter * | painter | 
| vector< Control * > | controls | 
| double | footprint | 
| Canvas * | canvas | 
| Glib::Timer | timer | 
3D display for items in a scene.
| void add | ( | Control * | control | ) | 
Installs a control into the display.
| control | Pointer to an object implementing the Control interface. | 
| void computeFootprint | ( | ) | 
Adds up the footprints of all the textures in the scene.
| void onCanvasEvent | ( | const CanvasEvent & | event | ) |  [virtual] | 
        
Draws the scene in the window.
| void onCommandEvent | ( | int | command | ) |  [virtual] | 
        
Handles command events.
| void overlay | ( | ) |  [protected] | 
        
Draws the overlay on the display.
| void toggleOverlay | ( | ) | 
Switches the overlay on and off.
 1.6.3