summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
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