diff options
author | neoraider <devnull@localhost> | 2008-02-15 23:44:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-02-15 23:44:03 +0100 |
commit | 77b187b8eba7598fb6154da5d3d62ad0920eac15 (patch) | |
tree | aa5c147510fe6c6c8b0b8433380dafbf3d0d60a7 /ToolRotate.h | |
parent | 0ea1d388651217697d49029820b02b4f002f1ac0 (diff) | |
download | zoomedit-77b187b8eba7598fb6154da5d3d62ad0920eac15.tar zoomedit-77b187b8eba7598fb6154da5d3d62ad0920eac15.zip |
zoomedit: Changed some interfaces.
Diffstat (limited to 'ToolRotate.h')
-rw-r--r-- | ToolRotate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ToolRotate.h b/ToolRotate.h index 27491fb..4037b58 100644 --- a/ToolRotate.h +++ b/ToolRotate.h @@ -15,7 +15,7 @@ class ToolRotate : public Tool, private EventHandler, private Renderer { bool pressed, valid; float angle; - Vertex v0, v; + Vertex vertexRot, vertex; // prevent shallow copy ToolRotate(const ToolRotate &t); @@ -47,9 +47,9 @@ class ToolRotate : public Tool, private EventHandler, private Renderer { return this; } - virtual bool buttonPress(unsigned int button); - virtual bool buttonRelease(unsigned int button); - virtual bool motion(); + virtual bool buttonPress(unsigned int button, const Vertex *v); + virtual bool buttonRelease(unsigned int button, const Vertex *v); + virtual bool motion(const Vertex *v, float scale); virtual Renderer *getRenderer() { return this; |