From 4541e83cf03a218df5510611e93d28506423b43e Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sat, 29 Sep 2012 13:07:01 +0000 Subject: [PATCH] DroidFish: Made display of variations in the status area optional. --- DroidFish/res/values/strings.xml | 2 ++ DroidFish/res/xml/preferences.xml | 8 +++++++- DroidFish/src/org/petero/droidfish/DroidFish.java | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/DroidFish/res/values/strings.xml b/DroidFish/res/values/strings.xml index cf2fa94..ed93399 100644 --- a/DroidFish/res/values/strings.xml +++ b/DroidFish/res/values/strings.xml @@ -347,6 +347,8 @@ you are not actively using the program.\ Include numeric annotation glyphs (NAGs), such as ! and ? Headers Show PGN header lines + Show Current Variations + Show current variations in status area Piece Names Control how chess piece names are displayed PGN import diff --git a/DroidFish/res/xml/preferences.xml b/DroidFish/res/xml/preferences.xml index 6eabebc..fcac8df 100644 --- a/DroidFish/res/xml/preferences.xml +++ b/DroidFish/res/xml/preferences.xml @@ -565,7 +565,13 @@ android:summary="@string/prefs_viewHeaders_summary" android:defaultValue="false"> - + + + = 0) { + if (showVariationLine && (variantStr.indexOf(' ') >= 0)) { String s = ""; if (!thinkingEmpty) s += "
";