summaryrefslogtreecommitdiffstats
path: root/Drawer.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-11-16 02:29:04 +0100
committerneoraider <devnull@localhost>2007-11-16 02:29:04 +0100
commit8cd0c8914da0ce59fea81e4ed78241fa574c75c3 (patch)
tree37870b41c989a8dac12e040f676f2be72e05790d /Drawer.h
parent96edb8f4908337d82e6523319e58b6ce46144cbb (diff)
downloadzoomedit-8cd0c8914da0ce59fea81e4ed78241fa574c75c3.tar
zoomedit-8cd0c8914da0ce59fea81e4ed78241fa574c75c3.zip
zoomedit: Redesigned scroll-bar internals.
Diffstat (limited to 'Drawer.h')
-rw-r--r--Drawer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Drawer.h b/Drawer.h
index bfebe10..236c72a 100644
--- a/Drawer.h
+++ b/Drawer.h
@@ -21,7 +21,7 @@ class Drawer {
Window *window;
float scale;
- float xTranslate, yTranslate;
+ float xCenter, yCenter;
// prevent shallow copy
Drawer(const Drawer &w);
@@ -59,12 +59,12 @@ class Drawer {
float getImageWidth() const;
float getImageHeight() const;
- float getXTranslate() const {
- return xTranslate;
+ float getXCenter() const {
+ return xCenter;
}
- float getYTranslate() const {
- return yTranslate;
+ float getYCenter() const {
+ return yCenter;
}
float getScale() const {