aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewport.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-01-15 19:18:58 +0000
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-01-15 19:18:58 +0000
commit867088f57e6b312780ff3c21861503cb66e94c6f (patch)
tree9577234135b36d2681d4b4aa466fe683a12c3a01 /dw/fltkviewport.hh
parentf4b2ec9608576d4442c79780b64747548bb61a74 (diff)
view changes
Diffstat (limited to 'dw/fltkviewport.hh')
-rw-r--r--dw/fltkviewport.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/fltkviewport.hh b/dw/fltkviewport.hh
index 353eac42..a0a16830 100644
--- a/dw/fltkviewport.hh
+++ b/dw/fltkviewport.hh
@@ -39,7 +39,7 @@ private:
static void vscrollbarCallback (Fl_Widget *vscrollbar, void *viewportPtr);
void updateCanvasWidgets (int oldScrollX, int oldScrollY);
- static void draw_area (void *data, const Rectangle& cr);
+ static void draw_area (void *data, int x, int y, int w, int h);
protected:
int translateViewXToCanvasX (int x);
@@ -51,7 +51,7 @@ public:
FltkViewport (int x, int y, int w, int h, const char *label = 0);
~FltkViewport ();
- void layout();
+ void resize(int x, int y, int w, int h);
void draw ();
int handle (int event);