mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-21 19:24:00 +00:00
尝试修复alias+增加SkipToGui设置+启用UEFI
This commit is contained in:
@@ -87,6 +87,11 @@ namespace CMLeonOS.Gui.Apps
|
||||
SettingsManager.GUI_ShowFps = @checked;
|
||||
}
|
||||
|
||||
private void SkipToGuiChanged(bool @checked)
|
||||
{
|
||||
SettingsManager.SkipToGui = @checked;
|
||||
}
|
||||
|
||||
private void MouseSensitivityChanged(float value)
|
||||
{
|
||||
SettingsManager.GUI_MouseSensitivity = value;
|
||||
@@ -115,6 +120,12 @@ namespace CMLeonOS.Gui.Apps
|
||||
showFps.CheckBoxChanged = ShowFpsChanged;
|
||||
wm.AddWindow(showFps);
|
||||
|
||||
Switch skipToGui = new Switch(appearance, 12, 96, 244, 16);
|
||||
skipToGui.Text = "Skip to GUI on boot";
|
||||
skipToGui.Checked = SettingsManager.SkipToGui;
|
||||
skipToGui.CheckBoxChanged = SkipToGuiChanged;
|
||||
wm.AddWindow(skipToGui);
|
||||
|
||||
wm.Update(window);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user