25#include <FL/Fl_Table.H>
46 enum TableRowSelectMode {
53 class FL_EXPORT CharVector {
60 void copy(
char *newarr,
int newsize);
66 CharVector(CharVector&o) {
70 CharVector& operator=(CharVector&o) {
75 char operator[](
int x)
const {
78 char& operator[](
int x) {
86 char tmp = arr[_size-1];
90 void push_back(
char val) {
100 CharVector _rowselect;
106 int _dragging_select;
112 TableRowSelectMode _selectmode;
117 int R,
int C,
int &X,
int &Y,
int &W,
int &H) {
128 _dragging_select = 0;
133 _selectmode = SELECT_MULTI;
154 void type(TableRowSelectMode val);
156 TableRowSelectMode type()
const {
165 int row_selected(
int row);
171 int select_row(
int row,
int flag=1);
178 void select_all_rows(
int flag=1);
A table with row selection capabilities.
Definition Fl_Table_Row.H:44
~Fl_Table_Row()
The destructor for the Fl_Table_Row.
Definition Fl_Table_Row.H:140
void clear() FL_OVERRIDE
Clears the table to zero rows (rows(0)), zero columns (cols(0)), and clears any widgets (table->clear...
Definition Fl_Table_Row.H:180
Fl_Table_Row(int X, int Y, int W, int H, const char *l=0)
The constructor for the Fl_Table_Row.
Definition Fl_Table_Row.H:127
A table of widgets or other content.
Definition Fl_Table.H:121
virtual void clear()
Clears the table to zero rows (rows(0)), zero columns (cols(0)), and clears any widgets (table->clear...
Definition Fl_Table.H:427
TableContext
The context bit flags for Fl_Table related callbacks.
Definition Fl_Table.H:129
int find_cell(TableContext context, int R, int C, int &X, int &Y, int &W, int &H)
Find a cell's X/Y/W/H region for the specified cell in row 'R', column 'C'.
Definition Fl_Table.cxx:443
int rows()
Returns the number of rows in the table.
Definition Fl_Table.H:457
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46