From 08cf93d5265de983725c09a2d0d912db678222e2 Mon Sep 17 00:00:00 2001 From: ehouse Date: Fri, 12 Dec 2008 13:40:41 +0000 Subject: [PATCH] Make tray tiles one pixel taller, extending all the way to bottom of screen. --- wince/cedefines.h | 2 +- wince/cedraw.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wince/cedefines.h b/wince/cedefines.h index 91be4d2e4..ed338354b 100755 --- a/wince/cedefines.h +++ b/wince/cedefines.h @@ -22,7 +22,7 @@ #define CE_MAX_ROWS 15 -#define TRAY_BORDER 7 +#define TRAY_BORDER 6 #define CELL_BORDER 3 #define MIN_CELL_WIDTH 10 diff --git a/wince/cedraw.c b/wince/cedraw.c index d9c011b1c..a02167cb7 100755 --- a/wince/cedraw.c +++ b/wince/cedraw.c @@ -977,7 +977,8 @@ drawDrawTileGuts( DrawCtx* p_dctx, const XP_Rect* xprect, ceSetBkColor( hdc, dctx, backIndex ); - InsetRect( &rt, 1, 1 ); + InsetRect( &rt, 1, 0 ); + ++rt.top; /* inset top but not bottom */ Rectangle( hdc, rt.left, rt.top, rt.right, rt.bottom); /* draw frame */ InsetRect( &rt, 1, 1 );