Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

world_gui_manager.cxx File Reference
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

world_gui_manager.cxx File Reference

#include <config.h>
#include "controller.hxx"
#include "construo.hxx"
#include "graphic_context.hxx"
#include "worldview_component.hxx"
#include "string_utils.hxx"
#include "worldview_insert_tool.hxx"
#include "gui_buttons.hxx"
#include "gui_window.hxx"
#include "gui_label.hxx"
#include "globals.hxx"
#include "screen_manager.hxx"
#include "world_gui_manager.hxx"

Include dependency graph for world_gui_manager.cxx:

Include dependency graph

Go to the source code of this file.

Defines

#define BUTTON_POS(n)   (75 + n * 30)
#define BUTTON_RPOS(n)   (50 + n * 30)
#define BUTTON_WIDTH   75
#define BUTTON_HEIGHT   25
#define BUTTON_LX_POS   (graphic_context->get_width() - BUTTON_WIDTH - 10)

Functions

void increase_particle_mass ()
void decrease_particle_mass ()
void switch_to_insert_mode ()
bool insert_mode_hfunc ()
bool zoom_mode_hfunc ()
bool select_mode_hfunc ()
bool collider_mode_hfunc ()
void switch_to_zoom_mode ()
void switch_to_collider_mode ()
void switch_to_select_mode ()
void save_button_callback ()
void action_cam_callback ()
void zoom_in_callback ()
void zoom_out_callback ()
void hide_dots_callback ()
bool hide_dots_hfunc ()
bool action_cam_hfunc ()
void redo_callback ()
void undo_callback ()


Define Documentation

#define BUTTON_HEIGHT   25
 

Definition at line 128 of file world_gui_manager.cxx.

#define BUTTON_LX_POS   (graphic_context->get_width() - BUTTON_WIDTH - 10)
 

Definition at line 129 of file world_gui_manager.cxx.

#define BUTTON_POS      (75 + n * 30)
 

Definition at line 125 of file world_gui_manager.cxx.

#define BUTTON_RPOS      (50 + n * 30)
 

Definition at line 126 of file world_gui_manager.cxx.

Referenced by WorldGUIManager::WorldGUIManager().

#define BUTTON_WIDTH   75
 

Definition at line 127 of file world_gui_manager.cxx.


Function Documentation

void action_cam_callback  
 

Definition at line 85 of file world_gui_manager.cxx.

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

bool action_cam_hfunc  
 

Definition at line 110 of file world_gui_manager.cxx.

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

bool collider_mode_hfunc  
 

Definition at line 65 of file world_gui_manager.cxx.

References WorldViewComponent::COLLIDER_MODE, WorldViewComponent::get_mode(), and WorldViewComponent::instance().

void decrease_particle_mass  
 

Definition at line 44 of file world_gui_manager.cxx.

References WorldViewComponent::get_insert_tool(), WorldViewInsertTool::get_particle_mass(), WorldViewComponent::instance(), and WorldViewInsertTool::set_particle_mass().

void hide_dots_callback  
 

Definition at line 100 of file world_gui_manager.cxx.

References Controller::get_hide_dots(), Controller::instance(), and Controller::set_hide_dots().

bool hide_dots_hfunc  
 

Definition at line 105 of file world_gui_manager.cxx.

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

void increase_particle_mass  
 

Definition at line 39 of file world_gui_manager.cxx.

References WorldViewComponent::get_insert_tool(), WorldViewInsertTool::get_particle_mass(), WorldViewComponent::instance(), and WorldViewInsertTool::set_particle_mass().

bool insert_mode_hfunc  
 

Definition at line 53 of file world_gui_manager.cxx.

References WorldViewComponent::get_mode(), WorldViewComponent::INSERT_MODE, and WorldViewComponent::instance().

void redo_callback  
 

Definition at line 115 of file world_gui_manager.cxx.

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

void save_button_callback  
 

Definition at line 81 of file world_gui_manager.cxx.

References ScreenManager::instance(), and ScreenManager::set_gui().

bool select_mode_hfunc  
 

Definition at line 61 of file world_gui_manager.cxx.

References WorldViewComponent::get_mode(), WorldViewComponent::instance(), and WorldViewComponent::SELECT_MODE.

void switch_to_collider_mode  
 

Definition at line 73 of file world_gui_manager.cxx.

References WorldViewComponent::instance(), and WorldViewComponent::set_mode().

void switch_to_insert_mode  
 

Definition at line 49 of file world_gui_manager.cxx.

References WorldViewComponent::instance(), and WorldViewComponent::set_mode().

void switch_to_select_mode  
 

Definition at line 77 of file world_gui_manager.cxx.

References WorldViewComponent::instance(), and WorldViewComponent::set_mode().

void switch_to_zoom_mode  
 

Definition at line 69 of file world_gui_manager.cxx.

References WorldViewComponent::instance(), and WorldViewComponent::set_mode().

void undo_callback  
 

Definition at line 120 of file world_gui_manager.cxx.

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

void zoom_in_callback  
 

Definition at line 89 of file world_gui_manager.cxx.

References GraphicContext::get_height(), GraphicContext::get_width(), graphic_context, WorldViewComponent::instance(), and WorldViewComponent::wheel_up().

bool zoom_mode_hfunc  
 

Definition at line 57 of file world_gui_manager.cxx.

References WorldViewComponent::get_mode(), WorldViewComponent::instance(), and WorldViewComponent::ZOOM_MODE.

void zoom_out_callback  
 

Definition at line 94 of file world_gui_manager.cxx.

References GraphicContext::get_height(), GraphicContext::get_width(), graphic_context, WorldViewComponent::instance(), and WorldViewComponent::wheel_down().


Generated on Thu Jul 24 10:25:07 2003 for Construo by doxygen1.3-rc3