From 0f74b8115112503c7493bc3378ffaac3050c8de9 Mon Sep 17 00:00:00 2001 From: Franck Charlet Date: Thu, 16 Oct 2008 23:07:26 +0000 Subject: [PATCH] Removed the shift + click right mouse button emulation as it looks like is already handled with the apple key. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@272 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- .DS_Store | Bin 15364 -> 15364 bytes Grafx2.xcodeproj/xx.pbxuser | 112 ++++++++------------------------ Grafx2.xcodeproj/xx.perspective | 69 ++++---------------- const.h | 2 +- divers.c | 13 ---- 5 files changed, 40 insertions(+), 156 deletions(-) diff --git a/.DS_Store b/.DS_Store index 1e60023b1a1a4500026015a879623ae703641535..a784fbe59ec4ec3b3003de177c75308ff99f140e 100644 GIT binary patch delta 296 zcmZpvXsJ+OU|?W$DortDV9)?EIe-{M3-ADmHUvpK z%22_e$B^uqGqF&4vVjT*z8vOg7 OpenEditors - - Content - - PBXProjectModuleGUID - F5B8B78E0EA7EE9F00214777 - PBXProjectModuleLabel - SDL_keysym.h - PBXSplitModuleInNavigatorKey - - Split0 - - PBXProjectModuleGUID - F5B8B78F0EA7EE9F00214777 - PBXProjectModuleLabel - SDL_keysym.h - _historyCapacity - 0 - bookmark - F5B8B7920EA7EE9F00214777 - history - - F5B8B7900EA7EE9F00214777 - - - SplitCount - 1 - - StatusBarVisibility - - - Geometry - - Frame - {{0, 20}, {906, 568}} - PBXModuleWindowStatusBarHidden2 - - RubberWindowFrame - 38 28 906 609 0 0 1024 746 - - Content @@ -241,10 +201,6 @@ F5B8B7950EA7EE9F00214777 PBXProjectModuleLabel SDL_keyboard.h - _historyCapacity - 0 - bookmark - F5B8B7980EA7EE9F00214777 history F5B8B7960EA7EE9F00214777 @@ -405,7 +361,7 @@ _historyCapacity 0 bookmark - F5B8B7890EA7EE9F00214777 + F5B8B7A30EA7F2AA00214777 history F5B19C160EA4D6E8003F4BA4 @@ -414,7 +370,7 @@ F5DCE26C0EA50EDC0065B0EF F5B1D1770EA5FE2100AB8D0F F5B1D1B50EA602BA00AB8D0F - F5B8B7700EA7E20300214777 + F5B8B7890EA7EE9F00214777 prevStack @@ -520,11 +476,11 @@ TableOfContents - F5B8B7780EA7E2E200214777 + F5B8B7A40EA7F2AA00214777 1CA23ED40692098700951B8B - F5B8B7790EA7E2E200214777 + F5B8B7A50EA7F2AA00214777 F5B19BA70EA4BF24003F4BA4 - F5B8B77A0EA7E2E200214777 + F5B8B7A60EA7F2AA00214777 1CA23EDF0692099D00951B8B 1CA23EE00692099D00951B8B 1CA23EE10692099D00951B8B @@ -593,7 +549,7 @@ PBXSmartGroupTreeModuleOutlineStateVisibleRectKey - {{0, 0}, {970, 262}} + {{0, 0}, {0, 0}} PBXTopSmartGroupGIDs @@ -671,7 +627,7 @@ Proportion - 108pt + 0pt Tabs @@ -689,7 +645,7 @@ GeometryConfiguration Frame - {{10, 27}, {0, 81}} + {{10, 27}, {0, -27}} Module PBXBuildResultsModule @@ -769,14 +725,14 @@ TableOfContents - F5B8B78A0EA7EE9F00214777 + F5B8B7A70EA7F2AA00214777 1CA23EE50692099D00951B8B - F5B8B78B0EA7EE9F00214777 + F5B8B7A80EA7F2AA00214777 F5B19BA70EA4BF24003F4BA4 - F5B8B78C0EA7EE9F00214777 + F5B8B7A90EA7F2AA00214777 XCMainBuildResultsModuleGUID 1CA23EE80692099D00951B8B - F5B8B78D0EA7EE9F00214777 + F5B8B7AA0EA7F2AA00214777 ToolbarConfiguration xcode.toolbar.config.buildAndRun @@ -945,7 +901,6 @@ 5 WindowOrderList - F5B8B78E0EA7EE9F00214777 /Users/xx/Grafx2/Grafx2.xcodeproj WindowString diff --git a/const.h b/const.h index 440dc729..bf1af00c 100644 --- a/const.h +++ b/const.h @@ -29,7 +29,7 @@ #define M_2PI 6.28318530717958647692528676656 // Note: La taille du fichier GFX2.DAT est définie au début de INIT.C ! -#define POURCENTAGE_VERSION "97.4%" // Libellé du pourcentage de la version ß +#define POURCENTAGE_VERSION "97.5%" // Libellé du pourcentage de la version ß #define VERSION1 2 // | #define VERSION2 0 // |_ Numéro de version découpé en #define BETA1 97 // | plusieurs parties => 2.0 ß95.5% diff --git a/divers.c b/divers.c index c59dda26..cdb4344d 100644 --- a/divers.c +++ b/divers.c @@ -161,20 +161,7 @@ void Get_input(void) //Clic sur un des boutons de la souris switch(event.button.button) { -#ifdef __macosx__ - // fc: poor poor mac users with a single button mouse... - // emulated with the shifts keys - case SDL_BUTTON_LEFT: - INPUT_Nouveau_Mouse_K = 1; - if(SDL_GetModState() & KMOD_LSHIFT || - SDL_GetModState() & KMOD_RSHIFT) - { - INPUT_Nouveau_Mouse_K = 2; - } - break; -#else case SDL_BUTTON_LEFT: INPUT_Nouveau_Mouse_K = 1; break; -#endif case SDL_BUTTON_MIDDLE: // Pour SDL, 2 = clic milieu. Pour nous c'est le clic droit case SDL_BUTTON_RIGHT: // Clic droit SDL, clic droit pour nous aussi ( pour le moment en tout cas) INPUT_Nouveau_Mouse_K = 2;