diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
commit | e32686c10a4f4fe7c34b181845220b5c491f32fb (patch) | |
tree | c090052c311a3a1732d03dc17fe357f97437b397 /dw/fltkviewport.cc | |
parent | 74f64426001a693759e47963f99965e0e6ee847d (diff) |
whitespace cleanup: 's/ +$//g'
Diffstat (limited to 'dw/fltkviewport.cc')
-rw-r--r-- | dw/fltkviewport.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dw/fltkviewport.cc b/dw/fltkviewport.cc index 8e3eea71..53b22029 100644 --- a/dw/fltkviewport.cc +++ b/dw/fltkviewport.cc @@ -157,7 +157,7 @@ void FltkViewport::layout () { theLayout->viewportSizeChanged (this, w(), h()); adjustScrollbarsAndGadgetsAllocation (); - + FltkWidgetView::layout (); } @@ -206,8 +206,8 @@ void FltkViewport::draw () } } - scrollDX = 0; - scrollDY = 0; + scrollDX = 0; + scrollDY = 0; } int FltkViewport::handle (int event) @@ -262,12 +262,12 @@ int FltkViewport::handle (int event) case ::fltk:: MOUSEWHEEL: return (event_dx() ? hscrollbar : vscrollbar)->handle(event); break; - + case ::fltk::RELEASE: if (::fltk::event_button() == ::fltk::MiddleButton) { dragScrolling = 0; setCursor (core::style::CURSOR_DEFAULT); - } + } break; case ::fltk::ENTER: @@ -362,7 +362,7 @@ void FltkViewport::positionChanged () /* * For scrollbars, this currently sets the same step to both vertical and * horizontal. It may me differentiated if necessary. - */ + */ void FltkViewport::setScrollStep(int step) { vscrollbar->linesize(step); @@ -443,8 +443,8 @@ void FltkViewport::updateCanvasWidgets (int dx, int dy) // scroll all child widgets except scroll bars for (int i = children () - 1; i > 0; i--) { ::fltk::Widget *widget = child (i); - - if (widget == hscrollbar || widget == vscrollbar) + + if (widget == hscrollbar || widget == vscrollbar) continue; widget->x (widget->x () - dx); |