 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
33 FXTreeItemDynamic(
const FXString& text, FXIcon* oi =
nullptr, FXIcon* ci =
nullptr,
void* ptr =
nullptr);
40 void draw(
const FXTreeList* list, FXDC& dc, FXint xx, FXint yy, FXint, FXint hh)
const;
75 FXTreeItem*
insertItem(FXTreeItem* father,
const FXString& text, FXIcon* oi);
81 FXTreeItem*
getItemAt(FXint x,FXint y)
const;
std::vector< FXTreeItemDynamic * > myFXTreeItemDynamicItems
list with current FXTreeItemDynamic elements
FXTreeItemDynamic * getItem(FXint index) const
Get item.
void setTextColor(FXColor clr)
Change text color.
FXWindow * getFXWindow()
get FXWindows associated with this FXTreeListDinamic
void resetSelectedItem()
reset selected item
FXTreeListDinamic()
default constructor
FXTreeListDinamic & operator=(const FXTreeListDinamic &)=delete
Invalidated assignment operator.
void show()
Show FXTreeListDinamic.
FXTreeItem * getItemAt(FXint x, FXint y) const
Get item at x,y, if any.
FXint getNumItems()
get num items
FXTreeItemDynamic(const FXString &text, FXIcon *oi=nullptr, FXIcon *ci=nullptr, void *ptr=nullptr)
Constructor.
void clearItems()
clear items
FXTreeItem * insertItem(FXTreeItem *father, const FXString &text, FXIcon *oi)
Insert item with given text and icon.
FXColor myTextColor
set text color
long onLeftBtnPress(FXObject *, FXSelector, void *)
FXint getSelectedIndex()
getSelected item index
void draw(const FXTreeList *list, FXDC &dc, FXint xx, FXint yy, FXint, FXint hh) const
draw tree item
void hide()
Hide FXTreeListDinamic.
FXint mySelectedItem
selected item