コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public MyTreeViewBody(MyTreeView treeView, Vector2 position, Vector2 size)
 {
     TreeView   = treeView;
     m_position = position;
     m_size     = size;
 }
コード例 #4
0
 public void FilterTree(Predicate <MyTreeViewItem> itemFilter)
 {
     MyTreeView.FilterTree(this, itemFilter);
 }
コード例 #5
0
 public MyTreeViewBody(MyTreeView treeView, Vector2 position, Vector2 size)
 {
     TreeView = treeView;
     m_position = position;
     m_size = size;
 }