diff options
author | corvid <corvid@lavabit.com> | 2012-11-05 00:30:16 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-11-05 00:30:16 +0000 |
commit | 953f81e651465603f537270859732ccee038ea52 (patch) | |
tree | d0e7cc96af223264c85cd6bc6793b4cb6bc816c8 /dw/fltkviewport.hh | |
parent | 256fc10e8e58c44baf1fe9c5ea0d65649199b116 (diff) |
scroll when cursor is outside of viewport during selection
Diffstat (limited to 'dw/fltkviewport.hh')
-rw-r--r-- | dw/fltkviewport.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/fltkviewport.hh b/dw/fltkviewport.hh index 3df1dccb..1569a7d8 100644 --- a/dw/fltkviewport.hh +++ b/dw/fltkviewport.hh @@ -39,6 +39,9 @@ private: static void hscrollbarCallback (Fl_Widget *hscrollbar, void *viewportPtr); static void vscrollbarCallback (Fl_Widget *vscrollbar, void *viewportPtr); + void selectionScroll(); + static void selectionScroll(void *vport); + void updateCanvasWidgets (int oldScrollX, int oldScrollY); static void draw_area (void *data, int x, int y, int w, int h); |