GListColumn Class Reference

List view column. More...

#include <GList.h>

Inherits ResObject.

List of all members.

Public Member Functions

void Name (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.
GSurfaceIcon ()
 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.
GListGetList ()
 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


Detailed Description

List view column.

Member Function Documentation

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().


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

Generated on Wed Dec 1 15:41:03 2010 for Lgi by  doxygen 1.5.7.1