Eclipse SUMO - Simulation of Urban MObility
MFXListItem Class Reference

#include <MFXIconComboBox.h>

Inheritance diagram for MFXListItem:
Collaboration diagram for MFXListItem:

Public Member Functions

void draw (const FXList *list, FXDC &dc, FXint x, FXint y, FXint w, FXint h)
 
 MFXListItem (const FXString &text, FXIcon *ic, FXColor _bgColor, void *ptr=NULL)
 Construct new item with given text, icon, and user-data. More...
 

Data Fields

FXColor bgColor
 

Protected Member Functions

 MFXListItem ()
 

Detailed Description

A list item which allows for custom coloring

Definition at line 33 of file MFXIconComboBox.h.

Constructor & Destructor Documentation

◆ MFXListItem() [1/2]

MFXListItem::MFXListItem ( const FXString &  text,
FXIcon *  ic,
FXColor  _bgColor,
void *  ptr = NULL 
)
inline

Construct new item with given text, icon, and user-data.

Definition at line 38 of file MFXIconComboBox.h.

◆ MFXListItem() [2/2]

MFXListItem::MFXListItem ( )
inlineprotected

Definition at line 47 of file MFXIconComboBox.h.

Member Function Documentation

◆ draw()

void MFXListItem::draw ( const FXList *  list,
FXDC &  dc,
FXint  x,
FXint  y,
FXint  w,
FXint  h 
)

Definition at line 38 of file MFXIconComboBox.cpp.

References ICON_SPACING, and SIDE_SPACING.

Field Documentation

◆ bgColor

FXColor MFXListItem::bgColor

Definition at line 41 of file MFXIconComboBox.h.

Referenced by MFXIconComboBox::~MFXIconComboBox().


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