#include <pgcolumnitem.h>
Inheritance diagram for PG_ColumnItem:

Public Member Functions | |
| PG_ColumnItem (PG_Widget *parent, Uint32 columns, Uint16 height, void *userdata=NULL, const std::string &style="ListBoxItem") | |
| 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 std::string &text) |
| Set the text of a column. | |
| const PG_String & | 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 | |
Definition at line 48 of file pgcolumnitem.h.
|
||||||||||||||||||||||||
|
Construct a new PG_ColumnItem object.
Definition at line 31 of file pgcolumnitem.cpp. References PG_String, PG_ListBoxBaseItem::SetUserData(), and PG_Rect::Width(). |
|
|
Definition at line 47 of file pgcolumnitem.cpp. |
|
||||||||||||||||
|
overridable eventhandler to blit the widget contents to the screen
Reimplemented from PG_ListBoxItem. Definition at line 61 of file pgcolumnitem.cpp. References PG_Widget::DrawText(), PG_ListBoxItem::eventBlit(), PG_Widget::GetTextSize(), PG_Rect::my_height, PG_Label::my_srfIcon, PG_Rect::my_width, and PG_Rect::PG_Rect(). |
|
|
Definition at line 102 of file pgcolumnitem.cpp. |
|
|
Get the text of a column.
Definition at line 98 of file pgcolumnitem.cpp. |
|
|
Get the width of a column.
Definition at line 94 of file pgcolumnitem.cpp. |
|
||||||||||||
|
Set the text of a column.
Definition at line 56 of file pgcolumnitem.cpp. References PG_Widget::Update(). |
|
||||||||||||
|
Set the width of a column (in pixels).
Definition at line 52 of file pgcolumnitem.cpp. |
1.4.2