mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-05 07:46:15 +02:00
Update project to .NET 8 and code improvements
This commit is contained in:
@@ -1,40 +1,39 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace DesktopMagicPluginAPI
|
||||
namespace DesktopMagicPluginAPI;
|
||||
|
||||
/// <summary>
|
||||
/// The theme settings of the main application.
|
||||
/// </summary>
|
||||
public interface ITheme
|
||||
{
|
||||
/// <summary>
|
||||
/// The theme settings of the main application.
|
||||
/// Gets the primary color of the current theme.
|
||||
/// </summary>
|
||||
public interface ITheme
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the primary color of the current theme.
|
||||
/// </summary>
|
||||
Color PrimaryColor { get; }
|
||||
Color PrimaryColor { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the secondary color of the current theme.
|
||||
/// </summary>
|
||||
Color SecondaryColor { get; }
|
||||
/// <summary>
|
||||
/// Gets the secondary color of the current theme.
|
||||
/// </summary>
|
||||
Color SecondaryColor { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the background color of the current theme.
|
||||
/// </summary>
|
||||
Color BackgroundColor { get; }
|
||||
/// <summary>
|
||||
/// Gets the background color of the current theme.
|
||||
/// </summary>
|
||||
Color BackgroundColor { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the font of the current theme.
|
||||
/// </summary>
|
||||
string Font { get; }
|
||||
/// <summary>
|
||||
/// Gets the font of the current theme.
|
||||
/// </summary>
|
||||
string Font { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the corner radius of the current theme.
|
||||
/// </summary>
|
||||
int CornerRadius { get; }
|
||||
/// <summary>
|
||||
/// Gets the corner radius of the current theme.
|
||||
/// </summary>
|
||||
int CornerRadius { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the corner radius of the current theme.
|
||||
/// </summary>
|
||||
int Margin { get; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the corner radius of the current theme.
|
||||
/// </summary>
|
||||
int Margin { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user