(trunk) Added shortcuts to more layers tools. Remove gfx2.cfg from versioning, so anybody can use his own (get http://grafx2.googlecode.com/svn-history/r1036/trunk/gfx2.cfg to recover latest version in your workspace)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1070 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-10-12 23:32:40 +00:00
parent 953185205d
commit 9e866aec5c
4 changed files with 88 additions and 20 deletions

View File

@@ -1427,7 +1427,54 @@ T_Key_config ConfigKey[NB_SHORTCUTS] = {
true,
0,
0},
{175,
"Add a layer",
"Adds a new layer on top of the",
"active one. The new layer is filled",
"with transparent color.",
true,
SDLK_INSERT|MOD_ALT, // Alt + Insert
0},
{176,
"Delete a layer",
"Delete the current layer.",
"You can't delete the last",
"layer.",
true,
SDLK_DELETE|MOD_ALT, // Alt + Delete
0},
{177,
"Merge a layer",
"Merges the current layer with",
"the one directly below it.",
"",
true,
SDLK_END|MOD_ALT, // Alt + End
0},
{178,
"Swap layer (up)",
"Moves the current layer one position",
"up the stack. No effect if already",
"on top.",
true,
SDLK_PAGEUP|MOD_ALT, // Alt + PageUp
0},
{179,
"Swap layer (down)",
"Moves the current layer one position",
"down the stack. No effect if already",
"on bottom.",
true,
SDLK_PAGEDOWN|MOD_ALT, // Alt + PageDown
0},
{180,
"Layers menu",
"Opens the window with layer options.",
"",
"",
true,
SDLK_HOME|MOD_ALT, // Alt + Home
0},
};
word Ordering[NB_SHORTCUTS]=
@@ -1606,5 +1653,11 @@ word Ordering[NB_SHORTCUTS]=
SPECIAL_LAYER7_SELECT,
SPECIAL_LAYER7_TOGGLE,
SPECIAL_LAYER8_SELECT,
SPECIAL_LAYER8_TOGGLE,
SPECIAL_LAYER8_TOGGLE,
SPECIAL_LAYER_ADD,
SPECIAL_LAYER_DELETE,
SPECIAL_LAYER_MERGE,
SPECIAL_LAYER_SWAP_UP,
SPECIAL_LAYER_SWAP_DOWN,
SPECIAL_LAYER_MENU,
};