From 40635dcb46abfcda0ddfba17e99916d43a6a098e Mon Sep 17 00:00:00 2001
From: Michael Leuschel <leuschel@uni-duesseldorf.de>
Date: Thu, 1 Jul 2021 13:50:00 +0200
Subject: [PATCH] adapt icons

---
 Sudoku/SudokuFeld.svg   | 37 +++++++++++++++++++++++++++++--------
 Sudoku/visb_sudoku.json |  6 ++++++
 2 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/Sudoku/SudokuFeld.svg b/Sudoku/SudokuFeld.svg
index aed0f25..8dd09e7 100644
--- a/Sudoku/SudokuFeld.svg
+++ b/Sudoku/SudokuFeld.svg
@@ -1058,7 +1058,7 @@
 
 
 <g id="NewGameButton" transform="translate(110,10)">
-  <title>NewGame</title>
+  <title>Restart Game</title>
   <rect rx="1.2" id="newGameRect" height="9.3" width="59.4" y="0.4" x="0.3"  class="normalKeypad"/>
   <text 
   font-style="normal"  font-weight="bold" xml:space="preserve" text-anchor="start"
@@ -1068,21 +1068,42 @@
 
 
  <g id="Tip"  transform="translate(110,22.5)">
-  <title>Show feasible values</title>
+  <title>Show feasible values for current cell</title>
   <ellipse ry="7" rx="7" id="TipCircle" cy="7.5" cx="7.5" class="normalKeyboard"/>
-  <text transform="matrix(1 0 0 1 0 0)" class="normalActionbuttons" font-style="normal" font-weight="normal" xml:space="preserve" text-anchor="start" font-family="sans-serif" font-size="10" id="TippText" y="10.96203" x="4.71516" stroke-width="0" stroke="null" fill="black">?</text>
+  <text transform="matrix(1 0 0 1 0 0) translate(0.7,-0.2)" class="normalActionbuttons" font-style="normal" font-weight="normal" xml:space="preserve" text-anchor="start" font-family="sans-serif" font-size="10" id="TippText" y="10.96203" x="4.71516" stroke-width="0" stroke="null" fill="black">?</text>
  </g>
 
 <g id="Help" transform="translate(125,22.5)">
-  <title>Show a position with forced value</title>
+  <title>Show a cell with forced value</title>
   <ellipse ry="7" rx="7" id="HelpCircle" cy="7.5" cx="7.5" class="normalKeyboard"/>
