General information:Author: klaas" //! version="1.0 Version: Date: Wed Oct 20 9:03:10 MET 1999 |
Header files:
|
Code files:
|
all interactive drawing using tools are derived from this base class. All mouse and key events on the canvas/client window are redirected to this class, via the ToolControl class. The tool derived from this base class, defines what needs to be done with the events.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
BaseTool(ToolControl* controller)
Description:
constructor and destructor
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual |
Declaration:
virtual ~BaseTool()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void OnMouseEvent(wxMouseEvent& event)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void OnChar(wxKeyEvent& event)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void OnKeyDown(wxKeyEvent& event)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void OnKeyUp(wxKeyEvent& event)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: ToolSet |
Declaration:
ToolSet GetType()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetStatusBar()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void Draw()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void Undo()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void AddPoint(double x,double y)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void RemovePoint()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL GetOnlyOnce()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetOnlyOnce(G_BOOL onlyonce)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL Get_Busy()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void Begin()
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void End()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void EvRD()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void EvLeftDClick()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void EvDrag()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void EvMove(int drag)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void EvLD()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void EvLU()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Grid()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void CalculateCurrent()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void CalcVirtual(long x,long y,double& xr,double& yr)
Description:
scope: protected | type: basic | typename: ToolControl* |
Declaration:
ToolControl* _controller
Description:
scope: protected | type: basic | typename: wxMouseEvent |
Declaration:
wxMouseEvent _event
Description:
scope: protected | type: basic | typename: long |
Declaration:
long _grid_x
Description:
scope: protected | type: basic | typename: long |
Declaration:
long _grid_y
Description:
scope: protected | type: basic | typename: long |
Declaration:
long _currentX
Description:
scope: protected | type: basic | typename: long |
Declaration:
long _currentY
Description:
scope: protected | type: basic | typename: double |
Declaration:
double _realcurrentX
Description:
scope: protected | type: basic | typename: double |
Declaration:
double _realcurrentY
Description:
scope: protected | type: basic | typename: ToolSet |
Declaration:
ToolSet _tooltype
Description:
scope: protected | type: basic | typename: long |
Declaration:
long _timeevent
Description:
scope: protected | type: basic | typename: G_BOOL |
Declaration:
G_BOOL _onlyonce
Description:
scope: protected | type: basic | typename: G_BOOL |
Declaration:
G_BOOL _busy
Description: