#include <worldview_select_tool.hxx>
Inheritance diagram for WorldViewSelectTool:
Public Member Functions | |
WorldViewSelectTool () | |
~WorldViewSelectTool () | |
void | activate () |
void | deactivate () |
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) |
void | on_button_press (int button_id, int x, int y) |
void | on_flip_press (int x, int y) |
void | on_duplicate_press (int x, int y) |
void | on_delete_press (int x, int y) |
void | on_fix_press (int x, int y) |
|
Definition at line 31 of file worldview_select_tool.cxx. |
|
Definition at line 36 of file worldview_select_tool.cxx. |
|
Let the Tool to some initialisation Reimplemented from WorldViewTool. Definition at line 109 of file worldview_select_tool.cxx. |
|
Let the Tool to some deinitialisation Reimplemented from WorldViewTool. Definition at line 114 of file worldview_select_tool.cxx. References Selection::clear(). |
|
Implements WorldViewTool. Definition at line 41 of file worldview_select_tool.cxx. References Selection::begin(), Selection::end(), and Selection::iterator. |
|
|
Reimplemented from WorldViewTool. Definition at line 291 of file worldview_select_tool.cxx. References BUTTON_FLIP, BUTTON_SETVELOCITY, Selection::flip(), Selection::get_center(), WorldViewComponent::get_gc(), WorldViewComponent::instance(), ZoomGraphicContext::screen_to_world(), and Selection::set_velocity(). |
|
Reimplemented from WorldViewTool. Definition at line 196 of file worldview_select_tool.cxx. References Selection::begin(), Selection::clear(), Selection::end(), Controller::get_world(), Controller::instance(), Selection::iterator, Controller::push_undo(), and World::remove_particle(). |
|
Reimplemented from WorldViewTool. Definition at line 285 of file worldview_select_tool.cxx. References Selection::duplicate(). |
|
Reimplemented from WorldViewTool. Definition at line 210 of file worldview_select_tool.cxx. References Selection::begin(), Selection::end(), and Selection::iterator. |
|
|
|
Reimplemented from WorldViewTool. Definition at line 238 of file worldview_select_tool.cxx. References Selection::begin(), Selection::end(), WorldViewComponent::get_gc(), World::get_spring_mgr(), Controller::get_world(), ZoomGraphicContext::get_zoom(), WorldViewComponent::instance(), Controller::instance(), Selection::iterator, Selection::rotate(), Vector2d::x, and Vector2d::y. |
|
|
Reimplemented from WorldViewTool. Definition at line 153 of file worldview_select_tool.cxx. References WorldGUIManager::instance(), Selection::select_particles(), and GUIManager::ungrab_mouse(). |
|
Reimplemented from WorldViewTool. Definition at line 170 of file worldview_select_tool.cxx. References Selection::empty(), Selection::get_center(), WorldViewComponent::get_gc(), GUIManager::grab_mouse(), WorldViewComponent::instance(), WorldGUIManager::instance(), Controller::instance(), Controller::push_undo(), and ZoomGraphicContext::screen_to_world(). |
|
Reimplemented from WorldViewTool. Definition at line 189 of file worldview_select_tool.cxx. References WorldGUIManager::instance(), and GUIManager::ungrab_mouse(). |