Add up button und split scrolling in content browser

- Add Parent to TreeNode
- Start of Rename handling
This commit is contained in:
Simon Lübeß
2023-03-18 19:59:56 +01:00
parent 50714976e9
commit 793aa40975
5 changed files with 142 additions and 43 deletions
@@ -11,6 +11,7 @@ namespace GlitchyEngine.Collections
{
public T Value;
public Self Parent;
public List<Self> Children = new .() ~ DeleteContainerAndItems!(_);
public this() {}
@@ -29,6 +30,7 @@ namespace GlitchyEngine.Collections
}
Self newChild = new .(value);
newChild.Parent = this;
Children.Add(newChild);