Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::SpaceGame::UserInterface Class Reference

UserInterface. More...

#include <UserInterface.h>

Collaboration diagram for Teddy::SpaceGame::UserInterface:

Collaboration graph
[legend]
List of all members.

Public Methods

 UserInterface (Root *root)
void addComponents ()
 Create testing environment physical user interface. More...

void enterRunLoop ()
View * getView ()
Console * getConsole ()
ScannergetScanner ()
Projection * getActiveProjection ()
void toggleCamera ()

Protected Attributes

Rootroot
 Link to program root. More...

View * view
 Render Context. More...

WindowManager * window_manager
 Window manager. More...

Console * console
Layer * layer
 Fullscreen area of view; receives inputs, contains rest of physical components. More...

FrontCamerafront_camera
 Projection area for camera(s). More...

FrontCamerafront_camera2
 Projection area for camera(s). More...

Sightsight
 Simple sight component (for FrontCamera). More...

Hudhud
 Small information display component. More...

Scannerscanner
 Radar component. More...

unsigned long flags

Detailed Description

UserInterface.

Todo:
docs

Definition at line 57 of file UserInterface.h.


Constructor & Destructor Documentation

Teddy::SpaceGame::UserInterface::UserInterface Root   root
 

Definition at line 52 of file UserInterface.cpp.

References layer, RO_FULLSCREEN, root, view, and window_manager.


Member Function Documentation

void Teddy::SpaceGame::UserInterface::addComponents  
 

Create testing environment physical user interface.

Definition at line 82 of file UserInterface.cpp.

References front_camera, front_camera2, hud, layer, RO_CABIN, RO_HUD, RO_MULTI_WINDOW, RO_SCANNER, root, scanner, toggleCamera(), view, and window_manager.

void Teddy::SpaceGame::UserInterface::enterRunLoop  
 

Definition at line 76 of file UserInterface.cpp.

References window_manager.

Projection * Teddy::SpaceGame::UserInterface::getActiveProjection  
 

Definition at line 208 of file UserInterface.cpp.

References front_camera.

Console * Teddy::SpaceGame::UserInterface::getConsole  
 

Definition at line 198 of file UserInterface.cpp.

References console.

Scanner * Teddy::SpaceGame::UserInterface::getScanner  
 

Definition at line 203 of file UserInterface.cpp.

References scanner.

View * Teddy::SpaceGame::UserInterface::getView  
 

Definition at line 193 of file UserInterface.cpp.

References view.

void Teddy::SpaceGame::UserInterface::toggleCamera  
 

Todo:
fix

Definition at line 180 of file UserInterface.cpp.

References front_camera, and root.

Referenced by addComponents().


Member Data Documentation

Console* Teddy::SpaceGame::UserInterface::console [protected]
 

Definition at line 73 of file UserInterface.h.

Referenced by getConsole().

unsigned long Teddy::SpaceGame::UserInterface::flags [protected]
 

Definition at line 80 of file UserInterface.h.

FrontCamera* Teddy::SpaceGame::UserInterface::front_camera [protected]
 

Projection area for camera(s).

Definition at line 75 of file UserInterface.h.

Referenced by addComponents(), getActiveProjection(), and toggleCamera().

FrontCamera* Teddy::SpaceGame::UserInterface::front_camera2 [protected]
 

Projection area for camera(s).

Definition at line 76 of file UserInterface.h.

Referenced by addComponents().

Hud* Teddy::SpaceGame::UserInterface::hud [protected]
 

Small information display component.

Definition at line 78 of file UserInterface.h.

Referenced by addComponents().

Layer* Teddy::SpaceGame::UserInterface::layer [protected]
 

Fullscreen area of view; receives inputs, contains rest of physical components.

Definition at line 74 of file UserInterface.h.

Referenced by addComponents(), and UserInterface().

Root* Teddy::SpaceGame::UserInterface::root [protected]
 

Link to program root.

Definition at line 70 of file UserInterface.h.

Referenced by addComponents(), toggleCamera(), and UserInterface().

Scanner* Teddy::SpaceGame::UserInterface::scanner [protected]
 

Radar component.

Definition at line 79 of file UserInterface.h.

Referenced by addComponents(), and getScanner().

Sight* Teddy::SpaceGame::UserInterface::sight [protected]
 

Simple sight component (for FrontCamera).

Definition at line 77 of file UserInterface.h.

View* Teddy::SpaceGame::UserInterface::view [protected]
 

Render Context.

Definition at line 71 of file UserInterface.h.

Referenced by addComponents(), getView(), and UserInterface().

WindowManager* Teddy::SpaceGame::UserInterface::window_manager [protected]
 

Window manager.

Definition at line 72 of file UserInterface.h.

Referenced by addComponents(), enterRunLoop(), and UserInterface().


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