Files
VisionEdit/UsingControl/HZHControls/Helpers/ITheme.cs
eggplantlwj 62477b8091 1、修复因加入输入位姿引发的BUG
2、PMA工具完善
3、其他BUG修复
2022-03-21 14:48:26 +08:00

54 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace HZH_Controls
{
public interface ITheme
{
/// <summary>
/// 重置主题
/// </summary>
/// <param name="theme"></param>
void ResetTheme(ThemeEntity theme);
/// <summary>
/// 是否禁用一键换肤,默认禁用
/// </summary>
bool EnabledTheme { get; set; }
}
public class ThemeEntity
{
/// <summary>
/// 边框颜色
/// </summary>
public Color? BorderColor { get; set; }
/// <summary>
/// 填充颜色
/// </summary>
public Color? FillColor { get; set; }
/// <summary>
/// 背景色
/// </summary>
public Color? BackColor { get; set; }
/// <summary>
/// 前景色
/// </summary>
public Color? ForeColor { get; set; }
/// <summary>
/// 字体颜色
/// </summary>
public Color? FontColor { get; set; }
/// <summary>
/// 选中颜色
/// </summary>
public Color? SelectedColor { get; set; }
/// <summary>
/// 选中字体颜色
/// </summary>
public Color? SelectedFontColor { get; set; }
}
}