#include <worldview_collider_tool.hxx>
Inheritance diagram for WorldViewColliderTool:


Public Member Functions | |
| WorldViewColliderTool () | |
| ~WorldViewColliderTool () | |
| void | draw_background (ZoomGraphicContext *gc) | 
| void | draw_foreground (ZoomGraphicContext *gc) | 
| void | on_primary_button_press (int x, int y) | 
| void | on_primary_button_release (int x, int y) | 
| void | on_secondary_button_press (int x, int y) | 
| void | on_secondary_button_release (int x, int y) | 
| void | on_mouse_move (int x, int y, int of_x, int of_y) | 
      
  | 
  
| 
 
 Definition at line 29 of file worldview_collider_tool.cxx.  | 
  
      
  | 
  
| 
 
 Definition at line 36 of file worldview_collider_tool.cxx.  | 
  
      
  | 
  
| 
 
 Implements WorldViewTool. Definition at line 41 of file worldview_collider_tool.cxx. References WorldViewComponent::get_gc(), InputContext::get_mouse_pos(), input_context, WorldViewComponent::instance(), and ZoomGraphicContext::screen_to_world().  | 
  
      
  | 
  
| 
 
 Implements WorldViewTool. Definition at line 65 of file worldview_collider_tool.cxx. References Collider::draw_highlight(), WorldViewComponent::get_gc(), InputContext::get_mouse_pos(), input_context, WorldViewComponent::instance(), and ZoomGraphicContext::screen_to_world().  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
 Reimplemented from WorldViewTool. Definition at line 122 of file worldview_collider_tool.cxx. References WorldViewComponent::get_gc(), WorldViewComponent::instance(), ZoomGraphicContext::screen_to_world(), and Collider::set_pos().  | 
  
      
  | 
  ||||||||||||
| 
 
 Reimplemented from WorldViewTool. Definition at line 76 of file worldview_collider_tool.cxx. References WorldViewComponent::get_gc(), InputContext::get_mouse_pos(), Collider::get_pos(), GUIManager::grab_mouse(), input_context, Controller::instance(), WorldViewComponent::instance(), WorldGUIManager::instance(), Controller::push_undo(), and ZoomGraphicContext::screen_to_world().  | 
  
      
  | 
  ||||||||||||
| 
 
 Reimplemented from WorldViewTool. Definition at line 97 of file worldview_collider_tool.cxx. References World::add_rect_collider(), WorldViewComponent::get_gc(), InputContext::get_mouse_pos(), Controller::get_world(), input_context, Controller::instance(), WorldViewComponent::instance(), WorldGUIManager::instance(), ZoomGraphicContext::screen_to_world(), GUIManager::ungrab_mouse(), Vector2d::x, and Vector2d::y.  | 
  
      
  | 
  ||||||||||||
| 
 
 Reimplemented from WorldViewTool. Definition at line 133 of file worldview_collider_tool.cxx.  | 
  
      
  | 
  ||||||||||||
| 
 
 Reimplemented from WorldViewTool. Definition at line 139 of file worldview_collider_tool.cxx. References Controller::get_world(), Controller::instance(), Controller::push_undo(), and World::remove_collider().  | 
  
1.3-rc3