mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-21 19:24:00 +00:00
更换壁纸功能
This commit is contained in:
@@ -38,6 +38,7 @@ namespace CMLeonOS.Settings
|
||||
{ "GUI_MouseSensitivity", "1.0" },
|
||||
{ "GUI_ScreenWidth", "1280" },
|
||||
{ "GUI_ScreenHeight", "800" },
|
||||
{ "GUI_WallpaperPath", "" },
|
||||
{ "GUI_DarkNotepad", "false" },
|
||||
{ "SkipToGui", "false" }
|
||||
};
|
||||
@@ -190,6 +191,23 @@ namespace CMLeonOS.Settings
|
||||
}
|
||||
}
|
||||
|
||||
public static string GUI_WallpaperPath
|
||||
{
|
||||
get
|
||||
{
|
||||
if (settings.TryGetValue("GUI_WallpaperPath", out string value))
|
||||
{
|
||||
return value;
|
||||
}
|
||||
return string.Empty;
|
||||
}
|
||||
set
|
||||
{
|
||||
settings["GUI_WallpaperPath"] = value ?? string.Empty;
|
||||
SaveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
public static bool GUI_DarkNotepad
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user