mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
Added hotkey for GodDoodle
This commit is contained in:
parent
cc7f383d8d
commit
e264e506da
1 changed files with 13 additions and 1 deletions
|
@ -447,9 +447,21 @@ public U0 DocPutKey(CDoc *doc, I64 ch=0, I64 sc=0)
|
||||||
|
|
||||||
case SC_F6:
|
case SC_F6:
|
||||||
if (sc & SCF_KEY_DESC)
|
if (sc & SCF_KEY_DESC)
|
||||||
KeyDescSet("Cmd /God Song");
|
{
|
||||||
|
if (sc & SCF_SHIFT)
|
||||||
|
KeyDescSet("Cmd /God Doodle");
|
||||||
|
else
|
||||||
|
KeyDescSet("Cmd /God Song");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if(sc & SCF_SHIFT) {
|
||||||
|
DocUnlock(doc);
|
||||||
|
GodDoodle;
|
||||||
|
DocLock(doc);
|
||||||
|
} else
|
||||||
GodSong;
|
GodSong;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SC_F7:
|
case SC_F7:
|
||||||
|
|
Loading…
Reference in a new issue