7 #ifndef __SCV_TABLE_H__
8 #define __SCV_TABLE_H__
20 Table(
const scv::Point &p,
int nRows = 4,
int nColumns = 4,
int nCellLines = 1,
int CellWidth = 1);
29 void align(
int column);
33 void setString(
int row,
int column, std::string str);
34 std::string
getString(
int row,
int column);
36 std::vector<std::string>
getRow(
int row);
37 std::vector<std::string>
getColumn(
int column);
60 class TableButton :
public Button {
62 TableButton(
Table *table,
const scv::Point &p,
unsigned int width,
const std::string &str,
int column);
67 void setAlign(
bool state);
68 bool alphabetical(std::string str1, std::string str2);
70 int _nRows, _nColumns;
71 int _nCellLines, _cellWidth;
74 std::deque<Button *> _buttons;
82 std::deque<std::deque< TextBox *> >
_table;
97 #endif // __SCV_TABLE_H__