diff options
Diffstat (limited to 'src/Gui/RenderArea.h')
-rw-r--r-- | src/Gui/RenderArea.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Gui/RenderArea.h b/src/Gui/RenderArea.h index c47c56d..61e5291 100644 --- a/src/Gui/RenderArea.h +++ b/src/Gui/RenderArea.h @@ -51,9 +51,6 @@ class RenderArea : public Gtk::DrawingArea { return get_height()/scale; } - float getImageWidth() const {return 10;} - float getImageHeight() const {return 10;} - float getScale() const {return scale;} float getXCenter() const {return xCenter;} @@ -82,6 +79,7 @@ class RenderArea : public Gtk::DrawingArea { void updateViewport(); void updateScrollbars(float x = 0.5f, float y = 0.5f); void updateScrolling(); + void updateScrollingWithSize(float imageWidth, float imageHeight); bool gdkGLBegin() { GtkWidget *widget = GTK_WIDGET(gobj()); |