aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewport.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
commit845493306279f446dbac9568a0a1e0f442e615dd (patch)
treedbf0a36e50a268b456760ce881a802d28979cc5f /dw/fltkviewport.cc
parent283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff)
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
Diffstat (limited to 'dw/fltkviewport.cc')
-rw-r--r--dw/fltkviewport.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/dw/fltkviewport.cc b/dw/fltkviewport.cc
index 411c9566..8e3eea71 100644
--- a/dw/fltkviewport.cc
+++ b/dw/fltkviewport.cc
@@ -105,8 +105,8 @@ void FltkViewport::adjustScrollbarsAndGadgetsAllocation ()
vscrollbar->w (SCROLLBAR_THICKNESS);
int x = w () - SCROLLBAR_THICKNESS, y = h () - SCROLLBAR_THICKNESS;
- for(Iterator <TypedPointer < ::fltk::Widget> > it = gadgets->iterator ();
- it.hasNext (); ) {
+ for (Iterator <TypedPointer < ::fltk::Widget> > it = gadgets->iterator ();
+ it.hasNext (); ) {
::fltk::Widget *widget = it.getNext()->getTypedValue ();
widget->x (0);
widget->y (0);
@@ -168,10 +168,10 @@ void FltkViewport::draw_area (void *data, const Rectangle& cr )
vp->FltkWidgetView::draw ();
- for(Iterator <TypedPointer < ::fltk::Widget> > it = vp->gadgets->iterator ();
- it.hasNext (); ) {
- ::fltk::Widget *widget = it.getNext()->getTypedValue ();
- vp->draw_child (*widget);
+ for (Iterator <TypedPointer < ::fltk::Widget> > it = vp->gadgets->iterator();
+ it.hasNext (); ) {
+ ::fltk::Widget *widget = it.getNext()->getTypedValue ();
+ vp->draw_child (*widget);
}
pop_clip();