![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MFXTreeListDynamic.h>
Public Member Functions | |
| FXTreeItemDynamic (const FXString &text, FXIcon *oi=nullptr, FXIcon *ci=nullptr, void *ptr=nullptr) | |
| Constructor. | |
| void | setTextColor (FXColor clr) |
| Change text color. | |
Protected Member Functions | |
| void | draw (const FXTreeList *list, FXDC &dc, FXint xx, FXint yy, FXint, FXint hh) const |
| draw tree item | |
Private Attributes | |
| FXColor | myTextColor = GUIDesignTextColorBlack |
| set text color | |
Definition at line 33 of file MFXTreeListDynamic.h.
| FXTreeItemDynamic::FXTreeItemDynamic | ( | const FXString & | text, |
| FXIcon * | oi = nullptr, |
||
| FXIcon * | ci = nullptr, |
||
| void * | ptr = nullptr |
||
| ) |
Constructor.
Definition at line 45 of file MFXTreeListDynamic.cpp.
|
protected |
draw tree item
Definition at line 57 of file MFXTreeListDynamic.cpp.
References ICON_SPACING, myTextColor, and SIDE_SPACING.
| void FXTreeItemDynamic::setTextColor | ( | FXColor | clr | ) |
Change text color.
Definition at line 51 of file MFXTreeListDynamic.cpp.
References myTextColor.
Referenced by MFXTreeListDynamic::appendItem(), and MFXTreeListDynamic::prependItem().
|
private |
set text color
Definition at line 48 of file MFXTreeListDynamic.h.
Referenced by draw(), and setTextColor().