![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXColorList.h>
Public Member Functions | |
FXColorItem (const FXString &text, FXColor clr, void *ptr=NULL) | |
void | setColor (FXColor clr) |
FXColor | getColor () const |
virtual FXint | getWidth (const FXList *list) const |
virtual FXint | getHeight (const FXList *list) const |
![]() | |
FXListItem (const FXString &text, FXIcon *ic=NULL, void *ptr=NULL) | |
virtual void | setText (const FXString &txt) |
const FXString & | getText () const |
virtual void | setIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getIcon () const |
void | setData (void *ptr) |
void * | getData () const |
virtual void | setFocus (FXbool focus) |
FXbool | hasFocus () const |
virtual void | setSelected (FXbool selected) |
FXbool | isSelected () const |
virtual void | setEnabled (FXbool enabled) |
FXbool | isEnabled () const |
virtual void | setDraggable (FXbool draggable) |
FXbool | isDraggable () const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXListItem () |
![]() | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
virtual | ~FXObject () |
Additional Inherited Members | |
![]() | |
enum | { SELECTED = 1, FOCUS = 2, DISABLED = 4, DRAGGABLE = 8, ICONOWNED = 16 } |
Color item.
Construct new item with given text, color, and user-data.
|
inline |
Change item's color.
|
inline |
Return item's color.
Return width of item as drawn in list.
Reimplemented from FX::FXListItem.
Return height of item as drawn in list.
Reimplemented from FX::FXListItem.
![]() |