XCharts 2.0

This commit is contained in:
monitor1394
2021-01-11 08:54:28 +08:00
parent ed8d0687f7
commit 489095865d
304 changed files with 14799 additions and 12503 deletions

View File

@@ -0,0 +1,32 @@
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using System;
namespace XCharts
{
[Serializable]
public class SubTitleTheme : ComponentTheme
{
public SubTitleTheme(Theme theme) : base(theme)
{
m_FontSize = XChartsSettings.fontSizeLv2;
switch (theme)
{
case Theme.Default:
m_TextColor = ColorUtil.GetColor("#969696");
break;
case Theme.Light:
m_TextColor = ColorUtil.GetColor("#969696");
break;
case Theme.Dark:
m_TextColor = ColorUtil.GetColor("#B9B8CE");
break;
}
}
}
}