This is a multi-column item that can be inserted into the PG_ListBox
Public Member Functions | |
PG_ColumnItem (PG_Widget *parent, Uint32 columns, Uint16 height, void *userdata=NULL) | |
Construct a new PG_ColumnItem object. | |
~PG_ColumnItem () | |
void | SetColumnWidth (Uint32 column, Uint32 width) |
Set the width of a column (in pixels). | |
int | GetColumnWidth (Uint32 column) |
Get the width of a column. | |
void | SetColumnText (Uint32 column, const char *text) |
Set the text of a column. | |
const char * | GetColumnText (Uint32 column) |
Get the text of a column. | |
int | GetColumnCount () |
Protected Member Functions | |
void | eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
overridable eventhandler to blit the widget contents to the screen |
|
Construct a new PG_ColumnItem object.
|
|
|
|
overridable eventhandler to blit the widget contents to the screen
Reimplemented from PG_ListBoxItem. |
|
|
|
Get the text of a column.
|
|
Get the width of a column.
|
|
Set the text of a column.
|
|
Set the width of a column (in pixels).
|