summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 18:12:40 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 18:12:40 +0500
commitb4995f979d127cea667b4e2b71c91e9db4ab52ef (patch)
treefbebc775e10932bace8d6a7c3481b1ba200c64db /FL/Fl_Table.H
parent9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (diff)
wip
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H9
1 files changed, 6 insertions, 3 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index 80a96593c..94b249b4b 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -679,7 +679,8 @@ public:
same value, in pixels. The screen is redrawn.
*/
void row_height_all(int height) { // set all row/col heights
- for ( int r=0; r<rows(); r++ ) {
+ int r;
+ for (r =0; r<rows(); r++ ) {
row_height(r, height);
}
}
@@ -689,7 +690,8 @@ public:
same value, in pixels. The screen is redrawn.
*/
void col_width_all(int width) {
- for ( int c=0; c<cols(); c++ ) {
+ int c;
+ for (c =0; c<cols(); c++ ) {
col_width(c, width);
}
}
@@ -836,7 +838,8 @@ public:
Typically used in loops, eg:
\code
- for ( int i=0; i<children(); i++ ) {
+ int i;
+ for (i =0; i<children(); i++ ) {
Fl_Widget *w = child(i);
[..]
}