mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-24 22:50:28 +00:00
Hotkeys Fix
This commit is contained in:
parent
28bd343db7
commit
8eb3a23dc9
2 changed files with 21 additions and 0 deletions
|
@ -110,6 +110,26 @@ Bool MyPutKey(I64 ch, I64 sc)
|
|||
}
|
||||
return TRUE;
|
||||
|
||||
case SC_F10:
|
||||
if (!(sc & SCF_SHIFT))
|
||||
{
|
||||
if (sc & SCF_KEY_DESC)
|
||||
KeyDescSet("Cmd /Previous Wallpaper");
|
||||
else
|
||||
WallPaperSet(-1);
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
case SC_F11:
|
||||
if (!(sc & SCF_SHIFT))
|
||||
{
|
||||
if (sc & SCF_KEY_DESC)
|
||||
KeyDescSet("Cmd /Next Wallpaper");
|
||||
else
|
||||
WallPaperSet(1);
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
case SC_DELETE:
|
||||
if (sc & SCF_SHIFT)
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@ Cd(__DIR__);;
|
|||
#include "~/HomeWrappers"
|
||||
MapFileLoad("::/Kernel/Kernel");
|
||||
MapFileLoad("::/Compiler/Compiler");
|
||||
#include "::/Demo/Graphics/WallPaperDolDoc"
|
||||
#include "~/HomeKeyPlugIns"
|
||||
#include "~/HomeSys"
|
||||
Cd("..");;
|
||||
|
|
Loading…
Reference in a new issue