public MyGuiControlTreeView( Vector2 position, Vector2 size, Vector4 backgroundColor, bool canHandleKeyboardActiveControl) : base( position: position, size: size, colorMask: null, toolTip: null, canHaveFocus: canHandleKeyboardActiveControl) { Visible = true; Name = "TreeView"; m_treeBackgroundColor = backgroundColor; m_treeView = new MyTreeView(this, GetPositionAbsolute() - Size / 2, Size); }
public MyGuiControlTreeView( Vector2 position, Vector2 size, Vector4 backgroundColor, bool canHandleKeyboardActiveControl) : base(position: position, size: size, colorMask: null, toolTip: null, canHaveFocus: canHandleKeyboardActiveControl) { Visible = true; Name = "TreeView"; m_treeBackgroundColor = backgroundColor; m_treeView = new MyTreeView(this, GetPositionAbsolute() - Size / 2, Size); }
public MyTreeViewBody(MyTreeView treeView, Vector2 position, Vector2 size) { TreeView = treeView; m_position = position; m_size = size; }
public void FilterTree(Predicate <MyTreeViewItem> itemFilter) { MyTreeView.FilterTree(this, itemFilter); }