diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 03:39:53 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 03:39:53 +0500 |
| commit | f93978aba486bf0fea8d9ee857d014a02f3f7d96 (patch) | |
| tree | 44d4626c2d56666056983d8fedf1b897f4ecf249 /FL/Fl_Table.H | |
| parent | ddba971ebb304512ba9e0a01b77ec71b59b977b6 (diff) | |
wi[
Diffstat (limited to 'FL/Fl_Table.H')
| -rw-r--r-- | FL/Fl_Table.H | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H index 6d7c5d373..80a96593c 100644 --- a/FL/Fl_Table.H +++ b/FL/Fl_Table.H @@ -239,7 +239,7 @@ protected: Fl_Scrollbar *hscrollbar; ///< child horizontal scrollbar widget // Fltk - int handle(int e); // fltk handle() override + int handle(int e); // fltk handle() // Class maintenance void recalc_dimensions(); @@ -255,7 +255,7 @@ protected: // clamp r/c to known universe /** - Subclass should override this method to handle drawing the cells. + Subclass should this method to handle drawing the cells. This method will be called whenever the table is redrawn, once per cell. @@ -312,7 +312,7 @@ protected: <tt>X/Y/W/H</tt> will be the position and dimensions of where the cell should be drawn. - In the case of custom widgets, a minimal draw_cell() override might + In the case of custom widgets, a minimal draw_cell() might look like the following. With custom widgets it is up to the caller to handle drawing everything within the dimensions of the cell, including handling the selection color. Note all clipping must be handled as well; this allows drawing @@ -732,7 +732,7 @@ public: void set_selection(int row_top, int col_left, int row_bot, int col_right); int move_cursor(int R, int C, int shiftselect); int move_cursor(int R, int C); - void resize(int X, int Y, int W, int H); // fltk resize() override + void resize(int X, int Y, int W, int H); // fltk resize() // This crashes sortapp() during init. // void box(Fl_Boxtype val) { @@ -1045,7 +1045,7 @@ public: widgets' scrollbars. This ensures your application has a consistent UI, is the default behavior, and is normally what you want. - Only use THIS method if you really need to override the global + Only use THIS method if you really need to the global scrollbar size. The need for this should be rare. Setting \p newSize to the special value of 0 causes the widget to |
