position Spanish bitmaps better

This commit is contained in:
ehouse 2004-05-22 15:23:38 +00:00
parent 526869c4d2
commit 566d21fc7b

View file

@ -198,7 +198,7 @@ ce_draw_drawCell( DrawCtx* p_dctx, XP_Rect* xprect,
DrawText( hdc, widebuf, -1, &rt, DrawText( hdc, widebuf, -1, &rt,
DT_SINGLELINE | DT_VCENTER | DT_CENTER); DT_SINGLELINE | DT_VCENTER | DT_CENTER);
} else if ( !!bitmap ) { } else if ( !!bitmap ) {
makeAndDrawBitmap( dctx, hdc, rt.left + 2, rt.top + 3, foreColorRef, makeAndDrawBitmap( dctx, hdc, rt.left + 2, rt.top + 2, foreColorRef,
(CEBitmapInfo*)bitmap ); (CEBitmapInfo*)bitmap );
} else if ( isStar ) { } else if ( isStar ) {
ceDrawBitmapInRect( hdc, rt.left+2, rt.top+1, dctx->origin ); ceDrawBitmapInRect( hdc, rt.left+2, rt.top+1, dctx->origin );
@ -288,7 +288,7 @@ drawDrawTileGuts( DrawCtx* p_dctx, XP_Rect* xprect, XP_UCHAR* letters,
DrawText( hdc, widebuf, -1, &rt, DT_SINGLELINE | DT_TOP | DT_LEFT ); DrawText( hdc, widebuf, -1, &rt, DT_SINGLELINE | DT_TOP | DT_LEFT );
SelectObject( hdc, oldFont ); SelectObject( hdc, oldFont );
} else if ( !!bitmap ) { } else if ( !!bitmap ) {
makeAndDrawBitmap( dctx, hdc, rt.left + 1, rt.top + 4, makeAndDrawBitmap( dctx, hdc, rt.left + 1, rt.top + 5,
dctx->globals->appPrefs.colors[USER_COLOR1+dctx->trayOwner], dctx->globals->appPrefs.colors[USER_COLOR1+dctx->trayOwner],
(CEBitmapInfo*)bitmap ); (CEBitmapInfo*)bitmap );
} }