summaryrefslogtreecommitdiffstats
path: root/ToolRotate.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-02-15 23:44:03 +0100
committerneoraider <devnull@localhost>2008-02-15 23:44:03 +0100
commit77b187b8eba7598fb6154da5d3d62ad0920eac15 (patch)
treeaa5c147510fe6c6c8b0b8433380dafbf3d0d60a7 /ToolRotate.h
parent0ea1d388651217697d49029820b02b4f002f1ac0 (diff)
downloadzoomedit-77b187b8eba7598fb6154da5d3d62ad0920eac15.tar
zoomedit-77b187b8eba7598fb6154da5d3d62ad0920eac15.zip
zoomedit: Changed some interfaces.
Diffstat (limited to 'ToolRotate.h')
-rw-r--r--ToolRotate.h8
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;