Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
CListboxItem Class Reference

Description

Listbox item.

Definition at line 397 of file ui_widgets.H.

#include "ui_widgets.H"

Public Member Functions

void SetLabel (const char *_text, const char *_iconName=NULL)
 Set label with a text and icon, both are optional. The icon is recolored as the text.
 
void SetLabel (const char *_text, SDL_Surface *_iconSurf)
 Set label with a text and icon, both are optional. The icon has its own color(s).
 

Public Attributes

bool isSpecial
 Item is special, e.g. a head line.
 
void * data
 Reference to optional user data.
 

Protected Attributes

bool changed
 If set, item will be re-rendered at next occasion.
 

Friends

class CListbox
 

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