*
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include "GUITreeNode.h"
|
||||
#include "GUITreeView.h"
|
||||
|
||||
namespace LifeGUI
|
||||
{
|
||||
void GUITreeNode::SetOwner(GUITreeView* _owner)
|
||||
{
|
||||
owner = _owner;
|
||||
}
|
||||
void GUITreeNode::OnArrowClick(GUIWindow* sender, int args)
|
||||
{
|
||||
if(IsCollapsed())
|
||||
{
|
||||
Expand();
|
||||
}
|
||||
else
|
||||
Collapse();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user