mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Allow changing logo
This commit is contained in:
parent
2d8e98a7f8
commit
09d6ee5126
1 changed files with 17 additions and 1 deletions
|
@ -103,7 +103,23 @@ public static Icon Icon
|
|||
}
|
||||
}
|
||||
|
||||
public static Bitmap Logo => Resources.ShareX_Logo;
|
||||
private static Bitmap logo = Resources.ShareX_Logo;
|
||||
|
||||
public static Bitmap Logo
|
||||
{
|
||||
get
|
||||
{
|
||||
return logo.CloneSafe();
|
||||
}
|
||||
set
|
||||
{
|
||||
if (logo != value)
|
||||
{
|
||||
logo?.Dispose();
|
||||
logo = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static ShareXTheme Theme { get; set; } = ShareXTheme.DarkTheme;
|
||||
|
||||
|
|
Loading…
Reference in a new issue