DroidFish: Display book move hints in bold face to distinguish them from book move percentages.

This commit is contained in:
Peter Osterlund
2012-06-10 00:22:06 +00:00
parent a1f960da85
commit 6540f2f49a
2 changed files with 2 additions and 1 deletions

View File

@@ -142,7 +142,6 @@ public class DroidFish extends Activity implements GUIInterface {
// FIXME!!! ECO opening codes
// FIXME!!! Remember multi-PV analysis setting when program restarted.
// FIXME!!! Use high-res buttons from Scid on the go.
// FIXME!!! Option to display coordinates in border outside chess board.
// FIXME!!! Better behavior if engine is terminated. How exactly?

View File

@@ -154,7 +154,9 @@ public final class DroidBook {
first = false;
else
ret.append(' ');
ret.append("<b>");
ret.append(moveStr);
ret.append("</b>");
ret.append(':');
int percent = (int)Math.round(scaleWeight(be.weight) * 100 / totalWeight);
ret.append(percent);