mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-28 11:16:34 +08:00
1、优化LOG显示与引用
2、添加PMA工具,工具内容待完善 3、修复流程树显示 4、添加开源项目,优化UI空间 5、其他BUG更改
This commit is contained in:
53
UsingControl/HZHControls/Helpers/ITheme.cs
Normal file
53
UsingControl/HZHControls/Helpers/ITheme.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user