Public Member Functions | |
virtual int | update_positions (TabGroup *g, int numchildren, int &selected, int &cumulated_width, int &available_width, int *tab_pos, int *tab_width) |
virtual bool | draw_tabs (TabGroup *g, int selected, int *tab_pos, int *tab_width) |
virtual int | which (TabGroup *g, int m_x, int m_y)=0 |
virtual TabGroupPager * | clone () const =0 |
virtual const char * | mode_name () const =0 |
virtual int | id () const =0 |
virtual int | available_width (TabGroup *g) const |
int | border () const |
int | slope () const |
int | extra_space () const |
void | border (int v) |
void | slope (int v) |
void | extra_space (int v) |
int | shift () const |
void | shift (int v) |
int | spacing () const |
void | noclip (bool v) |
|
return max width available for drawing tab thumbnails |
|
virtual copy from a prototype |
|
draw the tabs for this custom pager, return false means no custom draw is made |
|
determines if we forbid partial tabs drawing with clipping |
|
shifting to nth+1 tab to draw, permit to 'keep' a position while changing tabs and tab is in the interval |
|
this method must update the tab positions and width array, returns the selected tab |
|
determine and return the index of the child group at the corresponding pos |