mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
tweak line & bonus hint colors & sizes
Upgraders will only get the smaller hints, but not the brighter color that compensates.
This commit is contained in:
parent
bbb2ab3856
commit
4c94f19ec6
2 changed files with 4 additions and 3 deletions
|
@ -428,7 +428,8 @@ public class BoardCanvas extends Canvas implements DrawCtx {
|
||||||
int color = m_otherColors[CommonPrefs.COLOR_BONUSHINT];
|
int color = m_otherColors[CommonPrefs.COLOR_BONUSHINT];
|
||||||
m_fillPaint.setColor( adjustColor(color) );
|
m_fillPaint.setColor( adjustColor(color) );
|
||||||
Rect brect = new Rect( rect );
|
Rect brect = new Rect( rect );
|
||||||
brect.inset( 0, brect.height()/4 );
|
float inset = (float)(brect.height() / 3.5);
|
||||||
|
brect.inset( 0, (int)inset );
|
||||||
drawCentered( bonusStr, brect, m_fontDims );
|
drawCentered( bonusStr, brect, m_fontDims );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<org.eehouse.android.xw4.EditColorPreference
|
<org.eehouse.android.xw4.EditColorPreference
|
||||||
android:key="@string/key_clr_bonushint_dark"
|
android:key="@string/key_clr_bonushint_dark"
|
||||||
android:title="@string/key_bonushint"
|
android:title="@string/key_bonushint"
|
||||||
android:defaultValue="0x7F7F7F"
|
android:defaultValue="0xA0A0A0"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<org.eehouse.android.xw4.EditColorPreference
|
<org.eehouse.android.xw4.EditColorPreference
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
<org.eehouse.android.xw4.EditColorPreference
|
<org.eehouse.android.xw4.EditColorPreference
|
||||||
android:key="@string/key_cellline_dark"
|
android:key="@string/key_cellline_dark"
|
||||||
android:title="@string/cellline"
|
android:title="@string/cellline"
|
||||||
android:defaultValue="0x202020"
|
android:defaultValue="0x303030"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<org.eehouse.android.xw4.XWListPreference
|
<org.eehouse.android.xw4.XWListPreference
|
||||||
|
|
Loading…
Reference in a new issue