Public Member Functions | Private Member Functions | Private Attributes | Friends

ListItem Class Reference

#include <ListItem.h>

Inheritance diagram for ListItem:
Control Broadcaster Listener

List of all members.

Public Member Functions

 ListItem (const std::string &name, Image *icon=NULL, ListItemType type=LIST_TEXT)
 ListItem (const ListItem &src)
 ~ListItem ()
void isSelected (bool selected)
bool isSelected () const

Private Member Functions

void initialize ()
void drawSkin ()
void drawPlain ()

Private Attributes

bool mIsSelected
ImagemIcon
ListItemType mType

Friends

class ListBox

Constructor & Destructor Documentation

ListItem::ListItem ( const std::string &  name,
Image icon = NULL,
ListItemType  type = LIST_TEXT 
)
ListItem::ListItem ( const ListItem src  ) 
ListItem::~ListItem (  ) 

Member Function Documentation

void ListItem::drawPlain (  )  [private, virtual]

Draws a Control without a Skin.

Reimplemented from Control.

void ListItem::drawSkin (  )  [private, virtual]

Draws a Control using a Skin.

Reimplemented from Control.

void ListItem::initialize (  )  [private, virtual]

Reimplemented from Control.

void ListItem::isSelected ( bool  selected  ) 
bool ListItem::isSelected (  )  const

Friends And Related Function Documentation

friend class ListBox [friend]

Member Data Documentation

Image* ListItem::mIcon [private]
bool ListItem::mIsSelected [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines