18 #ifndef MFXIconComboBox_h 19 #define MFXIconComboBox_h 38 MFXListItem(
const FXString& text, FXIcon* ic, FXColor _bgColor,
void* ptr = NULL):
39 FXListItem(text, ic, ptr),
44 void draw(
const FXList* list, FXDC& dc, FXint x, FXint y, FXint w, FXint h);
62 MFXIconComboBox(FXComposite* p, FXint cols, FXObject* tgt =
nullptr, FXSelector sel = 0, FXuint opts = COMBOBOX_NORMAL, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0, FXint pl = DEFAULT_PAD, FXint pr = DEFAULT_PAD, FXint pt = DEFAULT_PAD, FXint pb = DEFAULT_PAD);
67 FXint appendIconItem(
const FXString& text, FXIcon* icon, FXColor
bgColor = FXRGBA(0, 0, 0, 0),
void* ptr = NULL);
MFXListItem(const FXString &text, FXIcon *ic, FXColor _bgColor, void *ptr=NULL)
Construct new item with given text, icon, and user-data.
virtual ~MFXIconComboBox()
Destructor.
void draw(const FXList *list, FXDC &dc, FXint x, FXint y, FXint w, FXint h)