53 MFXListIconItem(
const FXString& text, FXIcon* ic = NULL, FXColor backGroundColor = 0,
void* ptr = NULL);
59 void setText(
const FXString& txt);
62 const FXString&
getText()
const;
114 void draw(
const MFXListIcon* list, FXDC& dc, FXint
x, FXint
y, FXint w, FXint h);
A list item which allows for custom coloring.
FXbool isEnabled() const
Return true if this item is enabled.
void detach()
Detach server-side resources.
void setDraggable(FXbool draggable)
Make item draggable.
bool show
flag for show/hidde element
MFXListIconItem & operator=(const MFXListIconItem &)=delete
invalidate assign constructor
MFXListIconItem()
FOX need this.
FXint getHeight(const MFXListIcon *list) const
Return height of item as drawn in list.
void setText(const FXString &txt)
Change item's text label.
void create()
Create server-side resources.
void setSelected(FXbool selected)
Select item.
const FXString & getText() const
Return item's text label.
FXint getWidth(const MFXListIcon *list) const
Return width of item as drawn in list.
void setEnabled(FXbool enabled)
Enable or disable item.
FXIcon * getIcon() const
Return item's icon.
void destroy()
Destroy server-side resources.
const FXColor & getBackGroundColor() const
get background color
FXbool hasFocus() const
Return true if item has focus.
FXColor myBackGroundColor
backGround color
~MFXListIconItem()
Destroy item and free icons if owned.
MFXListIconItem(const MFXListIconItem &)=delete
invalidate copy constructor
FXint hitItem(const MFXListIcon *list, FXint x, FXint y) const
hit item
FXbool isSelected() const
Return true if this item is selected.
FXbool isDraggable() const
Return true if this item is draggable.
void setFocus(FXbool focus)
Make item draw as focused.
void draw(const MFXListIcon *list, FXDC &dc, FXint x, FXint y, FXint w, FXint h)
daraw