Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

WorldGUIManager Class Reference

#include <world_gui_manager.hxx>

Inheritance diagram for WorldGUIManager:

Inheritance graph
[legend]
Collaboration diagram for WorldGUIManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WorldGUIManager ()
virtual ~WorldGUIManager ()
void update ()
void draw_overlay ()

Static Public Member Functions

WorldGUIManager * instance ()

Constructor & Destructor Documentation

WorldGUIManager::WorldGUIManager  
 

Definition at line 131 of file world_gui_manager.cxx.

References GUIManager::add(), BUTTON_POS, and BUTTON_RPOS.

WorldGUIManager::~WorldGUIManager   [virtual]
 

Definition at line 183 of file world_gui_manager.cxx.


Member Function Documentation

void WorldGUIManager::draw_overlay   [virtual]
 

Reimplemented from GUIManager.

Definition at line 194 of file world_gui_manager.cxx.

References WorldViewComponent::COLLIDER_MODE, GraphicContext::draw_string(), GraphicContext::get_height(), WorldViewComponent::get_mode(), InputContext::get_mouse_pos(), World::get_num_particles(), World::get_num_springs(), Controller::get_world(), graphic_context, input_context, WorldViewComponent::INSERT_MODE, Controller::instance(), WorldViewComponent::instance(), WorldViewComponent::SELECT_MODE, StringUtils::to_string(), and WorldViewComponent::ZOOM_MODE.

WorldGUIManager* WorldGUIManager::instance   [inline, static]
 

Definition at line 31 of file world_gui_manager.hxx.

Referenced by WorldViewInsertTool::on_delete_press(), WorldViewSelectTool::on_primary_button_press(), WorldViewInsertTool::on_primary_button_press(), WorldViewColliderTool::on_primary_button_press(), GUIButton::on_primary_button_press(), WorldViewSelectTool::on_primary_button_release(), WorldViewColliderTool::on_primary_button_release(), GUIButton::on_primary_button_release(), WorldViewSelectTool::on_secondary_button_press(), WorldViewSelectTool::on_secondary_button_release(), WorldViewComponent::on_tertiary_button_press(), and WorldViewComponent::on_tertiary_button_release().

void WorldGUIManager::update   [virtual]
 

Reimplemented from GUIManager.

Definition at line 188 of file world_gui_manager.cxx.

References Controller::instance(), and Controller::update().


The documentation for this class was generated from the following files:
Generated on Thu Jul 24 10:25:27 2003 for Construo by doxygen1.3-rc3