|
| TreeCtrlSorted (wxWindow *parent=NULL, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_HAS_BUTTONS, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxString(wxT("treeCtrl"))) |
|
wxArrayString | GetSortClasses () |
|
int | ClassOrder (Class &item) |
|
int | PositionOrder (Material *material) |
|
int | PositionOrder (BulkDetails *parent, Class *element) |
|
|
wxArrayString | ClassOrderIndex |
|
|
virtual int | OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2) |
|
◆ ClassOrder()
int TreeCtrlSorted::ClassOrder |
( |
Class & |
item | ) |
|
Implementation ClassOrder
Returns int value based on the hardcoding of the class order.
◆ OnCompareItems()
int TreeCtrlSorted::OnCompareItems |
( |
const wxTreeItemId & |
item1, |
|
|
const wxTreeItemId & |
item2 |
|
) |
| |
|
protectedvirtual |
Implementation OnCompareItems
Comparison test for ordering of the TreeCtrl
Sorts the Metadata to the end of the list Sorts the Material as per its Class->Name Sorts the Material as per its position
The documentation for this class was generated from the following files:
- C:/Users/paulm/source/repos/BT-MatML-Editor/include/GUI/BT_MatML_TreeCtrlSorted.h
- C:/Users/paulm/source/repos/BT-MatML-Editor/src/GUI/BT_MatML_TreeCtrlSorted.cpp