From 76d205ddb5f613623892264a3ae6e0537224fa71 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 26 Oct 2010 12:01:08 +0000 Subject: Improved doxygen docs for draw_cell() parameters in the various contexts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Table.H | 43 ++++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H index 0241389f4..86b540d22 100644 --- a/FL/Fl_Table.H +++ b/FL/Fl_Table.H @@ -331,38 +331,47 @@ protected: - + - + - + - + - + + either interactively or via col_width() or row_height().
+ R/C/X/Y/W/H will all be zero. +

+ Useful for fltk containers that need to resize or move + the child fltk widgets.

\p Fl_Table::CONTEXT_STARTPAGE When table, or parts of the table, are about to be redrawn. - Use to initialize static data, such as font selections. - r/c will be zero, x/y/w/h will be the dimensions of the - table's entire data area. - (Useful for locking a database before accessing; see - also visible_cells())When table, or parts of the table, are about to be redrawn.
+ Use to initialize static data, such as font selections.

+ R/C will be zero,
+ X/Y/W/H will be the dimensions of the table's entire data area.
+ (Useful for locking a database before accessing; see + also visible_cells())

\p Fl_Table::CONTEXT_ENDPAGEWhen table has completed being redrawn. - r/c will be zero, x/y/w/h dimensions of table's data area. - (Useful for unlocking a database after accessing)When table has completed being redrawn.
+ R/C will be zero, X/Y/W/H dimensions of table's data area.
+ (Useful for unlocking a database after accessing)
\p Fl_Table::CONTEXT_ROW_HEADERWhenever a row header cell needs to be drawn.Whenever a row header cell needs to be drawn.
+ R will be the row number of the header being redrawn,
+ C will be zero,
+ X/Y/W/H will be the fltk drawing area of the row header in the window
\p Fl_Table::CONTEXT_COL_HEADERWhenever a column header cell needs to be drawn.Whenever a column header cell needs to be drawn.
+ R will be zero,
+ C will be the column number of the header being redrawn,
+ X/Y/W/H will be the fltk drawing area of the column header in the window
\p Fl_Table::CONTEXT_CELLWhenever a data cell in the table needs to be drawn.Whenever a data cell in the table needs to be drawn.
+ R/C will be the row/column of the cell to be drawn,
+ X/Y/W/H will be the fltk drawing area of the cell in the window
\p Fl_Table::CONTEXT_RC_RESIZE Whenever table or row/column is resized or scrolled, - either interactively or via col_width() or row_height(). - - Useful for fltk containers that need to resize or move - the child fltk widgets.
\p row and \p col will be set to the row and column number - the user clicked on. In the case of row headers, \p col will be \a 0. + of the cell being drawn. In the case of row headers, \p col will be \a 0. In the case of column headers, \p row will be \a 0. x/y/w/h will be the position and dimensions of where the cell -- cgit v1.2.3