From b652a2952d90f79b4a84d45327e6abb8b9bef285 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 23 Feb 2005 14:18:22 +0000 Subject: [PATCH] fix from branch: position tray buttons correctly in highres case --- xwords4/palm/xwords4defines.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/xwords4/palm/xwords4defines.h b/xwords4/palm/xwords4defines.h index 5cf7b67bc..74c22845c 100644 --- a/xwords4/palm/xwords4defines.h +++ b/xwords4/palm/xwords4defines.h @@ -29,9 +29,14 @@ #define SBAR_START_VALUE SBAR_MIN #define TRAY_HEIGHT_LR 21 -#define TRAY_HEIGHT_HR 16 #define TRAY_BUTTON_HEIGHT_LR 10 -#define TRAY_BUTTON_HEIGHT_HR 8 +#ifdef FEATURE_HIGHRES +# define TRAY_HEIGHT_HR 16 +# define TRAY_BUTTON_HEIGHT_HR 8 +#else +# define TRAY_HEIGHT_HR TRAY_HEIGHT_LR +# define TRAY_BUTTON_HEIGHT_HR TRAY_BUTTON_HEIGHT_LR +#endif #define TRAY_BUTTON_WIDTH 9 #define FLIP_BUTTON_WIDTH 8