-  <text style="cursor: move;" font-style="normal" class="normalActionbuttons" font-weight="normal" xml:space="preserve" text-anchor="start" font-family="sans-serif" font-size="10" id="HelpText" y="10.96203" x="4.71516" stroke-width="0" stroke="null">+</text>
- </g>
+  <text style="cursor: move;" font-style="normal" class="normalActionbuttons" font-weight="normal" xml:space="preserve" text-anchor="start" font-family="sans-serif" font-size="10" id="HelpText" y="10.96203" x="4.71516" stroke-width="0" stroke="null">+</text> 
+  <g transform="scale(0.64,0.64) translate(4.2,4.2)" id="HelpIcon">
+  <ellipse ry="7" rx="7" id="AddCircle" cy="7.5" cx="7.5" class="normalKeyboard"/>
+  <ellipse stroke="#000" stroke-width="0.6" ry="3.68449" rx="3.67119" id="svg_18" cy="6.22306" cx="7.5" fill="none"/>
+  <path transform="rotate(-28.3035 7.72761 6.98517)" stroke="#000" d="m4.69104,8.50623c0.07933,-0.03665 0.27765,-0.2199 0.39665,-0.32985c0.15866,-0.1466 0.58664,-0.77252 0.63464,-0.8796c0.10182,-0.22714 0.2259,-0.3952 0.43631,-1.06285c0.04572,-0.14509 0.07933,-0.32985 0.07933,-0.47645c0,-0.62305 0.01225,-0.77228 -0.03966,-0.9529c-0.06439,-0.22403 -0.19832,-0.5131 -0.23799,-0.54975c0,0 0,-0.03665 -0.11899,-0.03665c-0.07933,0 -0.12477,-0.00744 -0.23799,0.0733c-0.3781,0.26965 -0.4742,0.34998 -0.51564,0.47645c-0.02299,0.07015 -0.18583,0.29311 0,0.6597c0.02379,0.04694 0.10596,0.16483 0.27765,0.25655c0.26152,0.1397 0.34877,0.17274 0.71397,0.25655c0.23416,0.05374 0.35698,0.0733 0.43631,0.0733c0.11899,0 0.28197,0.02935 0.39665,0c0.22289,-0.05704 0.28605,-0.17277 0.39665,-0.25655c0.13014,-0.09858 0.27281,-0.29347 0.27765,-0.32985c0.01998,-0.14998 0.07612,-0.29712 0.03966,-0.4398c-0.02038,-0.07976 -0.03966,-0.10995 -0.07933,-0.1466c0,0 -0.03966,-0.03665 -0.07933,-0.03665c-0.07933,0 -0.17509,0.06076 -0.23799,0.1466c-0.16935,0.23113 -0.11899,0.54975 -0.11899,1.1728c0,0.18325 0.06717,0.34666 0.11899,0.3665c0.07329,0.02805 0.23799,0 0.43631,0c0.07933,0 0.20199,-0.01461 0.27765,-0.03665c0.46177,-0.1345 0.51564,-0.4398 0.55531,-0.5131c0.07933,-0.1466 0.21652,-0.42856 0.23799,-0.47645c0.03036,-0.06772 0,-0.1466 -0.03966,-0.2199c0,0 -0.03967,-0.03665 -0.07933,-0.03665c-0.23799,0 -0.26597,0.04934 -0.35698,0.10995c-0.07195,0.04792 -0.3535,0.36762 -0.39665,0.47645c-0.07347,0.18532 -0.17844,0.36455 -0.19832,0.62305c-0.01968,0.2559 0,0.3665 0,0.47645c0,0.1466 0.03966,0.25655 0.07933,0.2932c0.03966,0.03665 0.15866,0.0733 0.31732,0.0733c0.11899,0 0.21419,0.04397 0.39665,-0.03665c0.27948,-0.12349 0.40247,-0.32484 0.47598,-0.40315c0.25988,-0.27687 0.40987,-0.50817 0.43631,-0.5864c0.08363,-0.24737 0.03967,-0.3665 0.03967,-0.40315c0,-0.0733 -0.06717,-0.12677 -0.11899,-0.1466c-0.10994,-0.04208 -0.40581,0.13958 -0.63464,0.40315c-0.1241,0.14294 -0.23576,0.281 -0.31732,0.54975c-0.07573,0.24953 -0.03966,0.3665 -0.03966,0.54975c0,0.2199 0.02449,0.33264 0.03966,0.3665c0.0644,0.14366 0.19559,0.15531 0.31732,0.18325c0.23416,0.05374 0.51705,0.10085 0.83296,0.0733c0.84418,-0.07363 1.16683,-0.25778 1.26927,-0.62305c0.00995,-0.03548 0,-0.03665 0,-0.0733c0,-0.0733 -0.03601,-0.09149 -0.19832,-0.10995c-0.03937,-0.00448 -0.12112,-0.01684 -0.19832,0c-0.34528,0.07532 -0.42517,0.19462 -0.55531,0.2932c-0.1106,0.08378 -0.42536,0.33801 -0.55531,0.47645c-0.03675,0.03916 -0.10841,0.15513 -0.31732,0.3665c-0.03783,0.03827 -0.10507,0.11712 -0.19832,0.25655c-0.20853,0.31176 -0.24554,0.32551 -0.31732,0.4398c-0.04452,0.07088 -0.17686,0.24531 -0.19832,0.2932c-0.03036,0.06772 -0.05935,0.10657 -0.07933,0.25655c-0.00485,0.03638 -0.02696,0.07425 -0.03966,0.1466c-0.02009,0.1144 -0.03966,0.1466 -0.03966,0.1466l0,0.03665l0,0.03665l-0.03966,0" id="svg_44" stroke-width="0.2" fill="none"/>
+  <line id="svg_47" y2="2.34304" x2="10.24009" y1="0.9331" x1="11.35741" stroke-width="0.6" stroke="#000" fill="none"/>  <line id="svg_30" y2="12.94427" x2="5.95704" y1="9.77853" x1="5.98364" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_31" y2="12.89106" x2="8.77694" y1="9.80514" x1="8.77694" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line stroke="#000" id="svg_32" y2="14.40743" x2="7.4734" y1="12.70484" x1="5.90383" stroke-width="0.6" fill="none"/>
+  <line id="svg_34" y2="14.168" x2="7.28718" y1="12.65164" x1="8.85674" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_35" y2="11.42791" x2="8.61732" y1="10.33719" x1="5.85062" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_36" y2="11.53432" x2="5.87723" y1="12.73145" x1="8.75033" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_37" y2="3.23424" x2="3.29675" y1="2.06372" x1="1.91341" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_38" y2="3.55347" x2="12.2353" y1="2.51596" x1="13.64525" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_39" y2="1.8775" x2="7.81923" y1="0.38774" x1="7.95225" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_40" y2="1.9573" x2="5.21216" y1="0.76018" x1="4.57369" stroke-width="0.6" stroke="#000" fill="none"/>
+  <line id="svg_41" y2="2.06372" x2="10.3199" y1="1.05281" x1="11.17119" stroke-width="0.6" stroke="#000" fill="none"/>
+  </g>
+ </g> 
  
  <g id="Remove" transform="translate(140,22.5)">
