Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MFXListIcon Class Reference

A list item which allows for custom coloring. More...

#include <MFXListIcon.h>

Inheritance diagram for MFXListIcon:
[legend]
Collaboration diagram for MFXListIcon:
[legend]

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
 

Detailed Description

A list item which allows for custom coloring.

Definition at line 28 of file MFXListIcon.h.

Constructor & Destructor Documentation

◆ MFXListIcon() [1/2]

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.

◆ MFXListIcon() [2/2]

MFXListIcon::MFXListIcon ( )
protected

fox need this

Definition at line 89 of file MFXListIcon.cpp.

Member Function Documentation

◆ getDefaultHeight()

FXint MFXListIcon::getDefaultHeight ( )

Get default height.

Definition at line 55 of file MFXListIcon.cpp.

References ICON_SIZE, and LINE_SPACING.

◆ onPaint()

long MFXListIcon::onPaint ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Draw item list.

Definition at line 65 of file MFXListIcon.cpp.

References MFXListItemIcon::draw().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

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