|
Public Types |
enum | {
Nothing = 0,
Handled,
Redraw,
Edit,
Back,
Exit
} |
Public Member Functions |
virtual unsigned | col_width (unsigned col) const =0 |
virtual unsigned | cols () const =0 |
virtual unsigned | rows () const =0 |
virtual char | col_sep (unsigned col) const |
virtual void | draw_entry (unsigned row, unsigned col)=0 |
virtual unsigned | key_pressed (int key, unsigned &row, unsigned &col) |
virtual void | print_statline (unsigned row, unsigned col)=0 |
virtual bool | has_row_labels () const |
virtual bool | has_col_labels () const |
virtual unsigned | width () const |
virtual unsigned | height () const |
virtual bool | edit_entry (unsigned row, unsigned col, unsigned cx, unsigned cy) |
bool | show (unsigned crow, unsigned ccol) |
void | draw_table (unsigned row, unsigned col, unsigned lines, unsigned columns) |
Private Member Functions |
unsigned | vis_cols (unsigned first_col, unsigned *w) |
unsigned | col_ofs (unsigned first_col, unsigned col) |