protected override void SaveWindowSettings() { base.SaveWindowSettings(); OSCEditorSettings.SetColor(_controlColorSettings, rootPanel.ControlColor); OSCEditorSettings.SetBool(_addInformerSettings, rootPanel.AddInformer); OSCEditorSettings.GetString(_informerAddressSettings, rootPanel.InformerAddress); OSCEditorSettings.GetBool(_informOnChangedSettings, rootPanel.InformOnChanged); OSCEditorSettings.GetFloat(_informerIntervalSettings, rootPanel.InformerInterval); OSCEditorSettings.SetTransmitter(_informerTransmitterSettings, rootPanel.InformerTransmitter); }
protected override void LoadWindowSettings() { base.LoadWindowSettings(); rootPanel.ControlColor = OSCEditorSettings.GetColor(_controlColorSettings, Color.white); rootPanel.AddInformer = OSCEditorSettings.GetBool(_addInformerSettings, true); rootPanel.InformerAddress = OSCEditorSettings.GetString(_informerAddressSettings, "/address"); rootPanel.InformOnChanged = OSCEditorSettings.GetBool(_informOnChangedSettings, true); rootPanel.InformerInterval = OSCEditorSettings.GetFloat(_informerIntervalSettings, 0f); rootPanel.InformerTransmitter = OSCEditorSettings.GetTransmitter(_informerTransmitterSettings, null); }
protected override void LoadWindowSettings() { base.LoadWindowSettings(); if (logPanel == null) { return; } logPanel.ShowReceived = OSCEditorSettings.GetBool(_showReceivedSettings, true); logPanel.ShowTransmitted = OSCEditorSettings.GetBool(_showTransmittedSettings, true); logPanel.TrackLast = OSCEditorSettings.GetBool(_trackLastSettings, false); }
protected override void LoadWindowSettings() { base.LoadWindowSettings(); if (_logPanel == null) { return; } _logPanel.ShowReceived = OSCEditorSettings.GetBool(_showReceivedSettings, true); _logPanel.ShowTransmitted = OSCEditorSettings.GetBool(_showTransmittedSettings, true); _logPanel.TrackLast = OSCEditorSettings.GetBool(_trackLastSettings, false); _logPanel.Filter = OSCEditorSettings.GetString(_filterSettings, string.Empty); }