summaryrefslogtreecommitdiffstats
path: root/src/Gui/RenderArea.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-17 10:53:05 +0200
committerneoraider <devnull@localhost>2008-04-17 10:53:05 +0200
commitc771232b7433c076290c2ac6c8c53090a1ad3592 (patch)
tree44ba6ccc2a1657b295d8dfe4f9572a106c9ac2c7 /src/Gui/RenderArea.h
parent1464f336773cf9758fc0427ff5fbefbcd58d2eb9 (diff)
downloadzoomedit-c771232b7433c076290c2ac6c8c53090a1ad3592.tar
zoomedit-c771232b7433c076290c2ac6c8c53090a1ad3592.zip
zoomedit:
* Can grab level view now to change view position.
Diffstat (limited to 'src/Gui/RenderArea.h')
-rw-r--r--src/Gui/RenderArea.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Gui/RenderArea.h b/src/Gui/RenderArea.h
index a757467..c8b6d6e 100644
--- a/src/Gui/RenderArea.h
+++ b/src/Gui/RenderArea.h
@@ -67,10 +67,16 @@ class RenderArea : public Gtk::DrawingArea {
int zoomLevel;
float scale;
+ bool inWindow;
+ float xHover, yHover;
+
void onRealize();
bool onConfigureEvent(GdkEventConfigure*);
bool onExposeEvent(GdkEventExpose*);
bool onScrollEvent(GdkEventScroll *event);
+ bool onEnterNotifyEvent(GdkEventCrossing *event);
+ bool onLeaveNotifyEvent(GdkEventCrossing*);
+ bool onMotionNotifyEvent(GdkEventMotion *event);
void zoom(int zoom, float x = 0.5f, float y = 0.5f);