diff options
| author | Greg Ercolano <erco@seriss.com> | 2017-04-27 01:40:21 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2017-04-27 01:40:21 +0000 |
| commit | 1bb2ef7b0b200a04999ca947ee6a05f1fac69c2c (patch) | |
| tree | 89792dace0205ab9fc1cb0f1d97ba79b6472d44a /FL | |
| parent | afd118047b588f1747c936100a9f08b3c098af87 (diff) | |
Small doc clarifications for the Fl_Table::TableContext enum.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Table.H | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H index 8c8dabe97..d6e40d751 100644 --- a/FL/Fl_Table.H +++ b/FL/Fl_Table.H @@ -122,17 +122,18 @@ public: /** The context bit flags for Fl_Table related callbacks. - Used in draw_cell(), callback(), etc. + Should be used in draw_cell() to determine what's being drawn, + or in a callback() to determine where a recent event occurred. */ enum TableContext { 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 + CONTEXT_STARTPAGE = 0x01, ///< before the table is redrawn + CONTEXT_ENDPAGE = 0x02, ///< after the table is redrawn + CONTEXT_ROW_HEADER = 0x04, ///< drawing or event occurred in the row header + CONTEXT_COL_HEADER = 0x08, ///< drawing or event occurred in the col header + CONTEXT_CELL = 0x10, ///< drawing or event occurred in a cell + CONTEXT_TABLE = 0x20, ///< drawing or event occurred in a dead zone of table + CONTEXT_RC_RESIZE = 0x40 ///< column or row is being resized }; private: |
