mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-19 12:12:17 +01:00
DroidFish: Display book move hints in bold face to distinguish them from book move percentages.
This commit is contained in:
@@ -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?
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user