Author: greg.ercolano
Date: 2010-10-26 02:41:47 -0700 (Tue, 26 Oct 2010)
New Revision: 7745
Log:
Doxygen improvements for Fl_Table.H; 
        o Added docs for the TableContext enum members (including CONTEXT_TABLE)
        o Fix another example indent issue.



Modified:
   branches/branch-1.3/FL/Fl_Table.H

Modified: branches/branch-1.3/FL/Fl_Table.H
===================================================================
--- branches/branch-1.3/FL/Fl_Table.H   2010-10-26 09:09:17 UTC (rev 7744)
+++ branches/branch-1.3/FL/Fl_Table.H   2010-10-26 09:41:47 UTC (rev 7745)
@@ -172,15 +172,18 @@
  */
 class Fl_Table : public Fl_Group {
 public:
+  /**
+   The context bit flags for Fl_Table related callbacks (eg. draw_cell(), 
callback(), etc)
+   */
   enum TableContext {
-    CONTEXT_NONE       = 0,
-    CONTEXT_STARTPAGE  = 0x01, // before a page is redrawn
-    CONTEXT_ENDPAGE    = 0x02, // after a page is redrawn
-    CONTEXT_ROW_HEADER = 0x04, // in the row header
-    CONTEXT_COL_HEADER = 0x08, // in the col header
-    CONTEXT_CELL       = 0x10, // in one of the cells
-    CONTEXT_TABLE      = 0x20, // in the table
-    CONTEXT_RC_RESIZE  = 0x40  // column or row being resized
+    CONTEXT_NONE       = 0,    ///< no known context
+    CONTEXT_STARTPAGE  = 0x01, ///< before a page is redrawn
+    CONTEXT_ENDPAGE    = 0x02, ///< after a page is redrawn
+    CONTEXT_ROW_HEADER = 0x04, ///< in the row header
+    CONTEXT_COL_HEADER = 0x08, ///< in the col header
+    CONTEXT_CELL       = 0x10, ///< in one of the cells
+    CONTEXT_TABLE      = 0x20, ///< in a dead zone of table
+    CONTEXT_RC_RESIZE  = 0x40  ///< column or row being resized
   };
   
 private:
@@ -881,10 +884,9 @@
    
    Typically used in loops, eg:
    \code
-   for ( int i=0; i<children(); i++ )
-   {
-   Fl_Widget *w = child(i);
-   [..]
+   for ( int i=0; i<children(); i++ ) {
+     Fl_Widget *w = child(i);
+     [..]
    }
    \endcode
    */

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to