summaryrefslogtreecommitdiffstats
path: root/src/Gui/RenderArea.h
diff options
context:
space:
mode:
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);