struct GUITreeView::TreeElement

Contains data about a single piece of content and all its children.

This element may be visible and represented by a GUI element, but might not (for example its parent is collapsed).

Public

Constructors

TreeElement

TreeElement()

Methods

~TreeElement

virtual ~TreeElement() noexcept

IsParentRec

bool IsParentRec(TreeElement *element) const

Fields

MParent

TreeElement * MParent

MChildren

Vector<TreeElement *> MChildren

MFoldoutBtn

GUIToggle * MFoldoutBtn

MElement

GUILabel * MElement

MName

String MName

MSortedIdx

u32 MSortedIdx

MIsExpanded

bool MIsExpanded

MIsSelected

bool MIsSelected

MIsHighlighted

bool MIsHighlighted

MIsVisible

bool MIsVisible

MIsCut

bool MIsCut

MIsDisabled

bool MIsDisabled

MTint

Color MTint