-  <title>Erase cell value</title>
+  <title>Erase selected cell</title>
   <ellipse ry="7" rx="7" id="RemoveCircle" cy="7.5" cx="7.5" class="normalKeyboard"/>
-  <text style="cursor: move;" font-style="normal" class="normalActionbuttons" font-weight="normal" xml:space="preserve" text-anchor="start" font-family="sans-serif" font-size="10" id="RemoveText" y="10" x="6" stroke-width="0" stroke="null">-</text>
+  <g id="Ruler" transform="translate(1,0.4) scale(0.9,0.9)">
+  	<text stroke="#000" font-style="normal"  class="normalActionbuttons" font-weight="normal" xml:space="preserve" text-anchor="start" font-family="sans-serif" font-size="9" id="svg_1" y="10.98608" x="3.99945" stroke-width="0" fill="#000000">8</text>
+  	<rect transform="rotate(-130.94 9.89569 9.61504)" stroke="#000" rx="0.6" id="svg_2" height="5.84219" width="3.62026" y="6.69395" x="8.08556" stroke-width="0" fill="lightgray"/>
+  	<rect transform="rotate(-131 9.92115 9.6195)" stroke="#000" rx="0.6" id="svg_3" height="5.37765" width="3.12474" y="6.93068" x="8.35877" stroke-width="0" fill="#000000"/>
+  	<line transform="rotate(19.8657 9.85376 9.67272)" stroke="lightgray" stroke-width="0.6" id="svg_5" y2="11.0162" x2="11.05154" y1="8.32925" x1="8.65599" fill="none"/>
+  </g>
  </g>
 
 
diff --git a/Sudoku/visb_sudoku.json b/Sudoku/visb_sudoku.json
index 7c46f80..152e8e6 100644
--- a/Sudoku/visb_sudoku.json
+++ b/Sudoku/visb_sudoku.json
@@ -94,6 +94,12 @@
       "hovers": [{ "attr":"class", "enter":"hoverKeypad", "leave":"normalKeypad"}
                 ]
     },
+    {
+	  "id": "HelpIcon",
+      "event": "SetCurPosToDetPosition",
+      "hovers": [{ "id": "HelpCircle", "attr":"class", "enter":"hoverKeypad", "leave":"normalKeypad"}
+                ]
+    },
     {
 	  "id": "newGameRect",
       "event": "SetPuzzle",
-- 
GitLab