From b9f5925ceb4e359e9bec1e7711966b31690ae1f9 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 28 May 2006 00:41:44 +0000 Subject: [PATCH] Move button size #defines into .rc file. They're scaled by the time C code sees them and so shouldn't be relied on outside the .rc file. --- xwords4/wince/resource.h | 4 ---- xwords4/wince/xwords4.rc | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xwords4/wince/resource.h b/xwords4/wince/resource.h index fb60fed5e..d006de23d 100755 --- a/xwords4/wince/resource.h +++ b/xwords4/wince/resource.h @@ -197,7 +197,3 @@ #endif #endif -#define REPOS_BUTTON_HT 14 -#define REPOS_BUTTON_WIDTH 28 -#define REPOS_BUTTON_VPAD 2 -#define REPOS_BUTTON_HPAD 2 diff --git a/xwords4/wince/xwords4.rc b/xwords4/wince/xwords4.rc index 32b69e703..b5b038ecf 100755 --- a/xwords4/wince/xwords4.rc +++ b/xwords4/wince/xwords4.rc @@ -135,6 +135,11 @@ END // // Dialog // +#define REPOS_BUTTON_HT 14 +#define REPOS_BUTTON_WIDTH 28 +#define REPOS_BUTTON_VPAD 2 +#define REPOS_BUTTON_HPAD 2 + IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 129, 95 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER