mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
position Spanish bitmaps better
This commit is contained in:
parent
526869c4d2
commit
566d21fc7b
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue