From 9e866aec5c7c40b37abab3ce20fd26a8915afe86 Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Mon, 12 Oct 2009 23:32:40 +0000 Subject: [PATCH] (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 --- const.h | 10 ++++++++-- gfx2.cfg | Bin 10308 -> 0 bytes helpfile.h | 41 +++++++++++++++++++++++--------------- hotkeys.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 88 insertions(+), 20 deletions(-) delete mode 100644 gfx2.cfg diff --git a/const.h b/const.h index 0966e758..9d8afc2d 100644 --- a/const.h +++ b/const.h @@ -33,7 +33,7 @@ #define BETA1 98 ///< Version number for gfx2.cfg (3/4) #define BETA2 0 ///< Version number for gfx2.cfg (4/4) #define MAX_VIDEO_MODES 100 ///< Maximum number of video modes Grafx2 can propose. -#define NB_SHORTCUTS 175 ///< Number of actions that can have a key combination associated to it. +#define NB_SHORTCUTS 181 ///< Number of actions that can have a key combination associated to it. #define NB_ZOOM_FACTORS 12 ///< Number of zoom levels available in the magnifier. #define MENU_WIDTH 254 ///< Width of the menu (not counting the palette) #define MENU_HEIGHT 44 ///< Height of the menu. @@ -423,7 +423,13 @@ enum SPECIAL_ACTIONS 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, NB_SPECIAL_SHORTCUTS ///< Number of special shortcuts }; diff --git a/gfx2.cfg b/gfx2.cfg dele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