Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

WorldViewTool Class Reference

#include <worldview_tool.hxx>

Inheritance diagram for WorldViewTool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 WorldViewTool ()
virtual ~WorldViewTool ()
virtual void activate ()
virtual void deactivate ()
virtual void draw_background (ZoomGraphicContext *gc)=0
virtual void draw_foreground (ZoomGraphicContext *gc)=0
virtual void on_button_press (int button_id, int x, int y)
virtual void on_primary_button_press (int x, int y)
virtual void on_primary_button_release (int x, int y)
virtual void on_secondary_button_press (int x, int y)
virtual void on_secondary_button_release (int x, int y)
virtual void on_duplicate_press (int x, int y)
virtual void on_delete_press (int x, int y)
virtual void on_fix_press (int x, int y)
virtual void on_mouse_move (int x, int y, int of_x, int of_y)

Constructor & Destructor Documentation

WorldViewTool::WorldViewTool   [inline]
 

Definition at line 29 of file worldview_tool.hxx.

virtual WorldViewTool::~WorldViewTool   [inline, virtual]
 

Definition at line 31 of file worldview_tool.hxx.


Member Function Documentation

virtual void WorldViewTool::activate   [inline, virtual]
 

Let the Tool to some initialisation

Reimplemented in WorldViewSelectTool, and WorldViewZoomTool.

Definition at line 34 of file worldview_tool.hxx.

Referenced by WorldViewComponent::set_mode().

virtual void WorldViewTool::deactivate   [inline, virtual]
 

Let the Tool to some deinitialisation

Reimplemented in WorldViewSelectTool.

Definition at line 37 of file worldview_tool.hxx.

Referenced by WorldViewComponent::set_mode().

virtual void WorldViewTool::draw_background ZoomGraphicContext   gc [pure virtual]
 

Implemented in WorldViewColliderTool, WorldViewInsertTool, WorldViewSelectTool, and WorldViewZoomTool.

Referenced by WorldViewComponent::draw().

virtual void WorldViewTool::draw_foreground ZoomGraphicContext   gc [pure virtual]
 

Implemented in WorldViewColliderTool, WorldViewInsertTool, WorldViewSelectTool, and WorldViewZoomTool.

Referenced by WorldViewComponent::draw().

virtual void WorldViewTool::on_button_press int    button_id,
int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewSelectTool.

Definition at line 42 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_button_press().

virtual void WorldViewTool::on_delete_press int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewInsertTool, and WorldViewSelectTool.

Definition at line 51 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_delete_press().

virtual void WorldViewTool::on_duplicate_press int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewSelectTool.

Definition at line 50 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_duplicate_press().

virtual void WorldViewTool::on_fix_press int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewInsertTool, and WorldViewSelectTool.

Definition at line 52 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_fix_press().

virtual void WorldViewTool::on_mouse_move int    x,
int    y,
int    of_x,
int    of_y
[inline, virtual]
 

Reimplemented in WorldViewColliderTool, and WorldViewSelectTool.

Definition at line 54 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_mouse_move().

virtual void WorldViewTool::on_primary_button_press int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewColliderTool, WorldViewInsertTool, WorldViewSelectTool, and WorldViewZoomTool.

Definition at line 44 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_primary_button_press().

virtual void WorldViewTool::on_primary_button_release int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewColliderTool, WorldViewInsertTool, WorldViewSelectTool, and WorldViewZoomTool.

Definition at line 45 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_primary_button_release().

virtual void WorldViewTool::on_secondary_button_press int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewColliderTool, WorldViewInsertTool, and WorldViewSelectTool.

Definition at line 47 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_secondary_button_press().

virtual void WorldViewTool::on_secondary_button_release int    x,
int    y
[inline, virtual]
 

Reimplemented in WorldViewColliderTool, WorldViewInsertTool, and WorldViewSelectTool.

Definition at line 48 of file worldview_tool.hxx.

Referenced by WorldViewComponent::on_secondary_button_release().


The documentation for this class was generated from the following file:
Generated on Thu Jul 24 10:25:30 2003 for Construo by doxygen1.3-rc3