mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
use high-contrast for mini-window (same as arrow)
This commit is contained in:
parent
58d29fbb26
commit
0e86467ea1
1 changed files with 2 additions and 2 deletions
|
@ -665,11 +665,11 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
|
|||
|
||||
public void drawMiniWindow( String text, Rect rect )
|
||||
{
|
||||
fillRect( rect, WHITE );
|
||||
fillRect( rect, darkOnLight()? BLACK : WHITE );
|
||||
|
||||
m_fillPaint.setTextSize( k_miniTextSize );
|
||||
m_fillPaint.setTextAlign( Paint.Align.CENTER );
|
||||
m_fillPaint.setColor( BLACK );
|
||||
m_fillPaint.setColor( darkOnLight()? WHITE : BLACK );
|
||||
|
||||
String[] lines = text.split("\n");
|
||||
int lineHt = rect.height() / lines.length;
|
||||
|
|
Loading…
Add table
Reference in a new issue