# HG changeset patch # User unc0rr # Date 1215270813 0 # Node ID dfdd5dfe97d417f7b3bbd6160d07f02686243d4e # Parent 8e5f8bf9a242e2497fd2ad28218e343a3acd1a10 Enable fullscreen switching back, now it's bound on F12 diff -r 8e5f8bf9a242 -r dfdd5dfe97d4 QTfrontend/binds.cpp --- a/QTfrontend/binds.cpp Sat Jul 05 14:27:55 2008 +0000 +++ b/QTfrontend/binds.cpp Sat Jul 05 15:13:33 2008 +0000 @@ -51,7 +51,7 @@ {"confirm", "y", QT_TRANSLATE_NOOP("binds", "confirmation"), false}, {"+voldown", "9", QT_TRANSLATE_NOOP("binds", "volume down"), false}, {"+volup", "0", QT_TRANSLATE_NOOP("binds", "volume up"), false}, - {"fullscr", "f", QT_TRANSLATE_NOOP("binds", "change mode"), false}, + {"fullscr", "f12", QT_TRANSLATE_NOOP("binds", "change mode"), false}, {"capture", "c", QT_TRANSLATE_NOOP("binds", "capture"), false}, {"rotmask", "delete", QT_TRANSLATE_NOOP("binds", "hedgehogs\ninfo"), false}, {"quit", "escape", QT_TRANSLATE_NOOP("binds", "quit"), true} diff -r 8e5f8bf9a242 -r dfdd5dfe97d4 hedgewars/CCHandlers.inc --- a/hedgewars/CCHandlers.inc Sat Jul 05 14:27:55 2008 +0000 +++ b/hedgewars/CCHandlers.inc Sat Jul 05 15:13:33 2008 +0000 @@ -448,7 +448,7 @@ buf: array[byte] of char; {$ENDIF} begin -if Length(s) = 0 then exit //cFullScreen:= not cFullScreen +if Length(s) = 0 then cFullScreen:= not cFullScreen else cFullScreen:= s = '1'; {$IFDEF DEBUGFILE} diff -r 8e5f8bf9a242 -r dfdd5dfe97d4 hedgewars/uKeys.pas --- a/hedgewars/uKeys.pas Sat Jul 05 14:27:55 2008 +0000 +++ b/hedgewars/uKeys.pas Sat Jul 05 15:13:33 2008 +0000 @@ -117,13 +117,15 @@ DefaultBinds[ 57]:= '+voldown'; DefaultBinds[ 96]:= 'history'; DefaultBinds[ 99]:= 'capture'; -DefaultBinds[102]:= 'fullscr'; DefaultBinds[104]:= 'findhh'; DefaultBinds[112]:= 'pause'; DefaultBinds[115]:= '+speedup'; DefaultBinds[116]:= 'chat'; DefaultBinds[121]:= 'confirm'; DefaultBinds[127]:= 'rotmask'; + +DefaultBinds[KeyNameToCode('f12')]:= 'fullscr'; + SetDefaultBinds end;