public void SetUITheme(UITheme theme) { var color = theme.GetAppDrawingColor(UITheme.AppColor.AppLinesDark); // Make sure it's dark enough color = DrawingColor.SetLuminance(color, 0.6f); m_MindMap.ConnectionColor = color; RhinoLicensing.SetUITheme(this, theme); }
public void SetUITheme(UITheme theme) { m_DayView.SetUITheme(theme); m_Toolbar.BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); m_TBRenderer.SetUITheme(theme); m_SelectedTaskDatesLabel.ForeColor = theme.GetAppDrawingColor(UITheme.AppColor.AppText); m_WeekLabel.ForeColor = theme.GetAppDrawingColor(UITheme.AppColor.AppText); BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); RhinoLicensing.SetUITheme(this, theme); }
public void SetUITheme(UITheme theme) { this.BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); m_SplitterColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackDark); Color labelColor = theme.GetAppDrawingColor(UITheme.AppColor.AppText); m_AttributeLabel.ForeColor = labelColor; m_ColorsLabel.ForeColor = labelColor; m_StylesLabel.ForeColor = labelColor; RhinoLicensing.SetUITheme(this, theme); }
public void SetUITheme(UITheme theme) { m_HtmlEditControl.SetUITheme(theme); RhinoLicensing.SetUITheme(this, theme); }