Make tray tiles one pixel taller, extending all the way to bottom of

screen.
This commit is contained in:
ehouse 2008-12-12 13:40:41 +00:00
parent cb7b8bf84f
commit 59cd2a83d1
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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 );