Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19275/src
Modified Files:
input.c
Log Message:
- close windows key now closes ping stats window, graphical ship stats window,
sound window, xtrekrc window, documentation window, and short packets window
- remapped close special windows key to W (was unused in the prior xp 2006 keymap)
- remapped lower volume key to Z (was unused in the prior xp 2006 keymap)
Index: input.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/input.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- input.c 20 Sep 2006 14:23:48 -0000 1.15
+++ input.c 29 Nov 2006 14:08:50 -0000 1.16
@@ -2112,6 +2112,21 @@
Key32 (void)
{
/* ' ' = clear special windows */
+#ifdef SOUND
+ W_UnmapWindow (soundWin);
+#endif
+
+#ifdef DOC_WIN
+ W_UnmapWindow (xtrekrcwin);
+ W_UnmapWindow (docwin);
+#endif
+
+#ifdef SHORT_PACKETS
+ W_UnmapWindow (spWin);
+#endif
+
+ W_UnmapWindow (pStats);
+ W_UnmapWindow (statwin);
W_UnmapWindow (planetw);
W_UnmapWindow (rankw);
if (infomapped)