summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-12-09 08:09:44 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-12-09 08:09:51 +0100
commit5a7a70b8958b726b92e76b4aedeba4a04b85085f (patch)
tree3ba198a31312c7aacd39b693974fd49cfba25941 /FL/Fl_Table.H
parent4f2febd801eadce214189f119090cbe0bb9c05b1 (diff)
Remove compiler warnings about unused parameters (issue #307)
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H10
1 files changed, 5 insertions, 5 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index ecc68efa7..62bc28be5 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -323,11 +323,11 @@ protected:
</tr>
</table>
- \p row and \p col will be set to the row and column number
- 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.
+ \p R and \p C will be set to the row and column number
+ of the cell being drawn. In the case of row headers, \p C will be \a 0.
+ In the case of column headers, \p R will be \a 0.
- <tt>x/y/w/h</tt> will be the position and dimensions of where the cell
+ <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
@@ -384,7 +384,7 @@ protected:
*/
virtual void draw_cell(TableContext context, int R=0, int C=0,
int X=0, int Y=0, int W=0, int H=0)
- { } // overridden by deriving class
+ { (void)context; (void)R; (void)C; (void)X; (void)Y; (void)W; (void)H;} // overridden by deriving class
long row_scroll_position(int row); // find scroll position of row (in pixels)
long col_scroll_position(int col); // find scroll position of col (in pixels)