AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
SubTitleTheme.cs
1 /************************************************/
2 /* */
3 /* Copyright (c) 2018 - 2021 monitor1394 */
4 /* https://github.com/monitor1394 */
5 /* */
6 /************************************************/
7 
8 using System;
9 
10 namespace XCharts
11 {
12  [Serializable]
14  {
15  public SubTitleTheme(Theme theme) : base(theme)
16  {
17  m_FontSize = XChartsSettings.fontSizeLv2;
18  switch (theme)
19  {
20  case Theme.Default:
21  m_TextColor = ColorUtil.GetColor("#969696");
22  break;
23  case Theme.Light:
24  m_TextColor = ColorUtil.GetColor("#969696");
25  break;
26  case Theme.Dark:
27  m_TextColor = ColorUtil.GetColor("#B9B8CE");
28  break;
29  }
30  }
31  }
32 }
XCharts.Theme
Theme
主题
Definition: ChartTheme.cs:21
XCharts.SubTitleTheme
Definition: SubTitleTheme.cs:13
XCharts
Definition: RewardChart.cs:14
XCharts.ComponentTheme
Definition: ComponentTheme.cs:17
XCharts.XChartsSettings
Definition: XChartsSettings.cs:25