public void SetUITheme(UITheme theme) { this.BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); m_SplitterColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackDark); m_AttributeLabel.ForeColor = theme.GetAppDrawingColor(UITheme.AppColor.AppText); m_ColorsLabel.ForeColor = theme.GetAppDrawingColor(UITheme.AppColor.AppText); }
public void SetUITheme(UITheme theme) { m_DayView.SetUITheme(theme); m_Toolbar.BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); m_TBRenderer.SetUITheme(theme); BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); }
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); }
public void SetUITheme(UITheme theme) { BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); // Connection colour var color = theme.GetAppDrawingColor(UITheme.AppColor.AppLinesDark); // Make sure it's dark enough m_MindMap.ConnectionColor = DrawingColor.SetLuminance(color, 0.6f); }
public override void DrawMinuteLine(Graphics g, Rectangle rect, bool hour) { if (g == null) { throw new ArgumentNullException("g"); } if (hour) { using (Pen pen = new Pen(m_theme.GetAppDrawingColor(UITheme.AppColor.AppLinesDark))) g.DrawLine(pen, rect.Left, rect.Y, rect.Width, rect.Y); } }
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_toolbarRenderer.SetUITheme(theme); BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackLight); ToolBar.BackColor = BackColor; }
public void SetUITheme(UITheme theme) { m_renderer.Theme = theme; m_DayView.Invalidate(true); this.BackColor = theme.GetAppDrawingColor(UITheme.AppColor.AppBackDark); }
protected override void OnPaintBackground(PaintEventArgs e) { switch (m_LicenseType) { case RhinoLicensing.LicenseType.Free: case RhinoLicensing.LicenseType.Supporter: case RhinoLicensing.LicenseType.Contributor: { var drawRect = Bounds; if (m_ThemedBorderColor != Color.Empty) { using (var brush = new SolidBrush(m_ThemedBorderColor)) e.Graphics.FillRectangle(brush, drawRect); drawRect.Inflate(-1, -1); } UITheme.DrawHorizontalBar(e.Graphics, drawRect, m_Theme.GetAppDrawingColor(UITheme.AppColor.StatusBarLight), m_Theme.GetAppDrawingColor(UITheme.AppColor.StatusBarDark), m_Theme.GetRenderStyle()); } break; default: case RhinoLicensing.LicenseType.Paid: case RhinoLicensing.LicenseType.Trial: base.OnPaintBackground(e); break; } }
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; }
public void SetUITheme(UITheme theme) { m_themeBkColor = theme.GetAppDrawingColor(UITheme.AppColor.StatusBarDark); RefreshColors(); }