#include <worldview_zoom_tool.hxx>
Inheritance diagram for WorldViewZoomTool:
Public Member Functions | |
WorldViewZoomTool () | |
~WorldViewZoomTool () | |
void | activate () |
void | draw_foreground (ZoomGraphicContext *gc) |
void | draw_background (ZoomGraphicContext *gc) |
void | on_primary_button_press (int x, int y) |
void | on_primary_button_release (int x, int y) |
|
Definition at line 27 of file worldview_zoom_tool.cxx. |
|
Definition at line 32 of file worldview_zoom_tool.cxx. |
|
Let the Tool to some initialisation Reimplemented from WorldViewTool. Definition at line 37 of file worldview_zoom_tool.cxx. |
|
Implements WorldViewTool. Definition at line 44 of file worldview_zoom_tool.hxx. |
|
Implements WorldViewTool. Definition at line 43 of file worldview_zoom_tool.cxx. References ZoomGraphicContext::draw_rect(), WorldViewComponent::get_gc(), InputContext::get_mouse_x(), InputContext::get_mouse_y(), input_context, WorldViewComponent::instance(), ZoomGraphicContext::screen_to_world_x(), ZoomGraphicContext::screen_to_world_y(), Vector2d::x, and Vector2d::y. |
|
Reimplemented from WorldViewTool. Definition at line 59 of file worldview_zoom_tool.cxx. References WorldViewComponent::get_gc(), WorldViewComponent::instance(), ZoomGraphicContext::screen_to_world_x(), ZoomGraphicContext::screen_to_world_y(), Vector2d::x, and Vector2d::y. |
|
Reimplemented from WorldViewTool. Definition at line 67 of file worldview_zoom_tool.cxx. References WorldViewComponent::get_gc(), WorldViewComponent::instance(), ZoomGraphicContext::screen_to_world_x(), ZoomGraphicContext::screen_to_world_y(), Vector2d::x, Vector2d::y, and ZoomGraphicContext::zoom_to(). |