#include <worldview_insert_tool.hxx>
Inheritance diagram for WorldViewInsertTool:
Public Member Functions | |
WorldViewInsertTool () | |
~WorldViewInsertTool () | |
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_delete_press (int x, int y) |
void | on_fix_press (int x, int y) |
void | set_particle_mass (float p) |
float | get_particle_mass () |
|
Definition at line 30 of file worldview_insert_tool.cxx. |
|
Definition at line 36 of file worldview_insert_tool.cxx. |
|
|
|
Definition at line 53 of file worldview_insert_tool.hxx. Referenced by decrease_particle_mass(), and increase_particle_mass(). |
|
Reimplemented from WorldViewTool. Definition at line 139 of file worldview_insert_tool.cxx. References WorldViewComponent::get_gc(), World::get_particle(), World::get_spring(), Controller::get_world(), WorldGUIManager::instance(), WorldViewComponent::instance(), Controller::instance(), Controller::push_undo(), World::remove_particle(), World::remove_spring(), ZoomGraphicContext::screen_to_world_x(), ZoomGraphicContext::screen_to_world_y(), and GUIManager::ungrab_mouse(). Referenced by on_secondary_button_press(). |
|
Reimplemented from WorldViewTool. Definition at line 170 of file worldview_insert_tool.cxx. References Particle::get_fixed(), WorldViewComponent::get_gc(), World::get_particle(), Controller::get_world(), Controller::instance(), WorldViewComponent::instance(), ZoomGraphicContext::screen_to_world_x(), ZoomGraphicContext::screen_to_world_y(), and Particle::set_fixed(). |
|
|
Reimplemented from WorldViewTool. Definition at line 123 of file worldview_insert_tool.cxx. |
|
Reimplemented from WorldViewTool. Definition at line 128 of file worldview_insert_tool.cxx. References on_delete_press(). |
|
Reimplemented from WorldViewTool. Definition at line 134 of file worldview_insert_tool.cxx. |
|
Definition at line 52 of file worldview_insert_tool.hxx. Referenced by decrease_particle_mass(), and increase_particle_mass(). |