예제 #1
0
 public TreeStyle(TreeStyle style)
 {
     Plus           = style.Plus;
     PlusSelection  = style.PlusSelection;
     Minus          = style.Minus;
     MinusSelection = style.MinusSelection;
     Selection      = style.Selection;
 }
예제 #2
0
파일: Tree.cs 프로젝트: jaquadro/MonoGdx
        public Tree(TreeStyle style)
        {
            YSpacing = 4;
            IconSpacing = 2;
            MultiSelect = true;
            ToggleSelect = true;
            Style = style;

            _selectionChanger = new SelectionChanger<TreeNode>() {
                CanSelectMultiple = true,
                SelectionChangeHandler = SelectionChangeHandler,
            };
        }
예제 #3
0
        public Tree(TreeStyle style)
        {
            YSpacing     = 4;
            IconSpacing  = 2;
            MultiSelect  = true;
            ToggleSelect = true;
            Style        = style;

            _selectionChanger = new SelectionChanger <TreeNode>()
            {
                CanSelectMultiple      = true,
                SelectionChangeHandler = SelectionChangeHandler,
            };
        }
예제 #4
0
파일: Tree.cs 프로젝트: jaquadro/MonoGdx
 public TreeStyle(TreeStyle style)
 {
     Plus = style.Plus;
     PlusSelection = style.PlusSelection;
     Minus = style.Minus;
     MinusSelection = style.MinusSelection;
     Selection = style.Selection;
 }