aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewport.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkviewport.hh')
-rw-r--r--dw/fltkviewport.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/fltkviewport.hh b/dw/fltkviewport.hh
index 6af377d4..1e7f54f6 100644
--- a/dw/fltkviewport.hh
+++ b/dw/fltkviewport.hh
@@ -26,7 +26,8 @@ private:
::fltk::Scrollbar *vscrollbar, *hscrollbar;
GadgetOrientation gadgetOrientation[4];
- container::typed::List <object::TypedPointer < ::fltk::Widget> > *gadgets;
+ lout::container::typed::List <lout::object::TypedPointer < ::fltk::Widget> >
+ *gadgets;
void adjustScrollbarsAndGadgetsAllocation ();
void adjustScrollbarValues ();
@@ -49,7 +50,7 @@ protected:
public:
FltkViewport (int x, int y, int w, int h, const char *label = 0);
~FltkViewport ();
-
+
void layout();
void draw ();
int handle (int event);
@@ -60,6 +61,7 @@ public:
int getHScrollbarThickness ();
int getVScrollbarThickness ();
void scroll(int dx, int dy);
+ void scroll(dw::core::ScrollCommand cmd);
void scrollTo (int x, int y);
void setViewportSize (int width, int height,
int hScrollbarThickness, int vScrollbarThickness);