public MyGuiControlTreeView(
            IMyGuiControlsParent parent,
            Vector2 position,
            Vector2 size,
            Vector4 backgroundColor,
            bool canHandleKeyboardActiveControl)
            : base(parent, position, size, null, null)
        {
            Visible = true;

            m_treeBackgroundColor = backgroundColor;
            m_canHandleKeyboardActiveControl = canHandleKeyboardActiveControl;

            m_treeView = new MyTreeView(this, m_parent.GetPositionAbsolute() + m_position - m_size.Value / 2, m_size.Value);
        }
 public MyTreeViewBody(MyTreeView treeView, Vector2 position, Vector2 size)
 {
     TreeView = treeView;
     m_position = position;
     m_size = size;
 }
Exemple #3
0
 public MyTreeViewBody(MyTreeView treeView, Vector2 position, Vector2 size)
 {
     TreeView   = treeView;
     m_position = position;
     m_size     = size;
 }