コード例 #1
0
 internal TreeViewSetup(TreeViewConfig treeView)
 {
     EntityVisibility       = treeView.EntityVisibilty;
     RootVisibility         = treeView.RootVisibility;
     Name                   = treeView.Name;
     DefaultOpenEntities    = treeView.DefaultOpenEntities;
     DefaultOpenCollections = treeView.DefaultOpenCollections;
 }
コード例 #2
0
 public static TreeView ToTreeView(this TreeViewConfig treeView)
 {
     return(new TreeView
     {
         EntityVisibility = treeView.EntityVisibilty,
         RootVisibility = treeView.RootVisibility,
         Name = treeView.Name
     });
 }
コード例 #3
0
        public GearsetSettings()
        {
            Enabled      = true;
            ShowOverlays = true;
#if WINDOWS
            InspectorConfig = new InspectorConfig();
            LoggerConfig    = new LoggerConfig();
#endif
            ProfilerConfig    = new ProfilerConfig();
            DataSamplerConfig = new DataSamplerConfig();
            PlotterConfig     = new PlotterConfig();
            TreeViewConfig    = new TreeViewConfig();
            LabelerConfig     = new LabelerConfig();
            LineDrawerConfig  = new LineDrawerConfig();
            AlerterConfig     = new AlerterConfig();
#if WINDOWS
            FinderConfig = new FinderConfig();
#endif

            // IMPORTANT:
            // NEW CONFIG INSTANCES SHOULD BE ADDED IN THE LOAD METHOD BELOW.
            DepthBufferEnabled = true;
            _saveFrequency     = 5;
        }