![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A list item which allows for custom coloring. More...
#include <MFXListIcon.h>
Public Member Functions | |
FXint | getDefaultHeight () |
Get default height. | |
MFXListIcon (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=LIST_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
FOX declaration. | |
long | onPaint (FXObject *, FXSelector, void *) |
Draw item list. | |
Protected Member Functions | |
MFXListIcon () | |
fox need this | |
A list item which allows for custom coloring.
Definition at line 28 of file MFXListIcon.h.
MFXListIcon::MFXListIcon | ( | FXComposite * | p, |
FXObject * | tgt = NULL , |
||
FXSelector | sel = 0 , |
||
FXuint | opts = LIST_NORMAL , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 |
||
) |
FOX declaration.
Construct new item with given text, icon, and user-data
Definition at line 49 of file MFXListIcon.cpp.
|
protected |
fox need this
Definition at line 89 of file MFXListIcon.cpp.
FXint MFXListIcon::getDefaultHeight | ( | ) |
Get default height.
Definition at line 55 of file MFXListIcon.cpp.
References ICON_SIZE, and LINE_SPACING.
long MFXListIcon::onPaint | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Draw item list.
Definition at line 65 of file MFXListIcon.cpp.
References MFXListItemIcon::draw().
Referenced by FXDEFMAP().