1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-26 17:10:38 +00:00

Extra visual clue to when ctrlk mode is engaged (using DarkenFGBG).

This commit is contained in:
FellippeHeitor 2021-01-01 21:39:50 -03:00
parent 11293bb324
commit a9d7daef23

View file

@ -4886,6 +4886,7 @@ FUNCTION ide2 (ignore)
IF menu$(m, s) = "Insert #Quick Keycode... Ctrl+K" THEN
PCOPY 3, 0: SCREEN , , 3, 0
ideQuickKeycode:
dummy = DarkenFGBG(1)
COLOR 7, 1: LOCATE idewy - 3, 2: PRINT SPACE$(idewx - 2);: LOCATE idewy - 2, 2: PRINT SPACE$(idewx - 2);: LOCATE idewy - 1, 2: PRINT SPACE$(idewx - 2); 'clear status window
LOCATE idewy - 3, 2
PRINT "Press any key to insert its _KEYHIT/_KEYDOWN code..."
@ -4914,6 +4915,7 @@ FUNCTION ide2 (ignore)
idesetline idecy, text$
idecx = idecx + len(tempk$)
idechangemade = 1
dummy = DarkenFGBG(0)
PCOPY 3, 0: SCREEN , , 3, 0: idewait4mous: idewait4alt
retval = 1
KCTRL = 0: KCONTROL = 0