diff options
author | neoraider <devnull@localhost> | 2008-04-13 03:59:01 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-13 03:59:01 +0200 |
commit | 184c6305a677d968e60eb6cba9b29dd840cdce3c (patch) | |
tree | 9e0eaab4cf21c1e9717e29a79a9010678eccfc0b /src/Gui | |
parent | 7fa8e4b4faf6dca308607977d2c2aaa5428ca60d (diff) | |
download | zoomedit-184c6305a677d968e60eb6cba9b29dd840cdce3c.tar zoomedit-184c6305a677d968e60eb6cba9b29dd840cdce3c.zip |
zoomedit:
* New data interfaces, yay! Levels should now be completely editable
* Fixed some -Wextra warnings
Diffstat (limited to 'src/Gui')
-rw-r--r-- | src/Gui/RenderArea.cpp | 4 | ||||
-rw-r--r-- | src/Gui/RenderArea.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Gui/RenderArea.cpp b/src/Gui/RenderArea.cpp index 5d0b2b3..576b1f7 100644 --- a/src/Gui/RenderArea.cpp +++ b/src/Gui/RenderArea.cpp @@ -84,12 +84,12 @@ void RenderArea::onRealize() { gdkGLEnd(); } -bool RenderArea::onConfigureEvent(GdkEventConfigure *event) { +bool RenderArea::onConfigureEvent(GdkEventConfigure*) { updateViewport(); return true; } -bool RenderArea::onExposeEvent(GdkEventExpose *event) { +bool RenderArea::onExposeEvent(GdkEventExpose*) { if(!gdkGLBegin()) return false; diff --git a/src/Gui/RenderArea.h b/src/Gui/RenderArea.h index e9fd0bc..66a8924 100644 --- a/src/Gui/RenderArea.h +++ b/src/Gui/RenderArea.h @@ -44,8 +44,8 @@ class RenderArea : public Gtk::DrawingArea { float scale; void onRealize(); - bool onConfigureEvent(GdkEventConfigure *event); - bool onExposeEvent(GdkEventExpose *event); + bool onConfigureEvent(GdkEventConfigure*); + bool onExposeEvent(GdkEventExpose*); bool onScrollEvent(GdkEventScroll *event); void zoom(int zoom, float x = 0.5f, float y = 0.5f); |