Logo Search packages:      
Sourcecode: fgrun version File versions  Download package

Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

Fl_Table Class Reference

Inheritance diagram for Fl_Table:
Inheritance graph
Collaboration diagram for Fl_Table:
Collaboration graph

List of all members.


class  IntVector

Public Types

enum  TableContext {

Public Member Functions

void add (Fl_Widget &w)
void add (Fl_Widget *w)
Fl_Widget *const array ()
void begin ()
int callback_col ()
TableContext callback_context ()
int callback_row ()
Fl_Widget * child (int n) const
int children () const
virtual void clear ()
int col_header ()
void col_header (int flag)
void col_header_color (Fl_Color val)
Fl_Color col_header_color ()
int col_header_height ()
void col_header_height (int height)
void col_position (int col)
int col_position ()
int col_resize ()
void col_resize (int flag)
void col_resize_min (int val)
int col_resize_min ()
void col_width (int col, int width)
int col_width (int col)
void col_width_all (int width)
int cols ()
virtual void cols (int val)
void do_callback (TableContext context, int row, int col)
void draw (void)
void end ()
int find (const Fl_Widget *w) const
int find (const Fl_Widget &w) const
 Fl_Table (int X, int Y, int W, int H, const char *l=0)
void init_sizes ()
void insert (Fl_Widget &w, int n)
void insert (Fl_Widget &w, Fl_Widget *w2)
int is_interactive_resize ()
void remove (Fl_Widget &w)
void resize (int X, int Y, int W, int H)
int row_header ()
void row_header (int flag)
void row_header_color (Fl_Color val)
Fl_Color row_header_color ()
void row_header_width (int width)
int row_header_width ()
void row_height (int row, int height)
int row_height (int row)
void row_height_all (int height)
int row_position ()
void row_position (int row)
void row_resize (int flag)
int row_resize ()
int row_resize_min ()
void row_resize_min (int val)
int rows ()
virtual void rows (int val)
Fl_Boxtype table_box (void)
void table_box (Fl_Boxtype val)
void top_row (int row)
int top_row ()
void visible_cells (int &r1, int &r2, int &c1, int &c2)

Protected Types

enum  ResizeFlag {

Protected Member Functions

void change_cursor (Fl_Cursor newcursor)
long col_scroll_position (int col)
TableContext cursor2rowcol (int &R, int &C, ResizeFlag &resizeflag)
virtual void draw_cell (TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0)
int find_cell (TableContext context, int R, int C, int &X, int &Y, int &W, int &H)
void get_bounds (TableContext context, int &X, int &Y, int &W, int &H)
int handle (int e)
int is_fltk_container ()
void recalc_dimensions ()
void redraw_range (int toprow, int botrow, int leftcol, int rightcol)
int row_col_clamp (TableContext context, int &R, int &C)
long row_scroll_position (int row)
void table_resized ()
void table_scrolled ()

Static Protected Member Functions

static void scroll_cb (Fl_Widget *, void *)

Protected Attributes

int botrow
Fl_Scrollbar * hscrollbar
int leftcol
int leftcol_scrollpos
int rightcol
Fl_Scroll * table
int table_h
int table_w
int tih
int tiw
int tix
int tiy
int toh
int toprow
int toprow_scrollpos
int tow
int tox
int toy
Fl_Scrollbar * vscrollbar
int wih
int wiw
int wix
int wiy

Private Member Functions

void _redraw_cell (TableContext context, int R, int C)

Private Attributes

int _callback_col
TableContext _callback_context
int _callback_row
char _col_header
Fl_Color _col_header_color
int _col_header_h
int _col_position
char _col_resize
int _col_resize_min
int _cols
IntVector _colwidths
int _dragging_x
int _dragging_y
Fl_Cursor _last_cursor
int _last_row
int _redraw_botrow
int _redraw_leftcol
int _redraw_rightcol
int _redraw_toprow
int _resizing_col
int _resizing_row
char _row_header
Fl_Color _row_header_color
int _row_header_w
int _row_position
char _row_resize
int _row_resize_min
IntVector _rowheights
int _rows

Detailed Description

Definition at line 45 of file Fl_Table.H.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index