#include <GList.h>
Inherits ResObject.
Public Member Functions | |
void | Name (const char *n) |
Sets the text. | |
char * | Name () |
Gets the text. | |
void | Width (int i) |
Sets the width. | |
int | Width () |
Gets the width. | |
void | Type (int i) |
int | Type () |
Gets the type of content. | |
void | Mark (int i) |
Sets the marking, one of GLI_MARK_NONE, GLI_MARK_UP_ARROW or GLI_MARK_DOWN_ARROW. | |
int | Mark () |
Gets the marking, one of GLI_MARK_NONE, GLI_MARK_UP_ARROW or GLI_MARK_DOWN_ARROW. | |
void | Icon (GSurface *i, bool Own=true) |
Sets the icon to display. | |
GSurface * | Icon () |
Gets the icon displayed. | |
int | Value () |
True if clicked. | |
void | Image (int i) |
Sets the index into the parent containers GImageList. | |
int | Image () |
Gets the index into the parent containers GImageList. | |
bool | Resizable () |
true if resizable | |
void | Resizable (bool i) |
Sets whether the user can resize the column. | |
int | GetIndex () |
Returns the index of the column if attached to a list. | |
int | GetContentSize () |
Returns the size of the content in this column. | |
GList * | GetList () |
Returns the list. | |
void | OnPaint (GSurface *pDC, GRect &r) |
Paint the column header. | |
void | OnPaint_Content (GSurface *pDC, GRect &r, bool FillBackground) |
Draws the just the icon, text and mark. | |
Friends | |
class | GListItem |
class | GList |
void GListColumn::Type | ( | int | i | ) |
Sets the type of content in the header. Use one of GIC_ASK_TEXT, GIC_OWNER_DRAW, GIC_ASK_IMAGE.
Is this used??
Referenced by GList::OnPaint().