internal TreeViewSetup(TreeViewConfig treeView) { EntityVisibility = treeView.EntityVisibilty; RootVisibility = treeView.RootVisibility; Name = treeView.Name; DefaultOpenEntities = treeView.DefaultOpenEntities; DefaultOpenCollections = treeView.DefaultOpenCollections; }
public static TreeView ToTreeView(this TreeViewConfig treeView) { return(new TreeView { EntityVisibility = treeView.EntityVisibilty, RootVisibility = treeView.RootVisibility, Name = treeView.Name }); }
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; }