[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth src/hotkeys.cpp data/themes/editor.cfg
From: |
Bram Ridder |
Subject: |
[Wesnoth-cvs-commits] wesnoth src/hotkeys.cpp data/themes/editor.cfg |
Date: |
Fri, 15 Jul 2005 06:24:02 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Bram Ridder <address@hidden> 05/07/15 10:24:02
Modified files:
src : hotkeys.cpp
data/themes : editor.cfg
Log message:
Editor hotkeys now work under Mac OS X
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/hotkeys.cpp.diff?tr1=1.79&tr2=1.80&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/themes/editor.cfg.diff?tr1=1.33&tr2=1.34&r1=text&r2=text
Patches:
Index: wesnoth/data/themes/editor.cfg
diff -u wesnoth/data/themes/editor.cfg:1.33 wesnoth/data/themes/editor.cfg:1.34
--- wesnoth/data/themes/editor.cfg:1.33 Thu Jul 14 22:06:07 2005
+++ wesnoth/data/themes/editor.cfg Fri Jul 15 10:24:02 2005
@@ -11,205 +11,409 @@
name=editor
#textdomain wesnoth-editor
-[hotkey]
-command="zoomin"
-key="z"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="undo"
-key="u"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="redo"
-key="r"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="zoomout"
-key="x"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="zoomdefault"
-key="d"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="togglegrid"
-key="g"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editsavemap"
-key="s"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editsaveas"
-key="s"
-ctrl=yes
-alt=yes
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editquit"
-key="q"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editsetstartpos"
-key="t"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editnewmap"
-key="n"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editloadmap"
-key="l"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editfloodfill"
-key="f"
-ctrl=no
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editfillselection"
-key="f"
-ctrl=no
-alt=yes
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editcut"
-key="x"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editcopy"
-key="c"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editpaste"
-key="v"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editrevert"
-key="r"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="preferences"
-key="p"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editresize"
-key="r"
-ctrl=yes
-alt=yes
-shift=no
-[/hotkey]
-
-[hotkey]
-command="fullscreen"
-key="f"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editselectall"
-key="a"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editflip"
-key="f"
-ctrl=yes
-alt=yes
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editdraw"
-key="d"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
-
-[hotkey]
-command="editrefresh"
-key="e"
-ctrl=yes
-alt=no
-shift=no
-[/hotkey]
+#ifdef APPLE
+ [hotkey]
+ command="zoomin"
+ key="z"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="undo"
+ key="u"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="redo"
+ key="r"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="zoomout"
+ key="x"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="zoomdefault"
+ key="d"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="togglegrid"
+ key="g"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editsavemap"
+ key="s"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editsaveas"
+ key="s"
+ cmd=yes
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editquit"
+ key="q"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editsetstartpos"
+ key="t"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editnewmap"
+ key="n"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editloadmap"
+ key="l"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editfloodfill"
+ key="f"
+ cmd=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editfillselection"
+ key="f"
+ cmd=no
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editcut"
+ key="x"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editcopy"
+ key="c"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editpaste"
+ key="v"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editrevert"
+ key="r"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="preferences"
+ key="p"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editresize"
+ key="r"
+ cmd=yes
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="fullscreen"
+ key="f"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editselectall"
+ key="a"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editflip"
+ key="f"
+ cmd=yes
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editdraw"
+ key="d"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editrefresh"
+ key="e"
+ cmd=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+#else
+ [hotkey]
+ command="zoomin"
+ key="z"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="undo"
+ key="u"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="redo"
+ key="r"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="zoomout"
+ key="x"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="zoomdefault"
+ key="d"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="togglegrid"
+ key="g"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editsavemap"
+ key="s"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editsaveas"
+ key="s"
+ ctrl=yes
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editquit"
+ key="q"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editsetstartpos"
+ key="t"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editnewmap"
+ key="n"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editloadmap"
+ key="l"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editfloodfill"
+ key="f"
+ ctrl=no
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editfillselection"
+ key="f"
+ ctrl=no
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editcut"
+ key="x"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editcopy"
+ key="c"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editpaste"
+ key="v"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editrevert"
+ key="r"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="preferences"
+ key="p"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editresize"
+ key="r"
+ ctrl=yes
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="fullscreen"
+ key="f"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editselectall"
+ key="a"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editflip"
+ key="f"
+ ctrl=yes
+ alt=yes
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editdraw"
+ key="d"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+
+ [hotkey]
+ command="editrefresh"
+ key="e"
+ ctrl=yes
+ alt=no
+ shift=no
+ [/hotkey]
+#endif
+
[resolution]
width=800
@@ -313,7 +517,7 @@
[/position]
[edit_left_button_function]
- font_size=12
+ font_size=10
rect=900,330,1024,345
xanchor=right
yanchor=fixed
Index: wesnoth/src/hotkeys.cpp
diff -u wesnoth/src/hotkeys.cpp:1.79 wesnoth/src/hotkeys.cpp:1.80
--- wesnoth/src/hotkeys.cpp:1.79 Sat Jul 2 21:37:19 2005
+++ wesnoth/src/hotkeys.cpp Fri Jul 15 10:24:02 2005
@@ -1,4 +1,4 @@
-/* $Id: hotkeys.cpp,v 1.79 2005/07/02 21:37:19 ott Exp $ */
+/* $Id: hotkeys.cpp,v 1.80 2005/07/15 10:24:02 morloth Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -84,7 +84,7 @@
{ hotkey::HOTKEY_EDIT_LOAD_MAP, "editloadmap", N_("Load Map"),true },
{ hotkey::HOTKEY_EDIT_SAVE_MAP, "editsavemap", N_("Save Map"),true },
{ hotkey::HOTKEY_EDIT_SAVE_AS, "editsaveas", N_("Save As"),true },
- { hotkey::HOTKEY_EDIT_SET_START_POS, "editsetstartpos", N_("Set Player
Start Position"),true },
+ { hotkey::HOTKEY_EDIT_SET_START_POS, "editsetstartpos", N_("Set
Player's keep"),true },
{ hotkey::HOTKEY_EDIT_FLOOD_FILL, "editfloodfill", N_("Flood
Fill"),true },
{ hotkey::HOTKEY_EDIT_FILL_SELECTION, "editfillselection", N_("Fill
Selection"),true },
{ hotkey::HOTKEY_EDIT_CUT, "editcut", N_("Cut"),true },
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth src/hotkeys.cpp data/themes/editor.cfg,
Bram Ridder <=