summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 16:35:56 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 16:35:56 +0500
commit7d3793ce1d8cb26e7608bf859beca21359cec6e9 (patch)
tree70f168b5daafa2b013dc518a393378022172940a /FL/Fl_Table.H
parentcdf2832347b8fdf0389cd373c2ead0ac5d071037 (diff)
wip
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H16
1 files changed, 9 insertions, 7 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index 655df6b91..6d7c5d373 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -22,8 +22,6 @@
#include <FL/Fl_Group.H>
#include <FL/Fl_Scroll.H>
-#include <vector>
-
/**
A table of widgets or other content.
@@ -157,12 +155,16 @@ private:
};
unsigned int flags_;
- std::vector<int> *_colwidths; // column widths in pixels
- std::vector<int> *_rowheights; // row heights in pixels
+ int *_colwidths; // column widths in pixels
+ int _colwidths_size; // number of columns
+ int _colwidths_alloc; // allocated size
+ int *_rowheights; // row heights in pixels
+ int _rowheights_size; // number of rows
+ int _rowheights_alloc; // allocated size
- // number of columns and rows == size of corresponding vectors
- int col_size(); // size of the column widths vector
- int row_size(); // size of the row heights vector
+ // number of columns and rows
+ int col_size(); // number of columns
+ int row_size(); // number of rows
Fl_Cursor _last_cursor; // last mouse cursor before changed to 'resize' cursor