From 770c2c2eaf345b6faa8b9ae0fcab48d0ca0a3639 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sun, 5 Dec 2010 01:22:53 +0000 Subject: CMP mods: bracing, doxygen fixes for code examples and #if DOXYGEN -> #if FL_DOXYGEN. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Table.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Fl_Table.cxx') diff --git a/src/Fl_Table.cxx b/src/Fl_Table.cxx index 96fb838dc..6b73879ce 100644 --- a/src/Fl_Table.cxx +++ b/src/Fl_Table.cxx @@ -424,14 +424,13 @@ void Fl_Table::_auto_drag_cb() { if (lx > x() + w() - 20) { Fl::e_x = x() + w() - 20; if (hscrollbar->visible()) - ((Fl_Slider*)hscrollbar)->value( - hscrollbar->clamp(hscrollbar->value() + 30)); + ((Fl_Slider*)hscrollbar)->value(hscrollbar->clamp(hscrollbar->value() + 30)); hscrollbar->do_callback(); _dragging_x = Fl::e_x - 30; } else if (lx < (x() + row_header_width())) { Fl::e_x = x() + row_header_width() + 1; - if (hscrollbar->visible()) { + if (hscrollbar->visible()) { ((Fl_Slider*)hscrollbar)->value(hscrollbar->clamp(hscrollbar->value() - 30)); } hscrollbar->do_callback(); @@ -514,7 +513,7 @@ void Fl_Table::table_scrolled() { if ( y > voff ) { y -= row_height(row); break; } } _row_position = toprow = ( row >= _rows ) ? (row - 1) : row; - toprow_scrollpos = y; // OPTIMIZATION: save for later use + toprow_scrollpos = y; // OPTIMIZATION: save for later use // Find bottom row voff = vscrollbar->value() + tih; for ( ; row < _rows; row++ ) { -- cgit v1.2.3