From 413515222dcc4a3456ea972242d40ce07430d31a Mon Sep 17 00:00:00 2001
From: Uwe
Date: Fri, 3 Apr 2026 18:02:45 +0200
Subject: [PATCH 1/9] differ icons on mainboard for dark and light
---
img/icons_dark/tb_BD_Autoplay.png | Bin 0 -> 781 bytes
img/icons_dark/tb_BD_Back.png | Bin 0 -> 539 bytes
img/icons_dark/tb_BD_BackStart.png | Bin 0 -> 581 bytes
img/icons_dark/tb_BD_BackToMainline.png | Bin 0 -> 393 bytes
img/{buttons => icons_dark}/tb_BD_Coords.png | Bin
img/icons_dark/tb_BD_End.png | Bin 0 -> 435 bytes
img/icons_dark/tb_BD_Flip.png | Bin 0 -> 793 bytes
img/icons_dark/tb_BD_Forward.png | Bin 0 -> 537 bytes
img/icons_dark/tb_BD_ForwardEnd.png | Bin 0 -> 570 bytes
.../tb_BD_Material.png | Bin
img/icons_dark/tb_BD_NewMainline.png | Bin 0 -> 394 bytes
img/icons_dark/tb_BD_NewVar.png | Bin 0 -> 441 bytes
img/icons_dark/tb_BD_Redo.png | Bin 0 -> 673 bytes
img/icons_dark/tb_BD_Replace.png | Bin 0 -> 401 bytes
img/icons_dark/tb_BD_Save.png | Bin 0 -> 399 bytes
img/icons_dark/tb_BD_SaveAs.png | Bin 0 -> 421 bytes
img/icons_dark/tb_BD_Scorebar.png | Bin 0 -> 202 bytes
img/icons_dark/tb_BD_SelectMarker.png | Bin 0 -> 704 bytes
.../tb_BD_SetupBoard.png | Bin
img/icons_dark/tb_BD_Start.png | Bin 0 -> 431 bytes
img/icons_dark/tb_BD_Undo.png | Bin 0 -> 629 bytes
img/icons_dark/tb_BD_VarDelete.png | Bin 0 -> 1289 bytes
img/icons_dark/tb_BD_VarLeave.png | Bin 0 -> 295 bytes
img/icons_dark/tb_BD_VarPromote.png | Bin 0 -> 540 bytes
img/icons_dark/tb_BD_exitvar.png | Bin 0 -> 245 bytes
.../tb_BD_Autoplay.png | Bin
img/{buttons => icons_light}/tb_BD_Back.png | Bin
.../tb_BD_BackStart.png | Bin
.../tb_BD_BackToMainline.png | Bin
img/icons_light/tb_BD_Coords.png | Bin 0 -> 459 bytes
img/{buttons => icons_light}/tb_BD_End.png | Bin
img/{buttons => icons_light}/tb_BD_Flip.png | Bin
.../tb_BD_Forward.png | Bin
.../tb_BD_ForwardEnd.png | Bin
img/icons_light/tb_BD_Material.png | Bin 0 -> 1310 bytes
.../tb_BD_NewMainline.png | Bin
img/{buttons => icons_light}/tb_BD_NewVar.png | Bin
img/{buttons => icons_light}/tb_BD_Redo.png | Bin
.../tb_BD_Replace.png | Bin
img/{buttons => icons_light}/tb_BD_Save.png | Bin
img/{buttons => icons_light}/tb_BD_SaveAs.png | Bin
.../tb_BD_Scorebar.png | Bin
.../tb_BD_SelectMarker.png | Bin
img/icons_light/tb_BD_SetupBoard.png | Bin 0 -> 1147 bytes
img/{buttons => icons_light}/tb_BD_Start.png | Bin
img/{buttons => icons_light}/tb_BD_Undo.png | Bin
.../tb_BD_VarDelete.png | Bin
.../tb_BD_VarLeave.png | Bin
.../tb_BD_VarPromote.png | Bin
.../tb_BD_exitvar.png | Bin
tcl/board.tcl | 36 ++++++-------
tcl/lang/francais.tcl | 2 +-
tcl/main.tcl | 50 +++++++++---------
53 files changed, 44 insertions(+), 44 deletions(-)
create mode 100644 img/icons_dark/tb_BD_Autoplay.png
create mode 100644 img/icons_dark/tb_BD_Back.png
create mode 100644 img/icons_dark/tb_BD_BackStart.png
create mode 100644 img/icons_dark/tb_BD_BackToMainline.png
rename img/{buttons => icons_dark}/tb_BD_Coords.png (100%)
create mode 100644 img/icons_dark/tb_BD_End.png
create mode 100644 img/icons_dark/tb_BD_Flip.png
create mode 100644 img/icons_dark/tb_BD_Forward.png
create mode 100644 img/icons_dark/tb_BD_ForwardEnd.png
rename img/{buttons => icons_dark}/tb_BD_Material.png (100%)
create mode 100644 img/icons_dark/tb_BD_NewMainline.png
create mode 100644 img/icons_dark/tb_BD_NewVar.png
create mode 100644 img/icons_dark/tb_BD_Redo.png
create mode 100644 img/icons_dark/tb_BD_Replace.png
create mode 100644 img/icons_dark/tb_BD_Save.png
create mode 100644 img/icons_dark/tb_BD_SaveAs.png
create mode 100644 img/icons_dark/tb_BD_Scorebar.png
create mode 100644 img/icons_dark/tb_BD_SelectMarker.png
rename img/{buttons => icons_dark}/tb_BD_SetupBoard.png (100%)
create mode 100644 img/icons_dark/tb_BD_Start.png
create mode 100644 img/icons_dark/tb_BD_Undo.png
create mode 100644 img/icons_dark/tb_BD_VarDelete.png
create mode 100644 img/icons_dark/tb_BD_VarLeave.png
create mode 100644 img/icons_dark/tb_BD_VarPromote.png
create mode 100644 img/icons_dark/tb_BD_exitvar.png
rename img/{buttons => icons_light}/tb_BD_Autoplay.png (100%)
rename img/{buttons => icons_light}/tb_BD_Back.png (100%)
rename img/{buttons => icons_light}/tb_BD_BackStart.png (100%)
rename img/{buttons => icons_light}/tb_BD_BackToMainline.png (100%)
create mode 100644 img/icons_light/tb_BD_Coords.png
rename img/{buttons => icons_light}/tb_BD_End.png (100%)
rename img/{buttons => icons_light}/tb_BD_Flip.png (100%)
rename img/{buttons => icons_light}/tb_BD_Forward.png (100%)
rename img/{buttons => icons_light}/tb_BD_ForwardEnd.png (100%)
create mode 100644 img/icons_light/tb_BD_Material.png
rename img/{buttons => icons_light}/tb_BD_NewMainline.png (100%)
rename img/{buttons => icons_light}/tb_BD_NewVar.png (100%)
rename img/{buttons => icons_light}/tb_BD_Redo.png (100%)
rename img/{buttons => icons_light}/tb_BD_Replace.png (100%)
rename img/{buttons => icons_light}/tb_BD_Save.png (100%)
rename img/{buttons => icons_light}/tb_BD_SaveAs.png (100%)
rename img/{buttons => icons_light}/tb_BD_Scorebar.png (100%)
rename img/{buttons => icons_light}/tb_BD_SelectMarker.png (100%)
create mode 100644 img/icons_light/tb_BD_SetupBoard.png
rename img/{buttons => icons_light}/tb_BD_Start.png (100%)
rename img/{buttons => icons_light}/tb_BD_Undo.png (100%)
rename img/{buttons => icons_light}/tb_BD_VarDelete.png (100%)
rename img/{buttons => icons_light}/tb_BD_VarLeave.png (100%)
rename img/{buttons => icons_light}/tb_BD_VarPromote.png (100%)
rename img/{buttons => icons_light}/tb_BD_exitvar.png (100%)
diff --git a/img/icons_dark/tb_BD_Autoplay.png b/img/icons_dark/tb_BD_Autoplay.png
new file mode 100644
index 0000000000000000000000000000000000000000..d006c6186ddcded7b1f8b1ce37dab96b017df7e1
GIT binary patch
literal 781
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBfTIiNVvwF~sBe+N)=?g&if>KBV6}
zb1iUDghr5NQ`aIP?N%|tCb1;f>?#fqeYrgxaV-8~He1#Iv+B!ruWeHQc%@%qs>78I
zMIn!10nreF&IOHg-<>&E(RE_d`j@}vwau-pd$aHG=}iJ3yON&$*LG-s%(%J2<8z6@
zG3kgI!4*E`nHk4zC!9~cIp?U+-DN5J9g-Gq^-7#`e&zRDQhtlySV$4zp&8c(T7T
zGB+!&OjYfMXXGzhG&0c*@#x=8E6P7q!i@S-kv5;d`~GA5J`x
zWn=)l=t;}GPkj~T8ttmVB`gdMQvxPsPW|Y%r#j^LBu#531_iE9Q+F*;-g4g}f8)=ysA2gt?gtjVi!|p|
z@;{g@oaptw^hZnBMY|_2k~Er2KeO>ZWV?`e=D{Y;<~Ge_*P86hF5K5N&lvVzO3NN5v=^UdVc{+zy{SdU2gvqAKcGuu~FE!yH)wXIjwK!zw%e=
z?74edls^xcJXA|uBT7;dOH!?pi&B9UgOP!efv$n6uAxDQp_!GDrImq&wt<0_fr0#)
rLuXJl^-xsMF=sbO=)RoXKrIU
z3k$&qB-p88AwE=Ra^Bb6z*13nU`zz`R0DI*~nkK-7itSHOWn
zeRCr3=@D@kx?dGp8>rC-;tr#K3s{9(aUy?$I{>UHvJ)q=N}q^3h<*teR;Vf^AiBr+
z6W|;e$Wh;&$eS`8xGw`A72_1NVz~|^A``%z)(uYNFt`H+ZFdDMQ6l1k=-&aa6>8au
zTn2Xl_^il|oyZy`BUYlX1J4!R1p?qs8zxCIMw;#`dRtCpCWHew8K~Fmg9XL`772t$
zS>zFEI$NOg$%*_5F`t!whOfO8_rJlaA$e0Ew_~k*#@5W^E&Eg8)|Jike%*fiZEA@O>4|EU@HGKx5jLG
d@6UR1;2PVoi}an0YkvR$002ovPDHLkV1jRy>p=hj
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_BackStart.png b/img/icons_dark/tb_BD_BackStart.png
new file mode 100644
index 0000000000000000000000000000000000000000..5c213da3ad1ba8f8cc4c99152ccad832f1015eb9
GIT binary patch
literal 581
zcmV-L0=oT)P)=R
zLcj+Y(it@%iX;%swb>#pXLsiAUdSouJIwr?J+IA3uu@tBZX0OcOYdX6?d~k$@pHgO
z13mT9tr(BppC<(1iE*|EEG6>p0!rx`P#EaGmwv@~ZvnunaklBDl|?gC0_2%Iu}?xgUpmI0Jyd7klj-QX|0bT!6%
z2^bECM+bTSyMdqmx4-|hjeBXMkAQrT=QkSILoaQ_I6W=rknQk4!Dux4LzZ1=;E!Xx
zZv+MaA%q`=b7Nz+&lS$S_R`xn9zyuqI|sZp0=^kOYbktMNqE=rnJcBmMBc3t)#kw)
zqu=iU$E$hJ%BN9=)=WPFtR(WulklL05Vi{EP6P8bv`{$r%uDNSJcO`4jYhOot=3Ju
zLX3BhKoy1E!ns}GN)4SUoO|b`4{bbz@VR#@u2$>Krd2)0r!@<#@|vwy@)X`}Ew7d3
zOQQqs0Vk@zqgFnRX=s(*OtqS)@X3>~mXOj?`mcB4-1Dj|8+iy}tL^^(ApZd_
T@a_%200000NkvXXu0mjfGv*KZ
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_BackToMainline.png b/img/icons_dark/tb_BD_BackToMainline.png
new file mode 100644
index 0000000000000000000000000000000000000000..5bea479d0a8669d49744d4297e10275437eca996
GIT binary patch
literal 393
zcmV;40e1e0P)mEmI^qGM1G$U_#;pw(f6%~*?_SdSxW&&Uy34gZLLPT_|+c%wkFmw%!
z4h-&q3f)ka<%6|$6S5~w)BBKjK$Fbe_c?$QlDC!K7^9OU`REF6t(_>PvijL=RQamF
zMPw-=*S_8u6GT(rzAFu%+|6?UuK-^9F2Z*Yd_i*ETSasn2*5W0)1|7rI?%>~>K!Ot&MyEw0@&=-(f*kKsSE$ov7na}C~r_$i^#$)a}fc_
z=U#h(qui%UN8T2Rn7!Z%z*$=)ilVrQITLDdW*(dn{LQC+v+^9(v00000NkvXXu0mjfL=>=R
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_BD_Coords.png b/img/icons_dark/tb_BD_Coords.png
similarity index 100%
rename from img/buttons/tb_BD_Coords.png
rename to img/icons_dark/tb_BD_Coords.png
diff --git a/img/icons_dark/tb_BD_End.png b/img/icons_dark/tb_BD_End.png
new file mode 100644
index 0000000000000000000000000000000000000000..b619c7988da851f01a9883bc73c16fea573e82a7
GIT binary patch
literal 435
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SSr1Gg{;GcwGYBLNg-FY)wsWq-oTC8#CPnbN5Z6k6u#;uzv_Jo(Rg2g!s*0slSB
z9&l>1Wf*oOb`%QdH;5fpY71fuo%88Gr}Ov!;{VG3hr0?^^Ct@?GngrRm@r)Cn8fQ~
z-o(Qk(5rBoAw~HC+lC2KYRZfZ3`&6bj1$K}o*hROytWul%?qRTd6bwL+7}8i
zx?Bi54Ro<;iEBhjN@7W>RdP`(kYX@0Ff!0JFx53Q2r)FXGP1NXu+TOzure@^KXd2|
piiX_$l+3hBxCR4@5JM9yATlt4Xb3za^9iVd!PC{xWt~$(69DQoe@XxV
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_Flip.png b/img/icons_dark/tb_BD_Flip.png
new file mode 100644
index 0000000000000000000000000000000000000000..cad69c4751224ee2746011d5d04c02e54c89e33a
GIT binary patch
literal 793
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SSr1Gg{;GcwGYBLNg-FY)wsWq-oTC8#CPnbN5Z)WqZI;uzv_{O#29*}{PW$L%w7
z^%VuBwuNQ7uIe<@c3QcpBfx|2o=r!H&CkbCx0-MKve($c?z%@)M1OB4zt+@{z!g%O
z$BsA!_a?aNN(HWN4|{yQd)D3UyUi|iv){Kq`{vB^v*%{d6c<_@&Aa-`e|CoKnys^M
z`ig6AyKpAkOJwGv1B>Qoo|t^Zpjl?wAsyGEngr|J8$1n;R>}o_6?k&5+H_^K)uN7t
z{nO%+aGkZzc)^Ps
zG*z|82eEUHh9@w;-rKF`qX0%^%N#I6A?~%;H6Jp*q
z<;<(5bY2o;@F<@6mv86Pe4W{r8iI$p7*YhIZ~kzPJMO-3Mnj}d5@Unbb&n)#r7FLh
zEIyMLOfFzZ>apNdVtBJ~a%J3%hUIrueEk_7=zjN@!1O@FbzUHA&aTd@M)lLSF7aeL
zcHyYmg6S%eMKVvc9?L8~YdP_o;USIbKi_mqJm)l?^UUhBjKiIWT$R(#G)}s{VbVU|
zl93mH!!cdPRX^EHCXaf
z?JcQ;>HmJMyYPSe#QAcPQDz$*DnA30ifV~#L`h0wNvc(HQ7VvPFfuSQ&^0jCH8cn@
zG_x|Yv@)>JHZZUlt3&6SqEp@R4
z!#ISf+1EuO6cLE^qpMXdPUO2h$S+yU25S6NPz%>VY94^9A
z^$hR>I9-F5v+Aubj^YKU_+eh5bw_j^`0PNhvg(5_9FceD4=U>(Yf4Mi8OIL-JUz+}
zw#k5J!PhIx9&5`h>pj-cs<$h`QuRErS-Ic+@jk2G?&4vx=oCM4>{@G}dY<1u%A_P)
z|A3OtC;`R7z+teN;@G^~ncLaMSH9o!_~y;L*>46UqL$7BZw>UsOSe-zRevt^K?q@|
za_$VU)IiIXbI-iA*~UW%yKVJ{%F4glOTa)*HROg{S|
zY#hkl%DI!kasw?@&OMJ~IhBVHc1k+{unPQX8M_qk-htSKapl}E;A#V%uAJNS(z`Yu
zLf9(p0AAVvJ{#y^4lfoE!@BEF)zbY;KKmFNWBCHOa&W*0i{AUK6z@a80`SFRfA{x~
z&JBmh+j!{~;H9s?19QfQ!|N$tETA<0|1AI>*-INNjz**3DLyP*{U!5+gO3x?%KNwn
z9viuDUK(Zc?gDCQ1vqPv+5~c^e?ET
zW5D<5ZYSfFmoBDw9}kmtqxj@lrFeG%@%epY%JchUil^%T1M>a)6K6boasU7T07*qo
IM6N<$f{ySJX#fBK
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_BD_Material.png b/img/icons_dark/tb_BD_Material.png
similarity index 100%
rename from img/buttons/tb_BD_Material.png
rename to img/icons_dark/tb_BD_Material.png
diff --git a/img/icons_dark/tb_BD_NewMainline.png b/img/icons_dark/tb_BD_NewMainline.png
new file mode 100644
index 0000000000000000000000000000000000000000..a6eaeb0f18a74103e6e0e4d6a2977558d9cbfa1b
GIT binary patch
literal 394
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBfRyRO{*D7~*j}`OkR=$%I7#_D|V1
z9EfzSxcb%500?ptK!C$xT0%?v!Rof_6+8ilQyIA1l!O>JakG3}al1j0sr2}P<4hal
z9KLxlgvL5-WaRmu_~CCon~*}x*8|mwR~iDD+d3Ifv}OrfvMG2iiB@?P;%uI<;84N?
zUIvCM3yk_>(%9Am9im#|8c~vxSdwa$T$Bo=7>o>z40H`lbqx(d49%>JEUgSIv<(cb
w3=HJY96E!dAvZrIGp!P?!N4NK(8LOe3``&z0*}ai0%~CJboFyt=akR{0N4+A9RL6T
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_NewVar.png b/img/icons_dark/tb_BD_NewVar.png
new file mode 100644
index 0000000000000000000000000000000000000000..68bc520d2f7e5fd3bad3bd35d19ebffb18895a6c
GIT binary patch
literal 441
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBfRyw8qoLF~s9|@}Kh#k_n3f?4Po2
zI1uStarLXA0TARQfB=WXw1k%SgVk-P_;l$0_cIZ}hvNg&Lii8ao@rVrR-IMRf0~z+x&?ECTsmj)V%ojF))}5mjIN9Rd9*3fx9XSqyD`y4nE$DWcoArWi0wk4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBj=MfpLnbi(`n#@v~QLy$?G`uz&b}
zcd6-8=Kvj7D~pV^`5bzso0_+j6&42DJGlN~5M?P1bxfZtGgr2SkFTk@`6$<;pbL(x
zI0R#F&0D$C;^y`v$Betr>z-6S-`~DlT|DVfbimB%l}+xpjEy3vw+II@?EG+>!<9|I
zlI#CA#<~?^|5+>qCpFA1VA#&vcH%I=!3We!yym%=gT4ikowKGEIDbEwE&s
zreyNVW0KSM&;!dOFWEcaE9^CX;(AeYu6yLM`AU%snHkP33-pw5zczJi&ZFmneV<|j
zH(a{^{cOL|v5lo!M^i4%ZrF6_`jNFcRl)%?|LBzH-D}x+YhIq2*v08;sf8DIve!7K
zxUMT*w~_ntiQQ%w`)b#HG<5CMejrlX&~mg_ox#-j$=arBtEX$5tbHn&UZ_ewDbyF8
zvmrdS_4_|bfzUPDg}YR|H=O;oG<1=pmHw7n?Loh6FI36B30}dywa%_5ea{2Wt9Kc1
zce*^jv1!+l<_l-d12?O$sMcd}V4iVUBT2$xyR3lox`r5!zcc@-e_*wU`{=TCD%Wga
zl&O}uMwFx^mZVxG7o`Fz1|tI_16>1CT|k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBfRy)Z*#l7~*j}`OkR=$%I7#_RQQ<
z^i&-E?Ty+6U$uVcS>Jg@@03EvSympNEElN{^DY@U6l)&hZhF$nx{Fbzot3+dr8Cj7
z&`QEI;Yvdw^NKtNMbB1FnFCx?qIp0d>qAqkK}CPm0)gnB0DB&TZWAHrCc(9Ndt961
zOmo;S*z;(ZF)(btD1Lg0@mmF;dsItYBT7;dOH!?pi&B9UgOP!efv$n6uAxDQp_!GD
zrImq&wt<0_fr0#)LuXJlk4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBfRy)a2>n7~*mKZRkPX1_d6Qp3fUD
z@jjH{xi~e(qu$MPq3VnS&HENS)jPhmrC_1{HoreCEWbAkF@*TZbZAYoV^!U;$f2L(
zfy=2)m!3JU5JNHy3GRiIP-~ScV02+?)W<=^NPB}
zl8-F$!b|5ah<1#qSI(=L&ihMTH8>9F8r2flh?11Vl2ohYqEsNoU}Ruqple{NYiJN+
zXl7+(X=PxcZD3$!U?6|y&>0jBx%nxXX_asd1{NWPCRRXXU;@z)ctqwCPy>UftDnm{
Hr-UW|`cQwj
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_SaveAs.png b/img/icons_dark/tb_BD_SaveAs.png
new file mode 100644
index 0000000000000000000000000000000000000000..20f7db213014e12dbe8acaaa5c150026f6ac586c
GIT binary patch
literal 421
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBfRyG{e)yF~sBe+tAaz4GKK965&PD
z%ab{t7jWdgc@$8k?BI1U{=$)YFP@wJ4ch!ridX!jet|*Tbmj!sZpq0VDbXydI|Lei
zgd0S?)xI9j+K_STU+fRrJ65L*e=;4v#&JVWcj*DM9bwF?WM1A_Z>I%v9Z=wLe*0nF?$%}Zl6JrOwvo5Z`Qu`(<|pnMtu|hog?&;gtbD9}d)|Ha
zw>_h*uyo#eZpC9)FWIcj+xm~)!KLi+#c;-HH+MTSFbO1BHOQxmG`!Y1&*Wj=P#yP<
zfswiiYnWeZi*9F(U=Qm0)#^9jQ0m*bP0l+XkKw+To(
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_SelectMarker.png b/img/icons_dark/tb_BD_SelectMarker.png
new file mode 100644
index 0000000000000000000000000000000000000000..11aec047918554c558244b28a05adb819d5e950b
GIT binary patch
literal 704
zcmV;x0zdtUP)z@;j|==^1poj5AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF*
zm;eA5aGbhPJOBU!K1oDDR9M69m%oeDKorMk@?*(nClkk{QLbIR`o!WID?Q{81wpY8
zL{J1v5%hZh2nA7V^;G-;S{w*sby`?09Eb=O3n81$%n&x4NuEvYHoMs$dZ_oB2{Xfc
zAKv@EyaabT9kiRKprr~)2ilP819GXP_(AII@SO6lb)5sk?J;+#KVjP=LD
z*7+g|!|fKbtvsw@Y2Q16F
z=llM;VHi39AR)wk-}iTZD?k{A%Z*0kuIG8jG)=<*08+{?X_{WGE54ZlEX!IYgmf^*
zD9`gk2(hJk4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SSr1Gg{;GcwGYBLNg-FY)wsWq-oTC8#CPnbN5Z6k6oz;uzv_Jo(Rg2g!s*0smJp
zYOw8DzK{Ee#1;)hhp7vvBnk?;{b@h={lDad1+V_U`!D`)_u`Jk)*HMEQPyS59vAw~
zGECZ%EakAMtc2O)T3;4}+=;-tpeiL4VnKbSU4Raq&VW)0zG);hu@
zdWlgqNU75;!Mx$o9S-A1XX?)FK#IZ0z{o(?z*N`JAjHtj%E;2nz(U)=z{-5>
pC>nC}Q!>*k;TjAqLJUo;fXKiEq9O2z%qO4*22WQ%mvv4FO#pv+ib4PY
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_Undo.png b/img/icons_dark/tb_BD_Undo.png
new file mode 100644
index 0000000000000000000000000000000000000000..5f8bb6fd28fa3c9384b5e806789eec50c7752769
GIT binary patch
literal 629
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)ndQrBj=Mfic6=#WBR=_}R((y_o}f8un|K
z3W!hDc6BZIARyDS=!)ZuC3F5aJ;>2)YVJOlcgeBf^2%g!aY092J*y6lkPTd-tn7ka
z`>i|#-yVIa6TZ&>_U>q(X?t2~6!kmRSSANFA6F1$NiaA*rM_Wq-J6x{g;yqQd2&=_
zPsV`~_6NqX7g!d|6-~SG=-+fZ?L8k{Ing}>3)vz&T
zJif!4o!GLPfkFG6g8DwjY3r6&q}~20;2(8$Evu%-osTWHQ~TT1W~v=t`8bPr!Da6$
za%vLFr=x0D2yR%xu;rp_3!|OK)o}K!x+0zO%U+n|tbtM6-
z)iXqP0;55-#5JNMC9x#cD!C{XNHG{07#ZjqnCcoDgczDx8ChBxSZEs{H?=4}7~
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_VarDelete.png b/img/icons_dark/tb_BD_VarDelete.png
new file mode 100644
index 0000000000000000000000000000000000000000..edf2e39114d000302a4e6e1ee6b9a8c504119673
GIT binary patch
literal 1289
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+081LNiZpAgso!wbB4@#4*!
zH$W1rw?2OS`1C-2m$g9_{fr3C;Ai$JG7KEsWsCoDP{W~xKDu5dcQ~;EP
zbCFF$GY6s)Spl5=_wV1gZ{NbX$c)?{F{^;_I-w-UFPMSVIAg}a$InhJF1P1jd;7%7
z)|kMuMTa)~a|+gNNHeqwj;R_!
z4RYBMc?HL_TxVM`U!8nQHSY?q$DPS~Q)HZ$_p^B4pBkLa7@Y1BjpJ%LBFq$jKwe_MEXPgdUZC3;lf2zs7&=&GJ%Aj}0*}aI
zU>d#-!i-KDvnzmt>?NMQuIx`(xdgQYI#W8efqE8sx;TbdoK8+ypq`MDl$My9{QSX_
zN6!wboj-f}xW0mhijI=jF*QBKPCZ@Kv---~>gyFwYAju`WX+;g%lfp|FI>5FZS#et
zrL4KZPME)j8=rx@hs%Xy}wvp2YheY23zZ*m1f#X
zfsI?fELrl!WX0t(L0={v?BVGEl_!l<2l1q9iY_D#%3VQ_DiG
zmZP7z|0H~Bb%iajZ!d^QTRImOW^lReNw?I|EyB9Y2UE^FSUkSK
z!@%%mMx>$b;Vln<5vW??8c~vxSdwa$T$Bo=7>o>z40H`lbqx(d49%>JEUgSIv<(cb
w3=HJY96E!dAvZrIGp!P?!N4NK(8LOe3``&z0*}ai0%~CJboFyt=akR{05
zF%AJy5Qe`IwM0Ux}~bCi{2k7bLU?A|MLav6&r!Q~DfpFDHs9k6uocJ&-h#6U*d8KiYxw
tOHT}K}-ALV!sU`7@H6n7Sh&5d;zEH?lE002ovPDHLkV1l$`cEbPw
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_VarPromote.png b/img/icons_dark/tb_BD_VarPromote.png
new file mode 100644
index 0000000000000000000000000000000000000000..64d15ef578c24451dadc0ac9fc34fab40c3c28aa
GIT binary patch
literal 540
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50
z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKptm-
zM`SV3rt2Wg=%g{b0w~B{;_2(k{)ClFP)qP%^3J^s42=AqE{-7{$B%|s3pE)C+->2x
z6ji~pv-7a8O+#<`f{zUI4rp71#W8CipVYK5SwdLnkkDtdvr%N%+Sj=Ltr%?XJsWkSmg2+=DriB^Xty>;3
z$+S$Ldn}>Av;VrGl#m4Si$nL}q#H00)|WTsWZH5gcg7@AlCk%0+BL*NmaPe2U}p00i_>zopr0ElM5
AT>t<8
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_BD_exitvar.png b/img/icons_dark/tb_BD_exitvar.png
new file mode 100644
index 0000000000000000000000000000000000000000..7812b1e8221f1ab160d7e40921fc80e579d47ced
GIT binary patch
literal 245
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7X}jsQwGZm?p$6#kyV~9
zjv*0;-%fQDYEa;C{o511=C#Z9mCn~z%{->*%$WNy-s;hBg(MEHwP%i>s>wL#plcBu
zJ>%k$1L4P(x@nY%tub1^mc{0Qs@enA>9ZQtW0IKWC3JFbX?Wff;9aqeX;ykz@}I7D
zwHrxc0htc#7H9u!ez$nW8n&)2UMm-g{?L85TK@!dT#?&%xsJG*-s_d^a_21PyuEMt
rU-ok4FH^R%{|UEEs6FZo1X^=>Wa2cYWLYNxUCrR>>gTe~DWM4fA{Aca
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_BD_Autoplay.png b/img/icons_light/tb_BD_Autoplay.png
similarity index 100%
rename from img/buttons/tb_BD_Autoplay.png
rename to img/icons_light/tb_BD_Autoplay.png
diff --git a/img/buttons/tb_BD_Back.png b/img/icons_light/tb_BD_Back.png
similarity index 100%
rename from img/buttons/tb_BD_Back.png
rename to img/icons_light/tb_BD_Back.png
diff --git a/img/buttons/tb_BD_BackStart.png b/img/icons_light/tb_BD_BackStart.png
similarity index 100%
rename from img/buttons/tb_BD_BackStart.png
rename to img/icons_light/tb_BD_BackStart.png
diff --git a/img/buttons/tb_BD_BackToMainline.png b/img/icons_light/tb_BD_BackToMainline.png
similarity index 100%
rename from img/buttons/tb_BD_BackToMainline.png
rename to img/icons_light/tb_BD_BackToMainline.png
diff --git a/img/icons_light/tb_BD_Coords.png b/img/icons_light/tb_BD_Coords.png
new file mode 100644
index 0000000000000000000000000000000000000000..c00bef94dd78063451d10467c8c3c85bdee7afbf
GIT binary patch
literal 459
zcmV;+0W|)JP)Ai2Z
zfQX_i5HMR=5Qc`D5ZSGIwk=R0EffjIR{a#0x<~$%p^%_Ex4M5&bg16
zE7@o?5&$TQLX0t2OXvk8D`F#G9pRZB(yRMP)i)wt!uaCFxzG~^I{i*vVkI4wt3~p
zmH&bwA~;4VCdyC|b~D)qm7!frSKS!1Ev?vrX?Kx;smrpSG&vuS7i)*M&1sVjQSb-v
z)${T^KYs7?^#cFnKLi1Q3P2GAfu5AptvXTwyr}E?3(V}MQmJtOKLD^Emw>c|J0cOi
z*3i&!w!OU_uInP7&%29@i?0Lt{GU*uL6+tD-riodSS&tdElC(29$s`DCj!7+xu*l@
zUhz2w;I}8D01>HzAgGSxfaoD#$8jKvV!&}6ZH2(|0KPkZ{CJRvaN)v*95eR=xbZ}i
z&*$?cy1Kf!udk2$`ue!Dv(o}_4gdr}5Qu1IaB$G!6$}jxF%iuXk+hY}-VD!Lmc{e)
z^B^KHGcPPGI4ia`*L8O&ittRt8nVE@*
zNY`~=I2?X;VPWAwCX;!;R4V1?=H}!`Bmw}qbLS3<#i9uyTU8SJd_J-)O9wC#i^amS
zECT?Tc{MKp0H$eTbaeDr0H3zDwth4@ISC?i+uGVNJ3IRpfU{LSfn`~OEX!RzJw0Jr
zmch)Ag0B)`W@wtmd-m*U0dOXp&Dw=R0fjVW
zQQ_#(qauLLYRa(SIL=GM!^2)3mg-v|heK0jEx#67Sx<-MMq;0Yy<@+jiODwrwMoN}*URVzp8I
zZGlh}xURbkz!3o7Zlw%K6vfuMy1JkD@82(a1qXoX>1nvGi)1nh!!Y3Y``5ldMn*<(
z^5jV;olbuY;GNBKKoUjq*zVoCJ%hWhi>aw8L?RK~zI_}0{r&5L1AyP}M{jR0CMPGw
zo}Qk!0eqrq8hH^A0kj2!!Lq@b8JSE5M1(6>uAs58ar14ap#hgJUE=2E<~L2#G(4+-
znH8_r>+|`ryu6IT!9jQtU5nb2$2O|@3RLi|&AUo}
zI4^JCzWwXNhY!1}TTvw#A0HRe>GTNz=c^(>L^aHOWU~qAwEz*(Rc6lrYd)NR0>hH$
Uzl&kg>;M1&07*qoM6N<$f&-ykcmMzZ
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_BD_NewMainline.png b/img/icons_light/tb_BD_NewMainline.png
similarity index 100%
rename from img/buttons/tb_BD_NewMainline.png
rename to img/icons_light/tb_BD_NewMainline.png
diff --git a/img/buttons/tb_BD_NewVar.png b/img/icons_light/tb_BD_NewVar.png
similarity index 100%
rename from img/buttons/tb_BD_NewVar.png
rename to img/icons_light/tb_BD_NewVar.png
diff --git a/img/buttons/tb_BD_Redo.png b/img/icons_light/tb_BD_Redo.png
similarity index 100%
rename from img/buttons/tb_BD_Redo.png
rename to img/icons_light/tb_BD_Redo.png
diff --git a/img/buttons/tb_BD_Replace.png b/img/icons_light/tb_BD_Replace.png
similarity index 100%
rename from img/buttons/tb_BD_Replace.png
rename to img/icons_light/tb_BD_Replace.png
diff --git a/img/buttons/tb_BD_Save.png b/img/icons_light/tb_BD_Save.png
similarity index 100%
rename from img/buttons/tb_BD_Save.png
rename to img/icons_light/tb_BD_Save.png
diff --git a/img/buttons/tb_BD_SaveAs.png b/img/icons_light/tb_BD_SaveAs.png
similarity index 100%
rename from img/buttons/tb_BD_SaveAs.png
rename to img/icons_light/tb_BD_SaveAs.png
diff --git a/img/buttons/tb_BD_Scorebar.png b/img/icons_light/tb_BD_Scorebar.png
similarity index 100%
rename from img/buttons/tb_BD_Scorebar.png
rename to img/icons_light/tb_BD_Scorebar.png
diff --git a/img/buttons/tb_BD_SelectMarker.png b/img/icons_light/tb_BD_SelectMarker.png
similarity index 100%
rename from img/buttons/tb_BD_SelectMarker.png
rename to img/icons_light/tb_BD_SelectMarker.png
diff --git a/img/icons_light/tb_BD_SetupBoard.png b/img/icons_light/tb_BD_SetupBoard.png
new file mode 100644
index 0000000000000000000000000000000000000000..705380f3ff79a9fec8f0a97341fb6af8cba12d7c
GIT binary patch
literal 1147
zcmV->1cdvEP)W4Fp8wWy%Cf-H$W=%skDAoNnawfhHHym;8M
zR6Kc#EG@kV6{JuEmo7cn+QgrY8+ED@G%?9!X1*S3(rFxx?k<$leNW%}=HvOEdEV#!
z@&T{oUk+kbq?F!$)dy*sMmUc9skF|P9NalNI{FDA1x*Uyxy%a(3345QE%13I@CD)k-D^HrUlonfBmol8qg-)Ne)dJ6(5OMp^ZWXW;dJCYNI+
zSy|ajCX=}vc;R*?jK||Y#A2~8kB^VHDW%{z4%uv$nVp>_3kwUxFbpsZ!*q0Xw1mUq
zhYbx4VF2PwdBCgy0M_Mlz0LEymkBuO0}k7wBBa*2cxP)dDy
zrltm=P{=zxJUng~hIG@*=@J1&QHpcubUK4}yWL;tonaVoyWJQZ9E9C&zoeWX2&AvC
zuae_9r`2JKqG)AX;P?BLot+&30MGLkJkOg40~Hk&RF-8@XhA-o$LZ-Q#>U2IHk;Mc
z>9qRz(W9K(?FImRI5cF&J}OIKe}CUySf8Jt@2aYrayp%$l%D4E`7Kpd-%KWx4K|w%
z+uPf@SS+KwVwkNi-S-03043{wPV(*O^R4
zH4I}_QIuarQS6?cp8nWwx5wAk)>d|Rcb_SW5^Zj7{+1A85JHOHu);1&K-YDzDg7-P
zjeZV51CTFFXEYjJ25{8g-u}HT%OA4iSIKU!|2Gt1SysI6S>D~D&DR;Dc*Ef6M>?
N002ovPDHLkV1lsfDUSdE
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_BD_Start.png b/img/icons_light/tb_BD_Start.png
similarity index 100%
rename from img/buttons/tb_BD_Start.png
rename to img/icons_light/tb_BD_Start.png
diff --git a/img/buttons/tb_BD_Undo.png b/img/icons_light/tb_BD_Undo.png
similarity index 100%
rename from img/buttons/tb_BD_Undo.png
rename to img/icons_light/tb_BD_Undo.png
diff --git a/img/buttons/tb_BD_VarDelete.png b/img/icons_light/tb_BD_VarDelete.png
similarity index 100%
rename from img/buttons/tb_BD_VarDelete.png
rename to img/icons_light/tb_BD_VarDelete.png
diff --git a/img/buttons/tb_BD_VarLeave.png b/img/icons_light/tb_BD_VarLeave.png
similarity index 100%
rename from img/buttons/tb_BD_VarLeave.png
rename to img/icons_light/tb_BD_VarLeave.png
diff --git a/img/buttons/tb_BD_VarPromote.png b/img/icons_light/tb_BD_VarPromote.png
similarity index 100%
rename from img/buttons/tb_BD_VarPromote.png
rename to img/icons_light/tb_BD_VarPromote.png
diff --git a/img/buttons/tb_BD_exitvar.png b/img/icons_light/tb_BD_exitvar.png
similarity index 100%
rename from img/buttons/tb_BD_exitvar.png
rename to img/icons_light/tb_BD_exitvar.png
diff --git a/tcl/board.tcl b/tcl/board.tcl
index 9f0def2f4..f402339b8 100644
--- a/tcl/board.tcl
+++ b/tcl/board.tcl
@@ -536,10 +536,10 @@ proc ::board::addInfoBar {w varname} {
$w.bar.info.t tag bind click "$w.bar.info.t configure -cursor hand2"
$w.bar.info.t tag bind click "$w.bar.info.t configure -cursor {}"
grid propagate $w.bar.info 0
- ttk::button $w.bar.leavevar -image tb_BD_BackStart -style Toolbutton
- ttk::button $w.bar.back -image tb_BD_Back -style Toolbutton
- ttk::button $w.bar.forward -image tb_BD_Forward -style Toolbutton
- ttk::button $w.bar.endvar -image tb_BD_ForwardEnd -style Toolbutton
+ ttk::button $w.bar.leavevar -image ::icon::tb_BD_BackStart -style Toolbutton
+ ttk::button $w.bar.back -image ::icon::tb_BD_Back -style Toolbutton
+ ttk::button $w.bar.forward -image ::icon::tb_BD_Forward -style Toolbutton
+ ttk::button $w.bar.endvar -image ::icon::tb_BD_ForwardEnd -style Toolbutton
set menu [::board::newToolBar_ $w $varname]
ttk::button $w.bar.cmd -image tb_BD_ShowToolbar -style Toolbutton \
-command "::board::updateToolBar_ $menu $varname $w.bar.cmd"
@@ -742,28 +742,28 @@ proc ::board::newToolBar_ {{w} {varname}} {
global "$varname"
set m [menu $w.menu_back]
- $m add command -label " [tr BackToMainline]" -image tb_BD_BackToMainline -compound left
- $m add command -label " [tr EditDelete]" -image tb_BD_VarDelete -compound left
- $m add command -label " [tr LeaveVariant]" -image tb_BD_VarLeave -compound left
- $m add command -label " [tr GameStart]" -image tb_BD_Start -compound left -accelerator ""
+ $m add command -label " [tr BackToMainline]" -image ::icon::tb_BD_BackToMainline -compound left
+ $m add command -label " [tr EditDelete]" -image ::icon::tb_BD_VarDelete -compound left
+ $m add command -label " [tr LeaveVariant]" -image ::icon::tb_BD_VarLeave -compound left
+ $m add command -label " [tr GameStart]" -image ::icon::tb_BD_Start -compound left -accelerator ""
::bind $w.bar.back "::board::updateToolBar_ $m $varname %W"
set m [menu $w.menu_forw]
- $m add command -label " [tr Autoplay]" -image tb_BD_Autoplay -compound left
- $m add command -label " [tr GameEnd]" -image tb_BD_End -compound left -accelerator ""
+ $m add command -label " [tr Autoplay]" -image ::icon::tb_BD_Autoplay -compound left
+ $m add command -label " [tr GameEnd]" -image ::icon::tb_BD_End -compound left -accelerator ""
::bind $w.bar.forward "::board::updateToolBar_ $m $varname %W"
set m [menu $w.menu]
- $m add command -label " [tr EditSetup]" -image tb_BD_SetupBoard -compound left
- $m add command -label " [tr IERotate]" -image tb_BD_Flip -compound left
- $m add command -label " [tr SelectMarker]" -image tb_BD_SelectMarker -compound left
- $m add command -label " [tr ShowHideMaterial]" -image tb_BD_Material -compound left
- $m add command -label " [tr ShowHideEvalBar]" -image tb_BD_Scorebar -compound left
+ $m add command -label " [tr EditSetup]" -image ::icon::tb_BD_SetupBoard -compound left
+ $m add command -label " [tr IERotate]" -image ::icon::tb_BD_Flip -compound left
+ $m add command -label " [tr SelectMarker]" -image ::icon::tb_BD_SelectMarker -compound left
+ $m add command -label " [tr ShowHideMaterial]" -image ::icon::tb_BD_Material -compound left
+ $m add command -label " [tr ShowHideEvalBar]" -image ::icon::tb_BD_Scorebar -compound left
$m add command -label " [tr ConfigureScid]" -image tb_BD_Layout -compound left
- set ${varname}(tb_BD_Flip) "::board::flip $w"
- set ${varname}(tb_BD_Material) "::board::toggleMaterial $w"
- set ${varname}(tb_BD_Scorebar) "::board::toggleEvalBar $w"
+ set ${varname}(::icon::tb_BD_Flip) "::board::flip $w"
+ set ${varname}(::icon::tb_BD_Material) "::board::toggleMaterial $w"
+ set ${varname}(::icon::tb_BD_Scorebar) "::board::toggleEvalBar $w"
set ${varname}(tb_BD_Layout) {::preferences::Open toggle}
return $m
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index 51b6668fc..d63761700 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -8050,7 +8050,7 @@ set helpText(F,GameInfoBar) {
flèche Droite ). Un Clic-Droit avec la souris ouvre le
menu contextuel suivant :
- Jeu automatique.
+ Jeu automatique.
Fin de partie (raccourci :
touche Fin ).
diff --git a/tcl/main.tcl b/tcl/main.tcl
index 69255b33c..e8b8855b6 100644
--- a/tcl/main.tcl
+++ b/tcl/main.tcl
@@ -264,40 +264,40 @@ proc updateMainToolbar {} {
if {[sc_pos isAt start]} {
::board::setButtonCmd .main.board leavevar ""
::board::setButtonCmd .main.board back ""
- unset -nocomplain ::gameInfoBar(tb_BD_Start)
+ unset -nocomplain ::gameInfoBar(::icon::tb_BD_Start)
} else {
::board::setButtonCmd .main.board leavevar "::move::ExitVarOrStart"
::board::setButtonCmd .main.board back "::move::Back"
- set ::gameInfoBar(tb_BD_Start) "::move::Start"
+ set ::gameInfoBar(::icon::tb_BD_Start) "::move::Start"
}
if {[sc_pos isAt end] || [sc_pos isAt vend]} {
::board::setButtonCmd .main.board forward ""
::board::setButtonCmd .main.board endvar ""
- unset -nocomplain ::gameInfoBar(tb_BD_End)
- unset -nocomplain ::gameInfoBar(tb_BD_Autoplay)
+ unset -nocomplain ::gameInfoBar(::icon::tb_BD_End)
+ unset -nocomplain ::gameInfoBar(::icons::tb_BD_Autoplay)
} else {
::board::setButtonCmd .main.board forward "::move::Forward"
::board::setButtonCmd .main.board endvar "::move::EndVar"
- set ::gameInfoBar(tb_BD_End) "::move::End"
- set ::gameInfoBar(tb_BD_Autoplay) "::legacy_engine startAutoplay"
+ set ::gameInfoBar(::icon::tb_BD_End) "::move::End"
+ set ::gameInfoBar(::icons::tb_BD_Autoplay) "::legacy_engine startAutoplay"
}
if {[sc_var level] == 0} {
- unset -nocomplain ::gameInfoBar(tb_BD_VarDelete)
- unset -nocomplain ::gameInfoBar(tb_BD_VarPromote)
- unset -nocomplain ::gameInfoBar(tb_BD_VarLeave)
- unset -nocomplain ::gameInfoBar(tb_BD_BackToMainline)
- ::board::setButtonImg .main.board leavevar tb_BD_BackStart
+ unset -nocomplain ::gameInfoBar(::icon::tb_BD_VarDelete)
+ unset -nocomplain ::gameInfoBar(::icon::tb_BD_VarPromote)
+ unset -nocomplain ::gameInfoBar(::icon::tb_BD_VarLeave)
+ unset -nocomplain ::gameInfoBar(::icon::tb_BD_BackToMainline)
+ ::board::setButtonImg .main.board leavevar ::icon::tb_BD_BackStart
} else {
- set ::gameInfoBar(tb_BD_VarDelete) { ::pgn::deleteVar }
- set ::gameInfoBar(tb_BD_VarPromote) { ::pgn::mainVar }
- set ::gameInfoBar(tb_BD_VarLeave) { ::move::ExitVar }
- set ::gameInfoBar(tb_BD_BackToMainline) { while {[sc_var level] != 0} {::move::ExitVar} }
- ::board::setButtonImg .main.board leavevar tb_BD_exitvar
+ set ::gameInfoBar(::icon::tb_BD_VarDelete) { ::pgn::deleteVar }
+ set ::gameInfoBar(::icon::tb_BD_VarPromote) { ::pgn::mainVar }
+ set ::gameInfoBar(::icon::tb_BD_VarLeave) { ::move::ExitVar }
+ set ::gameInfoBar(::icon::tb_BD_BackToMainline) { while {[sc_var level] != 0} {::move::ExitVar} }
+ ::board::setButtonImg .main.board leavevar ::icon::tb_BD_exitvar
}
- set ::gameInfoBar(tb_BD_SetupBoard) "setupBoard"
- set ::gameInfoBar(tb_BD_SelectMarker) "::selectMarker"
+ set ::gameInfoBar(::icon::tb_BD_SetupBoard) "setupBoard"
+ set ::gameInfoBar(::icon::tb_BD_SelectMarker) "::selectMarker"
}
# Update the "tree" filter of databases that have a view (gamelist or tree windows)
@@ -445,7 +445,7 @@ proc ::createMainEvalBarMenu {w} {
}
$w.evalbar_menu add separator
$w.evalbar_menu add command -label [tr Hide] \
- -command { {*}$::gameInfoBar(tb_BD_Scorebar) }
+ -command { {*}$::gameInfoBar(::icon::tb_BD_Scorebar) }
return $w.evalbar_menu
}
@@ -1188,8 +1188,8 @@ proc CreateMainBoard { {w} } {
::board::addNamesBar $w.board gamePlayers
::board::addInfoBar $w.board gameInfoBar
- set ::gameInfoBar(tb_BD_Material) "set ::gameInfo(showMaterial) \[::board::toggleMaterial $w.board\]"
- set ::gameInfoBar(tb_BD_Scorebar) [list apply {{w} {
+ set ::gameInfoBar(::icon::tb_BD_Material) "set ::gameInfo(showMaterial) \[::board::toggleMaterial $w.board\]"
+ set ::gameInfoBar(::icon::tb_BD_Scorebar) [list apply {{w} {
set ::showEvalBar($w) [::board::toggleEvalBar $w.board]
unset -nocomplain ::mainEvalBarEngineID_
::board::updateEvalBar .main.board ""
@@ -1197,13 +1197,13 @@ proc CreateMainBoard { {w} } {
}} $w]
menu .main.menuaddchoice
- .main.menuaddchoice add command -label " Undo" -image tb_BD_Undo -compound left \
+ .main.menuaddchoice add command -label " Undo" -image ::icon::tb_BD_Undo -compound left \
-command {undoFeature undo}
- .main.menuaddchoice add command -label " $::tr(ReplaceMove)" -image tb_BD_Replace -compound left \
+ .main.menuaddchoice add command -label " $::tr(ReplaceMove)" -image ::icon::tb_BD_Replace -compound left \
-command {sc_game undo; addMoveEx $::gameLastMove replace pgnonly}
- .main.menuaddchoice add command -label " $::tr(NewMainLine)" -image tb_BD_NewMainline -compound left \
+ .main.menuaddchoice add command -label " $::tr(NewMainLine)" -image ::icon::tb_BD_NewMainline -compound left \
-command {sc_game undo; addMoveEx $::gameLastMove mainline pgnonly}
- .main.menuaddchoice add command -label " $::tr(AddNewVar)" -image tb_BD_NewVar -compound left \
+ .main.menuaddchoice add command -label " $::tr(AddNewVar)" -image ::icon::tb_BD_NewVar -compound left \
-command {sc_game undo; addMoveEx $::gameLastMove var pgnonly}
InitToolbar .main.tb
From bcf06f635c8b8c482dfd497108c3e7008adf57d5 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Fri, 3 Apr 2026 18:38:25 +0200
Subject: [PATCH 2/9] separate icons for dark or light theme in engine window
and hardware
---
img/icons_dark/tb_eng_addbestmove.png | Bin 0 -> 434 bytes
img/icons_dark/tb_eng_addlines.png | Bin 0 -> 141 bytes
img/icons_dark/tb_eng_config.png | Bin 0 -> 187 bytes
.../tb_eng_connecting.png | Bin
img/{buttons => icons_dark}/tb_eng_error.png | Bin
img/icons_dark/tb_eng_lock.png | Bin 0 -> 199 bytes
img/icons_dark/tb_eng_off.png | Bin 0 -> 365 bytes
img/{buttons => icons_dark}/tb_eng_ok.png | Bin
img/icons_dark/tb_eng_on.png | Bin 0 -> 634 bytes
.../tb_eng_addbestmove.png | Bin
.../tb_eng_addlines.png | Bin
.../tb_eng_config.png | Bin
img/icons_light/tb_eng_connecting.png | Bin 0 -> 1608 bytes
img/icons_light/tb_eng_error.png | Bin 0 -> 1574 bytes
img/{buttons => icons_light}/tb_eng_lock.png | Bin
img/{buttons => icons_light}/tb_eng_off.png | Bin
img/icons_light/tb_eng_ok.png | Bin 0 -> 1734 bytes
img/{buttons => icons_light}/tb_eng_on.png | Bin
tcl/help/help.tcl | 14 ++++++------
tcl/lang/francais.tcl | 14 ++++++------
tcl/tools/analysis.tcl | 6 +++---
tcl/tools/inputengine.tcl | 20 +++++++++---------
tcl/tools/novag.tcl | 4 ++--
tcl/windows/engine.tcl | 10 ++++-----
24 files changed, 34 insertions(+), 34 deletions(-)
create mode 100644 img/icons_dark/tb_eng_addbestmove.png
create mode 100644 img/icons_dark/tb_eng_addlines.png
create mode 100644 img/icons_dark/tb_eng_config.png
rename img/{buttons => icons_dark}/tb_eng_connecting.png (100%)
rename img/{buttons => icons_dark}/tb_eng_error.png (100%)
create mode 100644 img/icons_dark/tb_eng_lock.png
create mode 100644 img/icons_dark/tb_eng_off.png
rename img/{buttons => icons_dark}/tb_eng_ok.png (100%)
create mode 100644 img/icons_dark/tb_eng_on.png
rename img/{buttons => icons_light}/tb_eng_addbestmove.png (100%)
rename img/{buttons => icons_light}/tb_eng_addlines.png (100%)
rename img/{buttons => icons_light}/tb_eng_config.png (100%)
create mode 100644 img/icons_light/tb_eng_connecting.png
create mode 100644 img/icons_light/tb_eng_error.png
rename img/{buttons => icons_light}/tb_eng_lock.png (100%)
rename img/{buttons => icons_light}/tb_eng_off.png (100%)
create mode 100644 img/icons_light/tb_eng_ok.png
rename img/{buttons => icons_light}/tb_eng_on.png (100%)
diff --git a/img/icons_dark/tb_eng_addbestmove.png b/img/icons_dark/tb_eng_addbestmove.png
new file mode 100644
index 0000000000000000000000000000000000000000..9f6c83411318aca3f137766bfd2934b790da65c8
GIT binary patch
literal 434
zcmV;j0ZsmiP)<2;*o`+>t246)&u|J~a5f@dXJ#K>;Bbd6
z9>6OMW3k4K0$;(2h?vjJ{^DS`+#89Axi(h%7#?B}A8@=b@!@2FAHZ7-wQ^d3eb`r0
zp2MM1n#GxjSgA5|2?IESRlF7Vr)iJDBM*ZsUGLtpD1gDO|`mYIg
chP(~*6DRnA2{qA_{r~^~07*qoM6N<$g6nw0SpWb4
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_eng_addlines.png b/img/icons_dark/tb_eng_addlines.png
new file mode 100644
index 0000000000000000000000000000000000000000..7022386ca8ed5d4babd47978f79d5a53f5012172
GIT binary patch
literal 141
zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjA)YRdAs)w*6C}(YTv-|X-+!*v
z*ZH@e8C|^fuxCe1Zd%$gj;}WZ+1S{$jn3LT_3-}-e9-vc*`Du0@Fb0`XHy*clp>Dw
lt6jdBVih&34@}=+U`Xt8eSSD~(lVg=44$rjF6*2Ung9$;H1q%f
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_eng_config.png b/img/icons_dark/tb_eng_config.png
new file mode 100644
index 0000000000000000000000000000000000000000..4299552fdee2748b774911aa76b9ee67d5af39df
GIT binary patch
literal 187
zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjO`a}}As)w*6C_w!7?g!>w|UsE
zmz0pmo0N0#^YiongD*dwG-*-~4-n`WG@9q%yI|9?OkkyZLu2DZX2DlQ0W}8>9N5t0
z!Tm%+LPD5gb(#0hK1sZ*7QUdh?a-5!RbkrtN;yv@8T%&~aJ`#Y!18CMWzcqo*VVt;IWElb
z7MQ3|yX@xcj~qX}KZtQgKM?HPbMI5w@37kLj6b5O%iHJHT>ceu)%J4mB(`1nFMbpbPAaJe{|fa<`{SMNBZ^GvGLtG-n-(t4HSVcWAJqKb6Mw<&;$UGAySb5
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_eng_off.png b/img/icons_dark/tb_eng_off.png
new file mode 100644
index 0000000000000000000000000000000000000000..65ca16f0df9db9c1cdce37a742a64073d02f6e58
GIT binary patch
literal 365
zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjY)RhkE)4%b@U_I1CZGssfk$L9
zP{%b8W}J{;IR_+IR^XTpq`~?bDtwkM19A#IT^vI^j=!Cesfqi&z=Od
zT(!hCq9i4;B-JXpC>2OC7#SEE>Vl9-h@r8Sv7wcbfwqC6m4ShR{c|rA4Y~O#nQ4`{
zH3TNbe*mmtT}V`<;yxP!WTttDnm{r-UW|
D2;g?h
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_eng_ok.png b/img/icons_dark/tb_eng_ok.png
similarity index 100%
rename from img/buttons/tb_eng_ok.png
rename to img/icons_dark/tb_eng_ok.png
diff --git a/img/icons_dark/tb_eng_on.png b/img/icons_dark/tb_eng_on.png
new file mode 100644
index 0000000000000000000000000000000000000000..5ee388b0ca4cad382994f245f106bdec7e2f2872
GIT binary patch
literal 634
zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjY)RhkE)4%b@U_I1CZGssfk$L9
zP{%b8W}J{;IR_+IR^XTpq`~?bDtwkMV_;yc^K@|x@i_i=f~_|bqeR1ey9FM1n>I-?
zExfw)q`bh5N0+XtxCH-ql5xqJ+?F#rW5bd*m&q4Yn-=Kk@v!R`ShRM3-u0<@_nu`^
zi~PE~6{;T0jjNEmC;sneZktY-@d1+$91`||Gge>CV%MAg+Hn5)`^@|ena@il6NADEK=dayS+g>dk!Q}Qv
zXulEb8pg?G-T!|k?_pT7`fQGHhL0vNT2xD1BT7;dOH!?pi&B9UgOP!up)LrSgcurI
z85>#|8EYFDS{WD!UjKU?MMG|WN@iLmZVd@tuGv5hk{}y`^V3So6N^$A%FE03GV`*F
clM@S4_413-XTP(N0xDwgboFyt=akR{0M2pxn*aa+
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_eng_addbestmove.png b/img/icons_light/tb_eng_addbestmove.png
similarity index 100%
rename from img/buttons/tb_eng_addbestmove.png
rename to img/icons_light/tb_eng_addbestmove.png
diff --git a/img/buttons/tb_eng_addlines.png b/img/icons_light/tb_eng_addlines.png
similarity index 100%
rename from img/buttons/tb_eng_addlines.png
rename to img/icons_light/tb_eng_addlines.png
diff --git a/img/buttons/tb_eng_config.png b/img/icons_light/tb_eng_config.png
similarity index 100%
rename from img/buttons/tb_eng_config.png
rename to img/icons_light/tb_eng_config.png
diff --git a/img/icons_light/tb_eng_connecting.png b/img/icons_light/tb_eng_connecting.png
new file mode 100644
index 0000000000000000000000000000000000000000..1dffc2ab264252a12647ece3563a671fe9a2dafd
GIT binary patch
literal 1608
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 Analysis window
To temporarily interrupt the calculation process one can use the
- stop engine button (). Once pressed, this button
- changes to the start engine button () which will
+ stop engine button (). Once pressed, this button
+ changes to the start engine button () which will
restart the engines analysis. Note, however, that most engines will
restart the whole analysis again, forgetting all results that where
achieved in an earlier run. Only few engines are able to reuse the
@@ -4911,7 +4911,7 @@ set helpText(Novag) {Connecting the Novag Citrine Chess board
Once the proper port is set, choose Tools / Connect Hardware /
Connect Novag Citrine to hook up the board, or just click the
- hardware connection button . This
+ hardware connection button . This
button also shows the status of the
connection.
@@ -5035,17 +5035,17 @@ set helpText(HardwareStatus) {Status of External Hardware
the status of the external hardware it shows different icons:
-
+
This is the normal state after program startup and shows that no
external hardware is active at the moment. Pressing the button will
hook up the configured hardware.
-
+
Scid started the communication with the external hardware,
initialisation is in progress. Depending on the driver and hardware
connected, it may take some seconds for things to settle.
-
+
While communicating withe the external hardware some error
occurred. Usual sources of problems are e.g. another program
accessing the external hardware, the hardware is not connected to
@@ -5056,7 +5056,7 @@ set helpText(HardwareStatus) {Status of External Hardware
this case. Pressing the button will try again to hook up the
configured hardware.
-
+
The communication is established, the device is ready and can be
used for move input. Pressing the button will disconnect the
external hardware.
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index d63761700..60f41fb4b 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -5259,8 +5259,8 @@ set helpText(F,Analysis) {
Pour interrompre temporairement le processus de calcul, on peut utiliser la
- bouton d'arrêt du moteur (). Une fois pressé, ce bouton
- change le bouton de démarrage du moteur () qui
+ bouton d'arrêt du moteur (). Une fois pressé, ce bouton
+ change le bouton de démarrage du moteur () qui
redémarrez l'analyse des moteurs. Notez, cependant, que la plupart des moteurs
recommencer toute l'analyse, en oubliant tous les résultats que
réalisé lors d'un cycle précédent. Seuls quelques moteurs sont capables de réutiliser les
@@ -7526,7 +7526,7 @@ set helpText(F,Novag) {
Une fois que le bon port est défini, choisissez le menu
Outils Connecter un matériel Connecter Novag Citrine
pour connecter l'échiquier, ou cliquez simplement sur le bouton de connexion
- matérielle . Ce bouton
+ matérielle . Ce bouton
indique également l'état de la connexion.
###--- Description détaillée nécessaire ---###
@@ -7654,18 +7654,18 @@ set helpText(F,HardwareStatus) {
l'état du matériel externe, il affiche différentes icônes :
-
+
C'est l'état normal après le démarrage du programme et montre qu'aucun
matériel externe n'est actif pour le moment. Appuyer sur ce bouton
connectera le matériel configuré.
-
+
Scid a démarré la communication avec le matériel externe,
L'initialisation est en cours. En fonction du pilote et du matériel
connectés, ça peut prendre quelques secondes pour que les choses
se mettent en ordre.
-
+
Lors de la communication avec le matériel externe, une erreur s'est produite.
Les sources habituelles de problèmes matériel sont, par exemple,
qu'un autre programme à l'accès au matériel externe, que le matériel n'est
@@ -7677,7 +7677,7 @@ set helpText(F,HardwareStatus) {
ce cas. En appuyant sur ce bouton, Scid essaie de nouveau de se brancher
sur le matériel configuré.
-
+
La communication est établie, l'appareil est prêt et peut être
utilisé pour la saisie de coup. Une pression sur ce bouton déconnectera le
matériel externe.
diff --git a/tcl/tools/analysis.tcl b/tcl/tools/analysis.tcl
index fc4fb3eb7..869fd2bab 100644
--- a/tcl/tools/analysis.tcl
+++ b/tcl/tools/analysis.tcl
@@ -1820,7 +1820,7 @@ proc makeAnalysisWin { {n 1} {index -1} {autostart 1}} {
::utils::tooltip::Set $w.b1.multipv $::tr(Lines)
# add a button to start/stop engine analysis
- ttk::button $w.b1.bStartStop -image tb_eng_on -command "toggleEngineAnalysis $n"
+ ttk::button $w.b1.bStartStop -image ::icon::tb_eng_on -command "toggleEngineAnalysis $n"
::utils::tooltip::Set $w.b1.bStartStop "$::tr(StartEngine) (F[expr 3 + $n])"
if {$n == 1} {
@@ -2481,7 +2481,7 @@ proc startEngineAnalysis { {n 1} {force 0} } {
set b ".analysisWin$n.b1.bStartStop"
startAnalyzeMode $n $force
- $b configure -image tb_eng_off
+ $b configure -image ::icon::tb_eng_off
::utils::tooltip::Set $b "$::tr(StopEngine)(a)"
# enable lock button
.analysisWin$n.b1.lockengine configure -state normal
@@ -2498,7 +2498,7 @@ proc stopEngineAnalysis { {n 1} } {
set b ".analysisWin$n.b1.bStartStop"
stopAnalyzeMode $n
- $b configure -image tb_eng_on
+ $b configure -image ::icon::tb_eng_on
::utils::tooltip::Set $b "$::tr(StartEngine)"
# reset lock mode and disable lock button
set analysis(lockEngine$n) 1
diff --git a/tcl/tools/inputengine.tcl b/tcl/tools/inputengine.tcl
index ffc17f119..7b23037a6 100644
--- a/tcl/tools/inputengine.tcl
+++ b/tcl/tools/inputengine.tcl
@@ -64,7 +64,7 @@ namespace eval ExtHardware {
if { $::ExtHardware::showbutton == 1 } {
ttk::frame .main.fbutton.button.space4 -width 15
- button .main.fbutton.button.exthardware -image tb_eng_disconnected
+ button .main.fbutton.button.exthardware -image ::icon::tb_eng_disconnected
.main.fbutton.button.exthardware configure -relief flat -border 1 -highlightthickness 0 \
-anchor n -takefocus 0
bind .main.fbutton.button.exthardware "+.main.fbutton.button.exthardware configure -relief groove"
@@ -152,7 +152,7 @@ namespace eval ExtHardware {
destroy .exthardwareConfig
$::ExtHardware::bindbutton
}
- ttk::button $w.bCancel -text [::tr Cancel] -command "::ExtHardware::HWbuttonImg tb_eng_disconnected ; destroy $w"
+ ttk::button $w.bCancel -text [::tr Cancel] -command "::ExtHardware::HWbuttonImg ::icon::tb_eng_disconnected ; destroy $w"
packdlgbuttons $w.bCancel $w.bOk -in $w.buttons
grid $w.options -stick ew -row 0 -column 0
@@ -186,7 +186,7 @@ namespace eval ExtHardware {
if { $::ExtHardware::showbutton == 1 } {
ttk::frame .main.fbutton.button.space4 -width 15
- button .main.fbutton.button.exthardware -image tb_eng_disconnected
+ button .main.fbutton.button.exthardware -image ::icon::tb_eng_disconnected
.main.fbutton.button.exthardware configure -relief flat -border 1 -highlightthickness 0 \
-anchor n -takefocus 0
bind .main.fbutton.button.exthardware "+.main.fbutton.button.exthardware configure -relief groove"
@@ -215,7 +215,7 @@ namespace eval inputengine {
set InputEngine(log) ""
set InputEngine(logCount) 0
set InputEngine(init) 0
- set connectimg tb_eng_ok
+ set connectimg ::icon::tb_eng_ok
set MovingPieceImg $::board::letterToPiece(.)80
set MoveText " "
@@ -349,10 +349,10 @@ namespace eval inputengine {
set ::inputengine::port $::ExtHardware::port
set ::inputengine::param $::ExtHardware::param
- ::ExtHardware::HWbuttonImg tb_eng_connecting
+ ::ExtHardware::HWbuttonImg ::icon::tb_eng_connecting
if {[catch {set InputEngine(pipe) [open "| $engine $port $param" "r+"]} result]} {
- ::ExtHardware::HWbuttonImg tb_eng_error
+ ::ExtHardware::HWbuttonImg ::icon::tb_eng_error
tk_messageBox -title "Scid: Input Engine" -icon warning -type ok \
-message "[::tr IEUnableToStart]\n$engine $port $param"
::inputengine::resetEngine
@@ -370,11 +370,11 @@ namespace eval inputengine {
global ::inputengine::InputEngine
set pipe $::inputengine::InputEngine(pipe)
- set ::inputengine::connectimg tb_eng_connecting
+ set ::inputengine::connectimg ::icon::tb_eng_connecting
::inputengine::sendToEngine "stop"
::inputengine::sendToEngine "quit"
- set ::inputengine::connectimg tb_eng_disconnected
+ set ::inputengine::connectimg ::icon::tb_eng_disconnected
if { [winfo exists ::inputengine::.inputengineconsole]} {
destroy ::inputengine::.inputengineconsole
@@ -426,7 +426,7 @@ namespace eval inputengine {
proc resetEngine {} {
global ::inputengine::InputEngine
- ::ExtHardware::HWbuttonImg tb_eng_disconnected
+ ::ExtHardware::HWbuttonImg ::icon::tb_eng_disconnected
destroy .inputengineconsole
set ::inputengine::InputEngine(pipe) ""
set ::inputengine::InputEngine(log) ""
@@ -561,7 +561,7 @@ namespace eval inputengine {
tk_messageBox -title "Scid: Input Engine" \
-icon warning -type ok -message "Engine $err"
catch {close $pipe}
- ::ExtHardware::HWbuttonImg tb_eng_error
+ ::ExtHardware::HWbuttonImg ::icon::tb_eng_error
return
} \
"string Chessboard found and initialised*" {
diff --git a/tcl/tools/novag.tcl b/tcl/tools/novag.tcl
index 07e937e4a..3ff35a2b9 100644
--- a/tcl/tools/novag.tcl
+++ b/tcl/tools/novag.tcl
@@ -48,7 +48,7 @@ namespace eval novag {
update
# Set button to "connection in progress"
- ::ExtHardware::HWbuttonImg tb_eng_connecting
+ ::ExtHardware::HWbuttonImg ::icon::tb_eng_connecting
if {[catch { set fd [open $serial r+ ] } err]} {
tk_messageBox -type ok -icon error -parent . -title "Novag Citrine" -message "Connection error for $serial \n $err"
@@ -72,7 +72,7 @@ namespace eval novag {
set ::novag::connected 1
# Set button to "connected, ready to use"
- ::ExtHardware::HWbuttonImg tb_eng_ok
+ ::ExtHardware::HWbuttonImg ::icon::tb_eng_ok
}
##########################################################
proc disconnect {} {
diff --git a/tcl/windows/engine.tcl b/tcl/windows/engine.tcl
index 40a21307a..9d6f86ee0 100644
--- a/tcl/windows/engine.tcl
+++ b/tcl/windows/engine.tcl
@@ -280,12 +280,12 @@ proc ::enginewin::createDisplayFrame {id display} {
# Creates the buttons bar
proc ::enginewin::createButtonsBar {id btn display} {
- ttk::button $btn.startStop -image [list tb_eng_on pressed tb_eng_off user1 tb_eng_off] \
+ ttk::button $btn.startStop -image [list ::icon::tb_eng_on pressed ::icon::tb_eng_off user1 ::icon::tb_eng_off] \
-style Toolbutton -command "::enginewin::toggleStartStop $id"
#TODO: change the tooltip to "Start/stop engine"
::utils::tooltip::Set $btn.startStop [tr StartEngine]
- ttk::button $btn.lock -image tb_eng_lock -style Toolbutton -command [list apply {{id} {
+ ttk::button $btn.lock -image ::icon::tb_eng_lock -style Toolbutton -command [list apply {{id} {
if {[::enginewin::stateLocked $id]} {
::enginewin::changeState $id follow.*
::enginewin::onPosChanged $id
@@ -296,10 +296,10 @@ proc ::enginewin::createButtonsBar {id btn display} {
::utils::tooltip::Set $btn.lock [tr LockEngine]
set pv_lines $display.pv_lines
- ttk::button $btn.addbestmove -image tb_eng_addbestmove -style Toolbutton \
+ ttk::button $btn.addbestmove -image ::icon::tb_eng_addbestmove -style Toolbutton \
-command "::enginewin::exportMoves $pv_lines 1.0"
::utils::tooltip::Set $btn.addbestmove [tr AddMove]
- ttk::button $btn.addlines -image tb_eng_addlines -style Toolbutton \
+ ttk::button $btn.addlines -image ::icon::tb_eng_addlines -style Toolbutton \
-command "::enginewin::exportLines $pv_lines"
::utils::tooltip::Set $btn.addlines [tr AddAllVariations]
@@ -364,7 +364,7 @@ proc ::enginewin::createButtonsBar {id btn display} {
ttk::menubutton $btn.autorun -text "\u601D" \
-style EnginewinAuto.Toolbutton -direction above -menu $btn.menus.autorun
- ttk::button $btn.config -image tb_eng_config -style Toolbutton \
+ ttk::button $btn.config -image ::icon::tb_eng_config -style Toolbutton \
-command "::enginewin::toggleConfigPane $id"
$btn.config state pressed
From 6f7f87579eedde42ad90f720f4e1f57989acc8c4 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Fri, 3 Apr 2026 21:40:46 +0200
Subject: [PATCH 3/9] separate icons for dark or light theme in analysis window
---
img/icons_dark/tb_addallvars.png | Bin 0 -> 634 bytes
img/icons_dark/tb_addmove.png | Bin 0 -> 627 bytes
img/icons_dark/tb_addvar.png | Bin 0 -> 659 bytes
img/icons_dark/tb_annotate.png | Bin 0 -> 868 bytes
img/icons_dark/tb_annotate_on.png | Bin 0 -> 918 bytes
img/icons_dark/tb_cpu.png | Bin 0 -> 523 bytes
img/icons_dark/tb_cpu_hi.png | Bin 0 -> 504 bytes
img/icons_dark/tb_engineinfo.png | Bin 0 -> 1056 bytes
img/icons_dark/tb_finish_off.png | Bin 0 -> 1132 bytes
img/icons_dark/tb_finish_on.png | Bin 0 -> 985 bytes
img/icons_dark/tb_help.png | Bin 0 -> 461 bytes
img/icons_dark/tb_lockengine.png | Bin 0 -> 226 bytes
img/icons_dark/tb_training.png | Bin 0 -> 560 bytes
img/{buttons => icons_dark}/tb_update.png | Bin
.../tb_addallvars.png | Bin
img/{buttons => icons_light}/tb_addmove.png | Bin
img/{buttons => icons_light}/tb_addvar.png | Bin
img/{buttons => icons_light}/tb_annotate.png | Bin
.../tb_annotate_on.png | Bin
img/{buttons => icons_light}/tb_cpu.png | Bin
img/{buttons => icons_light}/tb_cpu_hi.png | Bin
.../tb_engineinfo.png | Bin
.../tb_finish_off.png | Bin
img/{buttons => icons_light}/tb_finish_on.png | Bin
img/{buttons => icons_light}/tb_help.png | Bin
.../tb_lockengine.png | Bin
img/{buttons => icons_light}/tb_training.png | Bin
img/icons_light/tb_update.png | Bin 0 -> 711 bytes
tcl/help/help.tcl | 6 +--
tcl/lang/francais.tcl | 4 +-
tcl/main.tcl | 2 +-
tcl/tools/analysis.tcl | 36 +++++++++---------
32 files changed, 24 insertions(+), 24 deletions(-)
create mode 100644 img/icons_dark/tb_addallvars.png
create mode 100644 img/icons_dark/tb_addmove.png
create mode 100644 img/icons_dark/tb_addvar.png
create mode 100644 img/icons_dark/tb_annotate.png
create mode 100644 img/icons_dark/tb_annotate_on.png
create mode 100644 img/icons_dark/tb_cpu.png
create mode 100644 img/icons_dark/tb_cpu_hi.png
create mode 100644 img/icons_dark/tb_engineinfo.png
create mode 100644 img/icons_dark/tb_finish_off.png
create mode 100644 img/icons_dark/tb_finish_on.png
create mode 100644 img/icons_dark/tb_help.png
create mode 100644 img/icons_dark/tb_lockengine.png
create mode 100644 img/icons_dark/tb_training.png
rename img/{buttons => icons_dark}/tb_update.png (100%)
rename img/{buttons => icons_light}/tb_addallvars.png (100%)
rename img/{buttons => icons_light}/tb_addmove.png (100%)
rename img/{buttons => icons_light}/tb_addvar.png (100%)
rename img/{buttons => icons_light}/tb_annotate.png (100%)
rename img/{buttons => icons_light}/tb_annotate_on.png (100%)
rename img/{buttons => icons_light}/tb_cpu.png (100%)
rename img/{buttons => icons_light}/tb_cpu_hi.png (100%)
rename img/{buttons => icons_light}/tb_engineinfo.png (100%)
rename img/{buttons => icons_light}/tb_finish_off.png (100%)
rename img/{buttons => icons_light}/tb_finish_on.png (100%)
rename img/{buttons => icons_light}/tb_help.png (100%)
rename img/{buttons => icons_light}/tb_lockengine.png (100%)
rename img/{buttons => icons_light}/tb_training.png (100%)
create mode 100644 img/icons_light/tb_update.png
diff --git a/img/icons_dark/tb_addallvars.png b/img/icons_dark/tb_addallvars.png
new file mode 100644
index 0000000000000000000000000000000000000000..749d23001e244d5259848587794622526ecd88d7
GIT binary patch
literal 634
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
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_annotate_on.png b/img/icons_dark/tb_annotate_on.png
new file mode 100644
index 0000000000000000000000000000000000000000..8ae3c26b9d95528dc6bcc4ccfa0f590fabd45b71
GIT binary patch
literal 918
zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_*1mUKs7M+SzC{oH>NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5lweBoc6VX;-`;;_Kaj^+
z;1LNlk@q?XGdgL^t^f+Mmw5WRvOi(v64VmtOzG4HYU=cKaSX9IT{_v@BP3Dec>VKp
zOM}v@CMPztB#tKDeiy=O$wdkE#^Y&DGmK-)5P4?BDb(rc9QGhfTA*
zcWvPO)c!zd`fd)xOx5M`%b)Nslnr>I@5Ii=Hn+0f#*t^0((}V71l@{RnCEY6l)3P_
zvVCm>uS7`Od7brPl9sWhI_3-)f&+>-${w`elkeKVxn$F?$1Cr6=@q_o={R}WiCz8k
zx!>OsLPZ}pB-DD%Xm~5N*+Sy|Grj2DHy%Zo9Y6iI{njQHX6E^3%~xLU+;ceZ&(lV(
zcpIzpOgjvM{x|fkah~>J(}G7F|DON;8&|i>Ow&Tz^4AQ$J2H$ym-+=JGl~d!#lPVU
z5n#XmZ_}$Yr>CtiX}hB^Z}Nt~y9Yz=mmlhRWaKr&VCA=6Qv2s>=pFLxJIlXjws8Kd
zSvi{=MDncKZhCFG@NnY#bw2ZIy>)mG99(|fe9AJ7s^azE#Dq6n^!(n~F=g$AlJ45S
zq0XvZ>3_GmoPC(R*)ru%+-kGOJCpbJ8$Y|TjJc(|ws(4+@U}HI5=)sI)ERhkgO(&c
z?E9o`8{U3~rQtw{Rhm;#)w?;*=H8Pvt_kSAev(IWP0nrE+hS%9fBfil6^=bRdEFoT
zi6wqM6H9{Ru5Ws^->l@bkI2epZK^&7!8!LnJL>QIx$$rHlDQnexNoeneY!Ev@&PcN
zs+PD$l%ynNS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5lweBoc6VX;-`;;_Kaj^+
z;1LNlk@q?XGdgL^t^f+Mmw5WRvOi(v64Vm>m%MW?Q0Skhi(`nz>8Vo;^NuJ8xXK6K
z3aRc0xx;w#dD=sUm1iu2o-)|8-e_oavG!2rHa`4YK3O@gd;4q8llMQ_vpUFpl31p2
z_QaW04h%1E?%!~G&l_9)t+&6|WiP#R$VlXd?X=h!R%3%L77tZDxma2_Se68&sb1{o
zewp)NU6^vvk*^-LJsx`54thAErRy8k*zIj{y
zdFcH5lGU6`o4fpPDE;bxx;S|2fg5)I)9>58|JLF6{BuT{spQ%>0naTiWVOri|NroP
zwTYmt{?4-ICyJ)?Pu^O}Z)ceB`Rk_%4LkI?@9@W;t$cmw?w((>f3g}JUvsBPfcZHv
zBveaWBT7;dOH!?pi&B9UgOP!efv$n6uAxDQp_!G5sg<#jwt<0_fx+=z8`hv`$jwj5
pOsfQHFtpG$umqwILrW_o3o9d2h=vcz8H_*;44$rjF6*2UngAkD!$AN5
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_cpu_hi.png b/img/icons_dark/tb_cpu_hi.png
new file mode 100644
index 0000000000000000000000000000000000000000..6cd23e191235c2190e17aac59d54ecb5850995c6
GIT binary patch
literal 504
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
Hu0mjfx4fu!
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_help.png b/img/icons_dark/tb_help.png
new file mode 100644
index 0000000000000000000000000000000000000000..10bad8b86befdd54e00711776869e02fe1a42a0a
GIT binary patch
literal 461
zcmV;;0W$uHP)^B#rU8a5$H9zV~;256`)oivQDCdlF`hX*grip|16B
zu3D872dy5!e%Bpw&{XP!Q*OKDvw1&zfpHg|>^s3;7x2n*8^|UHDk#f?rkeHSscC||
za#%=LIOe_?u;r0eIW(Mg*Cb}ldFW*~Pb5jk>{#$rv}?S()Jn#!V0*}Y=xE!rw_4)1^Zx>3AJw!pRYwCR+;Ltk^1#w4
zKvqc!E&E2R5P7buX~(-kK&Jn%5$2Ov$3bHxV7UGOjBaxuDS@uL00000NkvXXu0mjf
DmJ-v;
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_lockengine.png b/img/icons_dark/tb_lockengine.png
new file mode 100644
index 0000000000000000000000000000000000000000..50032b0d2015c5a3465df4d2aa3b8f6e45d00e7b
GIT binary patch
literal 226
zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_+im7Xq+Ar_~PPTtFV$UvagJ~~oq
z^OB`!dEywORJ2rXZD2A6@^pF%mTESf`0-q*y=nEIHQ!&Be6wAl^I7-r^A8NS=BTp!
z9CY2zbBFPU;rx;WmId{v1rK~#xVSS-$TgQahlwLEjIUF1uk*5Y-zqr~(S4KZYr|GX
zO=h@!$gAWd&!)WT|JW@agxz+`YFNl}NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5lweBoc6VX;-`;;_Kaj^+
z;1LNlk@q?XGdgL^t^f+Mmw5WRvOi(v64Vm>m%MW?0|TS7r;B5V#p$z?e7%l12(<3!
zs_pm7PuDZFYz~(YFt?TXz_*U=tXt~?K^FfBF^&^*Cd)X5bG}`4c`{GhzkpUyfBr}=jF?%|P~$GBwH^p4W*1KR8Jt}!f8-EgZ|k1>NiZq27xVj_1t
zA6ai_5WQlWw*Fp2lE$WE7uG2>>w`uTmTHt`4VBNM;uMKYn^7@Ap`m|7VdX&V?=85kVjwP6j4hTQy=%(P0N215&714~^)
e!w^GDD?@Xj9*Blj0UT^V4Gf;HelF{r5}E)^AJA?9
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_update.png b/img/icons_dark/tb_update.png
similarity index 100%
rename from img/buttons/tb_update.png
rename to img/icons_dark/tb_update.png
diff --git a/img/buttons/tb_addallvars.png b/img/icons_light/tb_addallvars.png
similarity index 100%
rename from img/buttons/tb_addallvars.png
rename to img/icons_light/tb_addallvars.png
diff --git a/img/buttons/tb_addmove.png b/img/icons_light/tb_addmove.png
similarity index 100%
rename from img/buttons/tb_addmove.png
rename to img/icons_light/tb_addmove.png
diff --git a/img/buttons/tb_addvar.png b/img/icons_light/tb_addvar.png
similarity index 100%
rename from img/buttons/tb_addvar.png
rename to img/icons_light/tb_addvar.png
diff --git a/img/buttons/tb_annotate.png b/img/icons_light/tb_annotate.png
similarity index 100%
rename from img/buttons/tb_annotate.png
rename to img/icons_light/tb_annotate.png
diff --git a/img/buttons/tb_annotate_on.png b/img/icons_light/tb_annotate_on.png
similarity index 100%
rename from img/buttons/tb_annotate_on.png
rename to img/icons_light/tb_annotate_on.png
diff --git a/img/buttons/tb_cpu.png b/img/icons_light/tb_cpu.png
similarity index 100%
rename from img/buttons/tb_cpu.png
rename to img/icons_light/tb_cpu.png
diff --git a/img/buttons/tb_cpu_hi.png b/img/icons_light/tb_cpu_hi.png
similarity index 100%
rename from img/buttons/tb_cpu_hi.png
rename to img/icons_light/tb_cpu_hi.png
diff --git a/img/buttons/tb_engineinfo.png b/img/icons_light/tb_engineinfo.png
similarity index 100%
rename from img/buttons/tb_engineinfo.png
rename to img/icons_light/tb_engineinfo.png
diff --git a/img/buttons/tb_finish_off.png b/img/icons_light/tb_finish_off.png
similarity index 100%
rename from img/buttons/tb_finish_off.png
rename to img/icons_light/tb_finish_off.png
diff --git a/img/buttons/tb_finish_on.png b/img/icons_light/tb_finish_on.png
similarity index 100%
rename from img/buttons/tb_finish_on.png
rename to img/icons_light/tb_finish_on.png
diff --git a/img/buttons/tb_help.png b/img/icons_light/tb_help.png
similarity index 100%
rename from img/buttons/tb_help.png
rename to img/icons_light/tb_help.png
diff --git a/img/buttons/tb_lockengine.png b/img/icons_light/tb_lockengine.png
similarity index 100%
rename from img/buttons/tb_lockengine.png
rename to img/icons_light/tb_lockengine.png
diff --git a/img/buttons/tb_training.png b/img/icons_light/tb_training.png
similarity index 100%
rename from img/buttons/tb_training.png
rename to img/icons_light/tb_training.png
diff --git a/img/icons_light/tb_update.png b/img/icons_light/tb_update.png
new file mode 100644
index 0000000000000000000000000000000000000000..8abd4ddb6ba00af5f3581583326e366ddf402d7b
GIT binary patch
literal 711
zcmV;&0yzDNP)u(4N7gTdhx!IOPhI}Rlmtkck
zg*a)KiP1TIPVc>O=H~u{=NboO;a7DPK^iHdj8bWe5Ee23%$M4()oX0qm?cGYgq&%|
zannFPn`F!q61??5uLwUsU1>_jLHr6qS}E#CbT&041&hfU33qNJ#ohL<)3#6x@TTQ`
z5}8r~1*8%Ci?rS*n61B@LUFnUK={NE!+5*8W}5&SY<@EuC{iJBG3#7GICx*5GOD6lh%Usfu*d
zav%q*HBsN!?1+cpDgCc@rPz>R=
zfU+s(BfB(JYU#Lbt%4If+ZEj!_fxu2NG9u%{$zI|!08ef?x^*a*{uaVPXQ*okG?!I
z4ltwEZ5}%nws+<+Bb?EMSoF$DrDa+7{?PIwb>H2fdKeL*sBIOC!P)!wa?6+X$ah!U
zb-U_kT7&@9h?l}edtjeC`_8vlgA?)F!ajr
tj14j-=KgroQXvi#Dj@=R#6165egUdV*Ya!q&wBs>002ovPDHLkV1g2=Kbrsm
literal 0
HcmV?d00001
diff --git a/tcl/help/help.tcl b/tcl/help/help.tcl
index 9665945c6..0633e7cf7 100644
--- a/tcl/help/help.tcl
+++ b/tcl/help/help.tcl
@@ -2345,7 +2345,7 @@ set helpText(TreeMasks) {Masks for Trees
New line
To be verified by further analysis
To train
- Dubious line
+ Dubious line
To remove
To remove a marker just select the item No marker .
@@ -2861,8 +2861,8 @@ set helpText(Analysis) {The Analysis window
To finish the current game by the engine ("shoot out" or "demo" mode)
- one can use the finish game button . To indicate
- the shootout mode this button turns to . This
+ one can use the finish game button . To indicate
+ the shootout mode this button turns to . This
function is only available for the first analysis engine.
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index 60f41fb4b..60219f3ce 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -5278,8 +5278,8 @@ set helpText(F,Analysis) {
Pour terminer le jeu en cours par le moteur (mode "shoot out" ou "démo")
- on peut utiliser le bouton de fin de partie . Pour indiquer
- le mode d'utilisation de l'appareil, cette touche devient . Ce
+ on peut utiliser le bouton de fin de partie . Pour indiquer
+ le mode d'utilisation de l'appareil, cette touche devient . Ce
n'est disponible que pour le premier moteur d'analyse.
diff --git a/tcl/main.tcl b/tcl/main.tcl
index e8b8855b6..fac4436c8 100644
--- a/tcl/main.tcl
+++ b/tcl/main.tcl
@@ -1370,7 +1370,7 @@ proc InitToolbar {{tb}} {
ttk::button .main.tb.tree -image tb_tree -command ::tree::make -padding {2 0}
ttk::button .main.tb.crosstab -image tb_crosstab -command ::crosstab::OpenClose -padding {2 0}
ttk::button .main.tb.engine -image tb_engine -command ::enginewin::Open -padding {2 0}
- ttk::button .main.tb.help -image tb_help -command {helpWindow Index} -padding {2 0}
+ ttk::button .main.tb.help -image ::icon::tb_help -command {helpWindow Index} -padding {2 0}
foreach i {newdb open save closedb finder bkm newgame copy paste gprev gnext \
boardsearch headersearch materialsearch \
diff --git a/tcl/tools/analysis.tcl b/tcl/tools/analysis.tcl
index 869fd2bab..1689be1f3 100644
--- a/tcl/tools/analysis.tcl
+++ b/tcl/tools/analysis.tcl
@@ -1799,20 +1799,20 @@ proc makeAnalysisWin { {n 1} {index -1} {autostart 1}} {
ttk::frame $w.b1
pack $w.b1 -side bottom -fill x
- ttk::button $w.b1.automove -image tb_training -command "toggleAutomove $n"
+ ttk::button $w.b1.automove -image ::icon::tb_training -command "toggleAutomove $n"
::utils::tooltip::Set $w.b1.automove $::tr(Training)
- ttk::button $w.b1.lockengine -image tb_lockengine -command "toggleLockEngine $n"
+ ttk::button $w.b1.lockengine -image ::icon::tb_lockengine -command "toggleLockEngine $n"
::utils::tooltip::Set $w.b1.lockengine $::tr(LockEngine)
.analysisWin$n.b1.lockengine configure -state disabled
- ttk::button $w.b1.line -image tb_addvar -command "addAnalysisVariation $n"
+ ttk::button $w.b1.line -image ::icon::tb_addvar -command "addAnalysisVariation $n"
::utils::tooltip::Set $w.b1.line $::tr(AddVariation)
- ttk::button $w.b1.alllines -image tb_addallvars -command "addAllVariations $n"
+ ttk::button $w.b1.alllines -image ::icon::tb_addallvars -command "addAllVariations $n"
::utils::tooltip::Set $w.b1.alllines $::tr(AddAllVariations)
- ttk::button $w.b1.move -image tb_addmove -command "makeAnalysisMove $n"
+ ttk::button $w.b1.move -image ::icon::tb_addmove -command "makeAnalysisMove $n"
::utils::tooltip::Set $w.b1.move $::tr(AddMove)
ttk::spinbox $w.b1.multipv -from 1 -to 8 -increment 1 -textvariable analysis(multiPVCount$n) -state disabled -width 2 \
@@ -1825,27 +1825,27 @@ proc makeAnalysisWin { {n 1} {index -1} {autostart 1}} {
if {$n == 1} {
set ::finishGameMode 0
- ttk::button $w.b1.bFinishGame -image tb_finish_off -command "toggleFinishGame $n"
+ ttk::button $w.b1.bFinishGame -image ::icon::tb_finish_off -command "toggleFinishGame $n"
::utils::tooltip::Set $w.b1.bFinishGame $::tr(FinishGame)
}
ttk::button $w.b1.showboard -image tb_coords -command "toggleAnalysisBoard $n"
::utils::tooltip::Set $w.b1.showboard $::tr(ShowAnalysisBoard)
- ttk::button $w.b1.showinfo -image tb_engineinfo -command "toggleEngineInfo $n"
+ ttk::button $w.b1.showinfo -image ::icon::tb_engineinfo -command "toggleEngineInfo $n"
::utils::tooltip::Set $w.b1.showinfo $::tr(ShowInfo)
if {$n == 1} {
ttk::button $w.b1.annotate -command "configAnnotation" \
- -image [list tb_annotate pressed tb_annotate_on]
+ -image [list ::icon::tb_annotate pressed ::icon::tb_annotate_on]
::utils::tooltip::Set $w.b1.annotate $::tr(Annotate...)
}
- ttk::button $w.b1.priority -image tb_cpu_hi -command "setAnalysisPriority $w $n"
+ ttk::button $w.b1.priority -image ::icon::tb_cpu_hi -command "setAnalysisPriority $w $n"
::utils::tooltip::Set $w.b1.priority $::tr(LowPriority)
- ttk::button $w.b1.update -image tb_update -command "if {$analysis(uci$n)} {sendToEngine $n .}" ;# UCI does not support . command
+ ttk::button $w.b1.update -image ::icon::tb_update -command "if {$analysis(uci$n)} {sendToEngine $n .}" ;# UCI does not support . command
::utils::tooltip::Set $w.b1.update $::tr(Update)
- ttk::button $w.b1.help -image tb_help -command { helpWindow Analysis }
+ ttk::button $w.b1.help -image ::icon::tb_help -command { helpWindow Analysis }
::utils::tooltip::Set $w.b1.help $::tr(Help)
pack $w.b1.bStartStop $w.b1.lockengine $w.b1.move $w.b1.line -side left
@@ -1987,16 +1987,16 @@ proc setAnalysisPriority {w n} {
# Set the priority class (idle or normal):
set priority "normal"
- if {[lindex [$w.b1.priority configure -image] end] eq "tb_cpu_hi"} { set priority "idle" }
+ if {[lindex [$w.b1.priority configure -image] end] eq "::icon::tb_cpu_hi"} { set priority "idle" }
catch {sc_info priority $pid $priority}
# Re-read the priority class for confirmation:
if {[catch {sc_info priority $pid} newpriority]} { return }
if {$newpriority > 0} {
- $w.b1.priority configure -image tb_cpu
+ $w.b1.priority configure -image ::icon::tb_cpu
$w.b1.priority state pressed
} else {
- $w.b1.priority configure -image tb_cpu_hi
+ $w.b1.priority configure -image ::icon::tb_cpu_hi
$w.b1.priority state !pressed
}
}
@@ -2260,11 +2260,11 @@ proc toggleFinishGame { { n 1 } } {
if {!$::finishGameMode} {
set ::finishGameMode 1
- $b configure -image tb_finish_on
+ $b configure -image ::icon::tb_finish_on
after $::autoplayDelay autoplayFinishGame
} else {
set ::finishGameMode 0
- $b configure -image tb_finish_off
+ $b configure -image ::icon::tb_finish_off
after cancel autoplayFinishGame
}
return
@@ -2298,7 +2298,7 @@ proc toggleFinishGame { { n 1 } } {
sendToEngine 2 "stop"
set analysis(waitForReadyOk2) 0
set analysis(waitForBestMove2) 0
- $b configure -image tb_finish_off
+ $b configure -image ::icon::tb_finish_off
grab release .analysisWin$n
.analysisWin$n.b1.bStartStop configure -state normal
.analysisWin$n.b1.move configure -state normal
@@ -2403,7 +2403,7 @@ proc toggleFinishGame { { n 1 } } {
stopEngineAnalysis 1
stopEngineAnalysis 2
- $b configure -image tb_finish_on
+ $b configure -image ::icon::tb_finish_on
.analysisWin$n.b1.bStartStop configure -state disabled
.analysisWin$n.b1.move configure -state disabled
.analysisWin$n.b1.line configure -state disabled
From 069d5b73f4227a79989bd52dddf2bfd7971191d3 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Fri, 3 Apr 2026 22:20:52 +0200
Subject: [PATCH 4/9] rename buttons with new icon names
---
tcl/help/help.tcl | 18 +++++++++---------
tcl/lang/francais.tcl | 22 +++++++++++-----------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/tcl/help/help.tcl b/tcl/help/help.tcl
index 0633e7cf7..3f8ecc592 100644
--- a/tcl/help/help.tcl
+++ b/tcl/help/help.tcl
@@ -2799,7 +2799,7 @@ set helpText(Analysis) {The Analysis window
Additional information can be accessed using the button. A new line will be added to the status area
+ ::icon::tb_engineinfo> button. A new line will be added to the status area
showing the current move analysed, the number of tablebase hits, a
more exact number of nodes analysed per second, the watermark of the
engines hash and the current cpu load. Usually, this information is
@@ -2831,11 +2831,11 @@ set helpText(Analysis) {The Analysis window
this mode only the current evaluation is shown in the status line.
To add the best move chosen by the engine as a new move in the current
- game, press the Add move button . If the
+ game, press the Add move button . If the
whole main line of the engine should be added just use the Add
- Variation button . In case an engine offers
+ Variation button . In case an engine offers
the Multi-PV mode, using the Add all Variations
- button () can be used to add all principal
+ button () can be used to add all principal
variations to the game. The insertion of variations from the
analysis window will also add the name of the engine as a comment to
the game.
@@ -2855,7 +2855,7 @@ set helpText(Analysis) {The Analysis window
To set an engine to analyse a position in the background while
other functions of Scid are used one can lock the
- position using the button. Scid now
+ position using the button. Scid now
stops to send any changes of the main board to the engine, and the
engine stays calculating the position.
@@ -2940,13 +2940,13 @@ set helpText(Analysis) {The Analysis window
- The Add variation button ( or )in the analysis window adds the current score and
+ The Add variation button ( or )in the analysis window adds the current score and
best line of play as a new variation in the game.
You can do this automatically for a number of moves (annotating the
- game) by pressing the Annotate button, .
+ game) by pressing the Annotate button, .
Besides, the engines best lines also Informant
style evaluation symbols are added in this process. First, the
parameters for automatic annotations have to be set:
@@ -3033,7 +3033,7 @@ set helpText(Analysis) {The Analysis window
If an engine is using too much CPU time and affecting the use of Scid
or other applications, turning on the Low CPU priority button
- may help; it gives the engine a low priority for CPU
+ may help; it gives the engine a low priority for CPU
scheduling. On Windows, engines are run on low priority by default.
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index 60219f3ce..3d1b483bb 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -5215,7 +5215,7 @@ set helpText(F,Analysis) {
Des informations supplémentaires sont accessibles en utilisant le bouton
- . Une nouvelle ligne sera ajoutée à la zone d'état
+ . Une nouvelle ligne sera ajoutée à la zone d'état
montrant le coup courant analysé, le nombre de coups de la table de finales, un
nombre plus exact de nœuds analysés par seconde, le filigrane de la
le hash des moteurs et la charge actuelle du processeur. Habituellement, cette information est
@@ -5248,11 +5248,11 @@ set helpText(F,Analysis) {
Pour ajouter le meilleur coup choisi par le moteur en tant que nouveau coup dans la
- jeu, appuyez sur la touche Add move bouton . Si le
+ jeu, appuyez sur la touche Add move bouton . Si le
toute la ligne principale du moteur doit être ajoutée, il suffit d'utiliser la commande Add
- Variante bouton . Dans le cas où un moteur offre
+ Variante bouton . Dans le cas où un moteur offre
le mode Multi-PV , en utilisant le Ajouter toutes les variantes
- () peut être utilisé pour ajouter tous les principaux
+ () peut être utilisé pour ajouter tous les principaux
variantes du jeu. L'insertion de variantes du
ajoutera également le nom du moteur comme commentaire à la fenêtre d'analyse
le jeu.
@@ -5272,7 +5272,7 @@ set helpText(F,Analysis) {
Pour paramétrer un moteur pour analyser une position en arrière-plan tout en
d'autres fonctions de Scid sont utilisées on peut bloquer le
- position en utilisant le bouton . Scid maintenant
+ position en utilisant le bouton . Scid maintenant
s'arrête pour envoyer au moteur toute modification de la carte mère, et le
le moteur reste en calculant la position.
@@ -5357,13 +5357,13 @@ set helpText(F,Analysis) {
Annoter une partie
- Le bouton Ajouter une variante ( ou
- ) dans la fenêtre d'analyse ajoute le
+ Le bouton Ajouter une variante ( ou
+ ) dans la fenêtre d'analyse ajoute le
le score et la meilleure ligne de jeu comme une nouvelle variante dans le jeu.
Vous pouvez le faire automatiquement pour un certain nombre de coups (en annotant le
- jeu) en appuyant sur le bouton Annoter , .
+ jeu) en appuyant sur le bouton Annoter , .
En outre, les meilleures lignes des moteurs aussi Informant
Les symboles d'évaluation de style sont ajoutés dans ce processus. Tout d'abord, le
les paramètres pour les annotations automatiques doivent être définis :
@@ -5450,7 +5450,7 @@ set helpText(F,Analysis) {
Si un moteur utilise trop de temps CPU et affecte l'utilisation de Scid
ou d'autres applications, en activant le bouton Faible priorité du CPU
- peut aider ; il donne au moteur une faible priorité pour le CPU
+ peut aider ; il donne au moteur une faible priorité pour le CPU
la planification. Sous Windows, les moteurs sont exécutés par défaut en basse priorité.
@@ -7202,7 +7202,7 @@ set helpText(F,FindBestMove) {
actuelle. Si nécessaire, un nouveau jeu approprié sera chargé et Scid affichera
la position critique. L'utilisateur est alors tenu de trouver la meilleure
continuation. Pour sauter à la position tactique suivante, il suffit de faire un
- clic droit sur le bouton pour aller à la fin de partie.
+ clic droit sur le bouton pour aller à la fin de partie.
Pour cet exercice, il est conseillé de fermer la fenêtre PGN et de
@@ -8046,7 +8046,7 @@ set helpText(F,GameInfoBar) {
Menu contextuel du bouton Avancer
- Ce bouton avance d'un demi-coup (raccourci :
+ Ce bouton avance d'un demi-coup (raccourci :
flèche Droite ). Un Clic-Droit avec la souris ouvre le
menu contextuel suivant :
From c19dc6d69e6c4865ebbf86163c12e633e389ee87 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Fri, 3 Apr 2026 22:28:57 +0200
Subject: [PATCH 5/9] use new icon names
---
tcl/edit.tcl | 2 +-
tcl/lang/francais.tcl | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/tcl/edit.tcl b/tcl/edit.tcl
index f33be1abd..97c77867a 100644
--- a/tcl/edit.tcl
+++ b/tcl/edit.tcl
@@ -71,7 +71,7 @@ proc setupBoard {} {
}
set ::setupBoardFlipped [main_isFlipped]
::board::flip .setup.l.bd $::setupBoardFlipped
- ttk::checkbutton $w.pieces.rotate -text $::tr(Rotate) -image tb_BD_Flip -compound left \
+ ttk::checkbutton $w.pieces.rotate -text $::tr(Rotate) -image ::icon::tb_BD_Flip -compound left \
-variable ::setupBoardFlipped -command {
set ::setupBd [string reverse $::setupBd]
set ::setupFen [makeSetupFen]
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index 3d1b483bb..daf2a9a1d 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -8012,12 +8012,12 @@ set helpText(F,GameInfoBar) {
l'utilisateur avec le message New Variation . Cliquer sur le texte en bleu
[click to change] offre les options suivantes :
- Annuler l'action.
- Remplacer le coup de la ligne principale et
+ Annuler l'action.
+ Remplacer le coup de la ligne principale et
efface les coups suivants .
- Promouvoir la variante comme ligne
+ Promouvoir la variante comme ligne
principale.
- Ajouter une variante.
+ Ajouter une variante.
Menu contextuel du bouton Reculer
@@ -8025,10 +8025,10 @@ set helpText(F,GameInfoBar) {
flèche Gauche ). Un Clic-Droit avec la souris ouvre le
menu contextuel suivant :
- Revenir à la ligne principale.
- Effacer cette variante du fichier PGN.
- Quitter la variante.
- Début de partie (raccourci :
+ Revenir à la ligne principale.
+ Effacer cette variante du fichier PGN.
+ Quitter la variante.
+ Début de partie (raccourci :
touche Début ).
@@ -8036,11 +8036,11 @@ set helpText(F,GameInfoBar) {
Ce bouton affiche le menu suivant
par un Clic-Gauche avec la souris :
- Définir la position de départ.
- Retourner l'échiquier.
+ Définir la position de départ.
+ Retourner l'échiquier.
Afficher/Masquer les coordonnées de
l'échiquier.
- Afficher/Masquer le bilan matériel à droite
+ Afficher/Masquer le bilan matériel à droite
de l'échiquier.
Activer l'affichage Plein Écran.
From b93c1080e1854379b74d95381a2332e2cbbacb9f Mon Sep 17 00:00:00 2001
From: Uwe
Date: Sun, 5 Apr 2026 18:25:46 +0200
Subject: [PATCH 6/9] separate icons for dark or light theme for toolbar icons
---
img/icons_dark/tb_bkm.png | Bin 0 -> 600 bytes
img/icons_dark/tb_boardsearch.png | Bin 0 -> 744 bytes
img/icons_dark/tb_closedb.png | Bin 0 -> 684 bytes
img/icons_dark/tb_copy.png | Bin 0 -> 562 bytes
img/icons_dark/tb_crosstab.png | Bin 0 -> 411 bytes
img/icons_dark/tb_eco.png | Bin 0 -> 457 bytes
img/icons_dark/tb_engine.png | Bin 0 -> 506 bytes
img/icons_dark/tb_finder.png | Bin 0 -> 684 bytes
img/icons_dark/tb_glist.png | Bin 0 -> 371 bytes
img/icons_dark/tb_gnext.png | Bin 0 -> 478 bytes
img/icons_dark/tb_gprev.png | Bin 0 -> 477 bytes
img/icons_dark/tb_headersearch.png | Bin 0 -> 700 bytes
img/icons_dark/tb_maint.png | Bin 0 -> 694 bytes
img/icons_dark/tb_materialsearch.png | Bin 0 -> 741 bytes
img/icons_dark/tb_newdb.png | Bin 0 -> 569 bytes
img/icons_dark/tb_newgame.png | Bin 0 -> 578 bytes
img/icons_dark/tb_open.png | Bin 0 -> 544 bytes
img/icons_dark/tb_paste.png | Bin 0 -> 555 bytes
img/icons_dark/tb_pgn.png | Bin 0 -> 424 bytes
img/icons_dark/tb_save.png | Bin 0 -> 576 bytes
img/icons_dark/tb_switcher.png | Bin 0 -> 592 bytes
img/icons_dark/tb_tmt.png | Bin 0 -> 680 bytes
img/icons_dark/tb_tree.png | Bin 0 -> 480 bytes
img/{buttons => icons_light}/tb_bkm.png | Bin
.../tb_boardsearch.png | Bin
img/{buttons => icons_light}/tb_closedb.png | Bin
img/{buttons => icons_light}/tb_copy.png | Bin
img/{buttons => icons_light}/tb_crosstab.png | Bin
img/{buttons => icons_light}/tb_eco.png | Bin
img/{buttons => icons_light}/tb_engine.png | Bin
img/{buttons => icons_light}/tb_finder.png | Bin
img/{buttons => icons_light}/tb_glist.png | Bin
img/{buttons => icons_light}/tb_gnext.png | Bin
img/{buttons => icons_light}/tb_gprev.png | Bin
.../tb_headersearch.png | Bin
img/{buttons => icons_light}/tb_maint.png | Bin
.../tb_materialsearch.png | Bin
img/{buttons => icons_light}/tb_newdb.png | Bin
img/{buttons => icons_light}/tb_newgame.png | Bin
img/{buttons => icons_light}/tb_open.png | Bin
img/{buttons => icons_light}/tb_paste.png | Bin
img/{buttons => icons_light}/tb_pgn.png | Bin
img/{buttons => icons_light}/tb_save.png | Bin
img/{buttons => icons_light}/tb_switcher.png | Bin
img/{buttons => icons_light}/tb_tmt.png | Bin
img/{buttons => icons_light}/tb_tree.png | Bin
tcl/main.tcl | 48 +++++++++---------
47 files changed, 24 insertions(+), 24 deletions(-)
create mode 100644 img/icons_dark/tb_bkm.png
create mode 100644 img/icons_dark/tb_boardsearch.png
create mode 100644 img/icons_dark/tb_closedb.png
create mode 100644 img/icons_dark/tb_copy.png
create mode 100644 img/icons_dark/tb_crosstab.png
create mode 100644 img/icons_dark/tb_eco.png
create mode 100644 img/icons_dark/tb_engine.png
create mode 100644 img/icons_dark/tb_finder.png
create mode 100644 img/icons_dark/tb_glist.png
create mode 100644 img/icons_dark/tb_gnext.png
create mode 100644 img/icons_dark/tb_gprev.png
create mode 100644 img/icons_dark/tb_headersearch.png
create mode 100644 img/icons_dark/tb_maint.png
create mode 100644 img/icons_dark/tb_materialsearch.png
create mode 100644 img/icons_dark/tb_newdb.png
create mode 100644 img/icons_dark/tb_newgame.png
create mode 100644 img/icons_dark/tb_open.png
create mode 100644 img/icons_dark/tb_paste.png
create mode 100644 img/icons_dark/tb_pgn.png
create mode 100644 img/icons_dark/tb_save.png
create mode 100644 img/icons_dark/tb_switcher.png
create mode 100644 img/icons_dark/tb_tmt.png
create mode 100644 img/icons_dark/tb_tree.png
rename img/{buttons => icons_light}/tb_bkm.png (100%)
rename img/{buttons => icons_light}/tb_boardsearch.png (100%)
rename img/{buttons => icons_light}/tb_closedb.png (100%)
rename img/{buttons => icons_light}/tb_copy.png (100%)
rename img/{buttons => icons_light}/tb_crosstab.png (100%)
rename img/{buttons => icons_light}/tb_eco.png (100%)
rename img/{buttons => icons_light}/tb_engine.png (100%)
rename img/{buttons => icons_light}/tb_finder.png (100%)
rename img/{buttons => icons_light}/tb_glist.png (100%)
rename img/{buttons => icons_light}/tb_gnext.png (100%)
rename img/{buttons => icons_light}/tb_gprev.png (100%)
rename img/{buttons => icons_light}/tb_headersearch.png (100%)
rename img/{buttons => icons_light}/tb_maint.png (100%)
rename img/{buttons => icons_light}/tb_materialsearch.png (100%)
rename img/{buttons => icons_light}/tb_newdb.png (100%)
rename img/{buttons => icons_light}/tb_newgame.png (100%)
rename img/{buttons => icons_light}/tb_open.png (100%)
rename img/{buttons => icons_light}/tb_paste.png (100%)
rename img/{buttons => icons_light}/tb_pgn.png (100%)
rename img/{buttons => icons_light}/tb_save.png (100%)
rename img/{buttons => icons_light}/tb_switcher.png (100%)
rename img/{buttons => icons_light}/tb_tmt.png (100%)
rename img/{buttons => icons_light}/tb_tree.png (100%)
diff --git a/img/icons_dark/tb_bkm.png b/img/icons_dark/tb_bkm.png
new file mode 100644
index 0000000000000000000000000000000000000000..ed38fa3a4d61769d513d44b117f91b415e6e67ac
GIT binary patch
literal 600
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8D8u&Q
z`tv_w;%z@ew>)r=IkNNQvIAS!?ourXT%^dNc>D!F2kZ2XD5>VQwq?_{1uM%G6>@wO
zcdrUK);Z<7?YciEcWU3hs(cVR@B8nEmHV5!+eDt8sJZ-s-z{ot#f;6N2R*pAm)-L8hbRB~yZ8)4aud@gy-S;Git`>mj;%GX+I}H)Q}g%f;xaaKyU(+oZ#_5j^WD0N
z#Zu_ICq@v}%cKL`h0wNvc(HQ7VvPFfuSQ
z&^0jCH8cn@G_x|Yv@)>JHZZU%mo
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_boardsearch.png b/img/icons_dark/tb_boardsearch.png
new file mode 100644
index 0000000000000000000000000000000000000000..c2dab1bd09c0fae89a3655585f8f2eddd6d3da57
GIT binary patch
literal 744
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8wkJOnp1{Z;@Tx)EY}Re>m6tnh
zG>qSS$O->f^81)8)6-*RKmE#=GYTJnuxJ>2*w}HVoEKtbVVleyCAFSwx07`*hFo_x$v9qnAF)3k|)$R=56chWtBr37_?ymOG!%nB^bO
zZT@<3|L$GE%p12g-M_}rP`K)s-nDrqFCPZxf8txSQhWc6i$`RASDJ1dv2M-M
z08u?TguGIXF_Q>^3>Nv?$;IwR7wAZQNp9HqYN2sC1uj
zJU>=SxHqFEqO(|rEr>^|8=GmF|bF1^;J7>PFP`KdMv4~x+K!Aa%oq><<{xoL)
zdbg5$u0QM<=T-|@2Hl9iuy{YeZ%#2N=2c5vBT7;dOH!?pi&B9UgOP!efv$n6uAxDQ
zp_!Gbv6YFTwt<0_fq?-#&w3OMx%nxXX_asd1{NWPCRRXXU;@z)ctqwCPy>UftDnm{
Hr-UW|SX?MI
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_closedb.png b/img/icons_dark/tb_closedb.png
new file mode 100644
index 0000000000000000000000000000000000000000..27eabcaea123a6cbd49fb279ccd32c99eec0cf67
GIT binary patch
literal 684
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8IGh2BlbtyioLGC#)4gd$+}Z^fuX=?{cd%Mr{3M{u=k>Lhk>3O_T?~J3wnc84
z8fRe7{^~cjmqa$nS#t<1o%4*@!}1T4!l|k~8-9G=Qm$w{^LPTs*By3;@_E=k|2sT0
z{NpUK#eX*MF;zc(QdIfY+?h|;>AN+5nQFgSYUA@FhwRsXysl5TlVM7T;F`m^sJ>9m
zi_w`uRl_zkORs0C`+8NGw{4fXU(YrQhzNfAZ0^Rxf1cETx?Azwa-5te|~#;P^xru=lAseIcp+#%=WF7-JchIcwl=-s58^5mgm+W<0s2P3#*PCpSpKonnCQ33Z
zvKcs>kZ@q0_a{MNpNA%60>^<2J_*Z&Id7Vn927I#SyqVVch(1LpJNWRh&W~9Ka1P5
z>3V_FlZO88Lsw6I+T3k0CyuQ|c)_l?`t{R;1extBRRlzKH!oguoUwad*78?##00~V
zU(Ed%_xeqzUtbC^3{^{9BT7;dOH!?p
zi&B9UgOP!efv$n6uAxDQp_!GDrImq&wt<0_fr0#)LuXJlSE~E
zwL2Y`+T~ZdH5mT2k-z>|F8N7toa79LgOXH}QUP%lM$LBs*_`
zTHu2E4wkp}!l$*59dj4Fwo@r4Z{HL3-9MNXWF<+)ERSagx=gjiHKHUXu_VKYn^7@AobSy~xbXd4(<85qc)Idld^LvDUbW?Cg&gMmeep@|g`8JIvc
U1Rjz31k}Lb>FVdQ&MBb@0GslHG5`Po
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_eco.png b/img/icons_dark/tb_eco.png
new file mode 100644
index 0000000000000000000000000000000000000000..f4461a049cd0a973a7cf69a53a7544cce0444688
GIT binary patch
literal 457
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8vRUDFe1R7x(ZnW1g!t--(S
ziR8CgKg$frR$%}
zXX|T!Z6j+LlWe)G-m3onb@lSMi|*GlwyM-keHdrz3G|0*iEBhjN@7W>RdP`(kYX@0
zFf!0JFx53Q2r)FXGP1NXu+TOzure@^KXd2|iiX_$l+3hBxCR4@5JM9yATlt4Xb3za
R^9iVd!PC{xWt~$(695GYpxXcd
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_engine.png b/img/icons_dark/tb_engine.png
new file mode 100644
index 0000000000000000000000000000000000000000..a0632184e3657e9c93ef7ca2cd7829e017fde3e4
GIT binary patch
literal 506
zcmVF3M{--6zIVq61sG#
zLlD#{Jb5UHx^)PIpos8df)Ujr6*56$6Rc@2hr`LhhTGa+_wIdre;s0rJ7N=n+=BHhbLr{aC$D1Ir%x;lq8dVaQT
z^GH&E#0SThm`iqU`$F@nuIWsCXviORs+g_EGwU5mB`gsG&}iY0YZK+JxqX9u}z`+BF7TuGJ5oENI@v
z!56f3#v;y4SB>dkK0VVb|8BKJ@OR|==MR6^$}#pln9RPww|R$$JmQsZ_t4yK!>sd*OCzkJi?1fpHx}i-sW`Ow<+Y?0VbtIFUvL?zr110{PRyy<*~{4
z4<)fLHgE~>i(@G-zJBU;+U~@b`;mI7zaHo5D%>@<(5b1k+4LxO{^@59leYL)U91gp
z;r6<7h@t7zn@7B%#k*hreo|U>Ey}jYBsyB0gJ*{0{6evn0vDgSe+>HDlRo>@!LR%Q
zwIB4J->PSvTrjhZUDIMKF!oeSTq8R(~n1Y
zlv^^r<{p^w>fx%nx{`vMnGGHNok|ZiRkiF@%zKgk==S0e6~6=vr?%;r-2MV>R4s9h
zC`m~yNwrEYN(E93Mg~R(x(24Yh6W*qW>%&qRt9F;1_o9J29wRy7olj#%}>cptAuMX
fum~|Uu>v9k6NrYuBQl?W8W=oX{an^LB{Ts52$pk8
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_gnext.png b/img/icons_dark/tb_gnext.png
new file mode 100644
index 0000000000000000000000000000000000000000..894605371f94b940d37a2be1fef05331717f4417
GIT binary patch
literal 478
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8KX_;SgMqJ>MUcf@{*YdoMr_O+)>6Uci+0R#eH=95fyyoq4#TSvw(SRw
zi?gf0Uv|Injx786j_d47d~x?J&*hv;RMcWfsf^X#7stg=t?C$ZI6^In^>V+KWhci0
z21%v~D*IF!d;g5}LbZr{
zzvr7CS|S;EqhQCCrfq-kAO3qqWgVl+g2&g+?`GW35pqI9^3@EX%(wZ0wu*U=rq_wC
zO;P&~^qgvmYeY#(Vo9o1a#1RfVlXl=GSD?J)ipE-F*LI>HL)@<(>5@$GBB8IroIS8
oLvDUbW?Cg&gMmeep@|g`8JIvc1Rjz31k}Lb>FVdQ&MBb@0DRY^eEM&&_J_QaU;1{`|YGbMhH%8o3lq_I@pt_ucFi*SKuE
z96yujtFwjH;Safm7hL@Fg_Ff1IQ9Iu{99*#spf_LFxztD|8mDhrq=BTFKygVudgBC
z&=U2sYKq2E1{d=MeM}agO237e-g-T^)3)TpNqaSov?~3-0hLF0TCUpsn^Cbo!mW9R
ziWtyuswJ)wB`Jv|saDBFsX&Us$iT=z*T7WQ&>+On%*xcn%D_z9z`)ADV6vI|A`}g|
m`6-!cm2eFP79oZvRzPH60?`n7MCKDv1B0ilpUXO@geCw-UZ(H>
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_headersearch.png b/img/icons_dark/tb_headersearch.png
new file mode 100644
index 0000000000000000000000000000000000000000..25dcf6f724a8a3d316090654998954622e7daedf
GIT binary patch
literal 700
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy82a8r%bSw&P
z6I*$OXQjyvuB29uZI6y7&Hko0efRr!F-^@H`#$)b|McNdz1oA!zxRLLP?KGB)Z?G8
zma~h3f_+nOfl>Om`FFM^*2?JW-e0p%W4YAka+khJ*^1NCtG*vOy00fBcXhb?jDwTl*&^Mu@K03nrq#<_1-w$f
zKbdA5vio6SBwKXV@5$%G&g8rC%v0OVZXLgSA?IO9-anjP{r9?C7YCkRc_!5Efh^aP
zLr;2sy}Mrj|3S)kF}os#|kPuzU0(a(MAp5Ivk
zea}4O_4;E3J|tK@Y?BT8d2+$x)RPX~L93tVU1eL-viq{t3g?hRU(ZgFo;7XtOwH|?
zuii!ECw}eC4|8l^&1W|If5Xn*VhsBkw3xQEb~98;0%KFP#5JNMC9x#cD!C{XNHG{0
z7#ZjqnCcoDgczDxnVMJ`m}wgrSQ!{hHd9}Oq9HdwB{QuOuED?}#L&bFhzv|18Ul~V
Rd;)4<@O1TaS?83{1OQ74B_;p>
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_maint.png b/img/icons_dark/tb_maint.png
new file mode 100644
index 0000000000000000000000000000000000000000..88d83409364f43ec21285a5bdab2ee635b0c328c
GIT binary patch
literal 694
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8OIyx%J}TYZdoo=Dzf>)UCW+)Vk;1lzkpiqMr(ud1SaO
zjhPUzq&RHS7VTGQExfRvkMoiIPGbVg_VS%#i#=S8kZZr$@>b8+6So9qktUobo<
zEu0%0C;4=x!krIS&a9qlsr57KCj*ZW#~p_JsjHKI8NIuEc>nb)(|+0>*I}5jsQdDb
z_m@+Z&1Zd>e}VH&LBzB2i$6kN%rNjxU=cKKZ2!`%!r&?A`u@jk3l~FI^xs#9y<6AJ?AdmmdKI;Vst0JK~Q
ALjV8(
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_materialsearch.png b/img/icons_dark/tb_materialsearch.png
new file mode 100644
index 0000000000000000000000000000000000000000..fddf5235d7c45147c35069a3d43dbc30e8f7ccd7
GIT binary patch
literal 741
zcmXw$T}WC16vwZM8H$?^wwg~-ao3g`DD_f|tx=@dO0tbfvBI(uW39$k8w<%?ghH&n
z46Hp^L>ALQwvS3P&6Ospp;t3orcpO28fhTpknM!*z`d9A@jL(X=PHFYRdgzgiXaG`
zS0|FXQ6LB*DAz=4BCr5H^L?^_7r@zxM2YdmWnTwhW8@LIh>M4Bf7Yr`YFC$WBg9
z91h3M&dx>ae}qDz_4W1B(^Dw;{r>aw^K@rxYs+LZIi1e4voomZbh?IyhQYzX!^1;J
zW3d>3R;$(RcH=mnN~IJE1%*Q4^Z5Y6Ks+7~1OgU|#b`8|&1SpZ4xqtc$j{I3>gq})
z5-{WOc%Zwova-CqER)Hyv$Mrw@$~d``UY6Ly1Kfyw#MOb^m;waLj;3C5QViUih^Gn
zjiy$s(-$5b9Qb@b(1L|cO-*znAU}$Iv>;MJQ0Kz3y>czh!kw`=$acOC3ety2Twzi<4Anm=kw->w+2n6tAv)LLO
z8_8rc$jRk$9*+ldQ%dp+;0Z75YDCCgJlF<_iCjKlQBE5BHw=YXl_3+9Mslqo={UM2=xpyYnMMZ*-C6A}L
z_Pz&{Lhon>vvXwsc}Iu)MtwBrrv}G1hH>o4CF1wrSA}oAZGRN~LWS$ayApFXjiZAz?`~Ly;xul%{
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_newdb.png b/img/icons_dark/tb_newdb.png
new file mode 100644
index 0000000000000000000000000000000000000000..46801e3cb5d36400756dcaeb431d668adfecdcba
GIT binary patch
literal 569
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8gYFa7B3CL!Iw3=URm)$QV3s@;uyj;nJ3*lapU4J)K!I`~Ty+S1qqE
z*)#Qb;cg2y>u<@+e{{Wc{a*6lQ2YCG@uX|X>-?|Hn#(WmyF$|Gw)kpwf0_63na4VK
z-$|s_@NTO!D3FNjOWe$I{^~cr`cIR!w+2X<^IKjL)_7)hwK>SqPtg3FZ|Kcm|0;Li
z`yTz8S+8|-+h?PX9>t&2{`QKoZRK6`w&aOcTtd^1*~_b#&U>A%mY-go{^3wbxtukeo)I~>U^Uc?viO;?{?a03dsinZ6
zR4s9hC`m~yNwrEYN(E93Mg~R(x(24Yh6W*qW>%&qRt9F;1_o9J29wRy7olj#%}>cp
jtAuMXum~|Uu>v9k6NrYuBQl?W8W=oX{an^LB{Ts5)mYtO
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_newgame.png b/img/icons_dark/tb_newgame.png
new file mode 100644
index 0000000000000000000000000000000000000000..7fa87119a876b13a8241821effb04cf7fa931ea5
GIT binary patch
literal 578
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8o-U3d8s}3lZp;oY6gm3w
zeC3vySTXTb)KZnH^i3C@I77U#G`qNa6;<`Y@#P7;n5|{61+0B?dFVU~6E7gym&pdgG_Y<>VsbCX3N#o0kEpO%p
z&h|+j0!>j-U||2cfk#Oy^+iocvVe&pHI?`1PydRSjJFh8fddp^J4QNc3z
z($2=!m7NwJFRy#|Q_HRX8o%?!bGwgNS4;6v)Y5DfmhZmh$Wypr+PpvUFXFqWv_JhW
z?pX~CQ`HjJh?11Vl2ohYqEsNoU}Ruqple{NYiJN+Xl7+R@u1p_ayIXz|_swQ13xv@Zn@=1HBpYL$P)m}gbg@|+8gQeQvyGiQmI^*e@fV+Qk&
zn}OSp>I&}K?OMD>LSaVNTVX-Qzn!aoFf-qnDg8U&`3bLhsTQ}?1r9Mb!HJLl8hmNH
z@zF$U$CUzUQJrr$J}GK!yQ%2^@%PohoFE2;2kXSA-`c_=z|y+;w$1msTYBR*#qY6t
zti3vY(iGduv%DYqw{}FVFL;^Y0}L_M64!{5l*E!$tK_0oAjM#0U}T_cV5)0q5MpR%
zWolw&V5V(gU}a!1*-U*AiiX_$l+3hBxCR4@5JM9yATlt4Xb3za^9iVd!PC{xWt~$(
F69AK!z~=w}
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_paste.png b/img/icons_dark/tb_paste.png
new file mode 100644
index 0000000000000000000000000000000000000000..b4f16793b6aa4f3d6cef0f8e23cdca39157fbc07
GIT binary patch
literal 555
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8lBF5eqY}7qh@;R=4`>|E@lm7D6)k_-ucRF@FjumTk
z{G9c4Mqj{2aUo&m0EPv;4M&Qz=BM{M^UvLJe`bfor4A;hLo7E%s4vp3gMd~M@|43>)PcM=01Zk8*w2=;
z?`INGaCZ1uc5E{-7@=W8bz@*Oe|ah~t2
z+SgHa$n8$!PWFVaDzn*L%m${azo!+~s
zD%Q02k=Y+_xl3B}OV+Ps$dXQD+4oa0|P4qgUM#M==BH$)
iRl+qGScDjwSOJlN2}DES5t&aw4Gf;HelF{r5}E+rK8#8L
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_save.png b/img/icons_dark/tb_save.png
new file mode 100644
index 0000000000000000000000000000000000000000..a72b3c745dfa5030522f4839ab02e157c2063f4a
GIT binary patch
literal 576
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8PFOO66sx=!YXdQOfk@Hw>#~ay7FsnC}Q!>*k;TjAqLJUo;fXKiEq9O2z%qO4*22WQ%mvv4FO#ryIJT(RLyTiEhxZE<8LwZFYC8cHP&~$tfm##j&=<^VGYO
zKVHwd;yioCf*t>FR@Q5o>{_*>nDJ((uY#8z!xxD+YRu*n4ste}oxRq|@1(XZyU}5f
zC#f&{EG*asGM22en$)G;utBg&!BMyC|Bl4TDyiR7m=;}6e4DbgJ)B|Q*Sgos^>|xF
zJxtt-;cuzhVQXj>)=fCID#oO1|KDE4Fd@td8eJXp8fY-seKmMO)
ztoc1QwdH>2%c|uT)lY#LIrn32G_UG}*w=DY4
zaDi!i^F1duU?elBmbgZgq$HN4S|t~y0x1R~10w@n15;f?gAhYAD^n9I12b&{11kfA
t$!6+{P&DM`r(~v8!ZjFJgczDw0g-_TL_^>anNL6s44$rjF6*2UngB3y5x@Wd
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_tree.png b/img/icons_dark/tb_tree.png
new file mode 100644
index 0000000000000000000000000000000000000000..85656b0001902b045f3d353936a1495ba56c107e
GIT binary patch
literal 480
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCik>lDyqr
z82-2SpV<%OaTa()76Wx(17XGq`IU2kg6t)pzOL*~Sh)nX1pg)P+zS-?@9E+gqH(^q
zf1}so0EyQ9|CjOVUR5kC(bOosaPn+=!OI6~8XcRPgU!o7GS)D#FLV|VId~QbLkll+
zbuC@+u)LU)yx6_I_sfFB7YE!jkk=7;f0zvz;!xot43~?unU4VT9Pmm@0PV
z20qmT4?O0vHOMl)D%@mOyh9-Ur|Y3x<_cXd40~S6Zl7Ge{x^dW@0NXHU)t(Jw2!aQ
z{Je*GwWz+sJs7L;~XtAn-(MYlM@#C8CpNlSh;<8w3%+@hWJ)Gf_&R;|BPs!C8<`)MX5lF!N|bKK-a)j*U%uu(A>(z(8|bA+rYrez~Ei$
rUftDnm{r-UW|wdS(s
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_bkm.png b/img/icons_light/tb_bkm.png
similarity index 100%
rename from img/buttons/tb_bkm.png
rename to img/icons_light/tb_bkm.png
diff --git a/img/buttons/tb_boardsearch.png b/img/icons_light/tb_boardsearch.png
similarity index 100%
rename from img/buttons/tb_boardsearch.png
rename to img/icons_light/tb_boardsearch.png
diff --git a/img/buttons/tb_closedb.png b/img/icons_light/tb_closedb.png
similarity index 100%
rename from img/buttons/tb_closedb.png
rename to img/icons_light/tb_closedb.png
diff --git a/img/buttons/tb_copy.png b/img/icons_light/tb_copy.png
similarity index 100%
rename from img/buttons/tb_copy.png
rename to img/icons_light/tb_copy.png
diff --git a/img/buttons/tb_crosstab.png b/img/icons_light/tb_crosstab.png
similarity index 100%
rename from img/buttons/tb_crosstab.png
rename to img/icons_light/tb_crosstab.png
diff --git a/img/buttons/tb_eco.png b/img/icons_light/tb_eco.png
similarity index 100%
rename from img/buttons/tb_eco.png
rename to img/icons_light/tb_eco.png
diff --git a/img/buttons/tb_engine.png b/img/icons_light/tb_engine.png
similarity index 100%
rename from img/buttons/tb_engine.png
rename to img/icons_light/tb_engine.png
diff --git a/img/buttons/tb_finder.png b/img/icons_light/tb_finder.png
similarity index 100%
rename from img/buttons/tb_finder.png
rename to img/icons_light/tb_finder.png
diff --git a/img/buttons/tb_glist.png b/img/icons_light/tb_glist.png
similarity index 100%
rename from img/buttons/tb_glist.png
rename to img/icons_light/tb_glist.png
diff --git a/img/buttons/tb_gnext.png b/img/icons_light/tb_gnext.png
similarity index 100%
rename from img/buttons/tb_gnext.png
rename to img/icons_light/tb_gnext.png
diff --git a/img/buttons/tb_gprev.png b/img/icons_light/tb_gprev.png
similarity index 100%
rename from img/buttons/tb_gprev.png
rename to img/icons_light/tb_gprev.png
diff --git a/img/buttons/tb_headersearch.png b/img/icons_light/tb_headersearch.png
similarity index 100%
rename from img/buttons/tb_headersearch.png
rename to img/icons_light/tb_headersearch.png
diff --git a/img/buttons/tb_maint.png b/img/icons_light/tb_maint.png
similarity index 100%
rename from img/buttons/tb_maint.png
rename to img/icons_light/tb_maint.png
diff --git a/img/buttons/tb_materialsearch.png b/img/icons_light/tb_materialsearch.png
similarity index 100%
rename from img/buttons/tb_materialsearch.png
rename to img/icons_light/tb_materialsearch.png
diff --git a/img/buttons/tb_newdb.png b/img/icons_light/tb_newdb.png
similarity index 100%
rename from img/buttons/tb_newdb.png
rename to img/icons_light/tb_newdb.png
diff --git a/img/buttons/tb_newgame.png b/img/icons_light/tb_newgame.png
similarity index 100%
rename from img/buttons/tb_newgame.png
rename to img/icons_light/tb_newgame.png
diff --git a/img/buttons/tb_open.png b/img/icons_light/tb_open.png
similarity index 100%
rename from img/buttons/tb_open.png
rename to img/icons_light/tb_open.png
diff --git a/img/buttons/tb_paste.png b/img/icons_light/tb_paste.png
similarity index 100%
rename from img/buttons/tb_paste.png
rename to img/icons_light/tb_paste.png
diff --git a/img/buttons/tb_pgn.png b/img/icons_light/tb_pgn.png
similarity index 100%
rename from img/buttons/tb_pgn.png
rename to img/icons_light/tb_pgn.png
diff --git a/img/buttons/tb_save.png b/img/icons_light/tb_save.png
similarity index 100%
rename from img/buttons/tb_save.png
rename to img/icons_light/tb_save.png
diff --git a/img/buttons/tb_switcher.png b/img/icons_light/tb_switcher.png
similarity index 100%
rename from img/buttons/tb_switcher.png
rename to img/icons_light/tb_switcher.png
diff --git a/img/buttons/tb_tmt.png b/img/icons_light/tb_tmt.png
similarity index 100%
rename from img/buttons/tb_tmt.png
rename to img/icons_light/tb_tmt.png
diff --git a/img/buttons/tb_tree.png b/img/icons_light/tb_tree.png
similarity index 100%
rename from img/buttons/tb_tree.png
rename to img/icons_light/tb_tree.png
diff --git a/tcl/main.tcl b/tcl/main.tcl
index fac4436c8..b8194f82f 100644
--- a/tcl/main.tcl
+++ b/tcl/main.tcl
@@ -1330,9 +1330,9 @@ proc setToolbarTooltips { tb } {
proc InitToolbar {{tb}} {
ttk::frame $tb -relief raised -border 1
- ttk::button $tb.newdb -image tb_newdb -command ::file::New -padding {2 0}
- ttk::button .main.tb.open -image tb_open -command ::file::Open -padding {2 0}
- ttk::button .main.tb.save -image tb_save -padding {2 0} -command {
+ ttk::button $tb.newdb -image ::icon::tb_newdb -command ::file::New -padding {2 0}
+ ttk::button .main.tb.open -image ::icon::tb_open -command ::file::Open -padding {2 0}
+ ttk::button .main.tb.save -image ::icon::tb_save -padding {2 0} -command {
if {[sc_game number] != 0} {
#busyCursor .
gameReplace
@@ -1342,34 +1342,34 @@ proc InitToolbar {{tb}} {
gameAdd
}
}
- ttk::button .main.tb.closedb -image tb_closedb -command ::file::Close -padding {2 0}
- ttk::button .main.tb.finder -image tb_finder -command ::file::finder::Open -padding {2 0}
- ttk::menubutton .main.tb.bkm -image tb_bkm -menu .main.tb.bkm.menu -padding {2 0}
+ ttk::button .main.tb.closedb -image ::icon::tb_closedb -command ::file::Close -padding {2 0}
+ ttk::button .main.tb.finder -image ::icon::tb_finder -command ::file::finder::Open -padding {2 0}
+ ttk::menubutton .main.tb.bkm -image ::icon::tb_bkm -menu .main.tb.bkm.menu -padding {2 0}
menu .main.tb.bkm.menu
::bookmarks::RefreshMenu .main.tb.bkm.menu
ttk::frame .main.tb.space1 -width 4
- ttk::button .main.tb.newgame -image tb_newgame -command ::game::Clear -padding {2 0}
- ttk::button .main.tb.copy -image tb_copy -command ::gameAddToClipbase -padding {2 0}
- ttk::button .main.tb.paste -image tb_paste \
+ ttk::button .main.tb.newgame -image ::icon::tb_newgame -command ::game::Clear -padding {2 0}
+ ttk::button .main.tb.copy -image ::icon::tb_copy -command ::gameAddToClipbase -padding {2 0}
+ ttk::button .main.tb.paste -image ::icon::tb_paste \
-command {catch {sc_clipbase paste}; updateBoard -pgn} -padding {2 0}
ttk::frame .main.tb.space2 -width 4
- ttk::button .main.tb.gprev -image tb_gprev -command {::game::LoadNextPrev previous} -padding {2 0}
- ttk::button .main.tb.gnext -image tb_gnext -command {::game::LoadNextPrev next} -padding {2 0}
+ ttk::button .main.tb.gprev -image ::icon::tb_gprev -command {::game::LoadNextPrev previous} -padding {2 0}
+ ttk::button .main.tb.gnext -image ::icon::tb_gnext -command {::game::LoadNextPrev next} -padding {2 0}
ttk::frame .main.tb.space3 -width 4
- ttk::button .main.tb.boardsearch -image tb_boardsearch -command ::search::board -padding {2 0}
- ttk::button .main.tb.headersearch -image tb_headersearch -command ::search::header -padding {2 0}
- ttk::button .main.tb.materialsearch -image tb_materialsearch -command ::search::material -padding {2 0}
+ ttk::button .main.tb.boardsearch -image ::icon::tb_boardsearch -command ::search::board -padding {2 0}
+ ttk::button .main.tb.headersearch -image ::icon::tb_headersearch -command ::search::header -padding {2 0}
+ ttk::button .main.tb.materialsearch -image ::icon::tb_materialsearch -command ::search::material -padding {2 0}
ttk::frame .main.tb.space4 -width 4
- ttk::button .main.tb.switcher -image tb_switcher -command ::windows::switcher::Open -padding {2 0}
- ttk::button .main.tb.glist -image tb_glist -command ::windows::gamelist::Open -padding {2 0}
- ttk::button .main.tb.pgn -image tb_pgn -command ::pgn::OpenClose -padding {2 0}
- ttk::button .main.tb.tmt -image tb_tmt -command ::tourney::toggle -padding {2 0}
- ttk::button .main.tb.maint -image tb_maint -command ::maint::OpenClose -padding {2 0}
- ttk::button .main.tb.eco -image tb_eco -command ::windows::eco::OpenClose -padding {2 0}
- ttk::button .main.tb.tree -image tb_tree -command ::tree::make -padding {2 0}
- ttk::button .main.tb.crosstab -image tb_crosstab -command ::crosstab::OpenClose -padding {2 0}
- ttk::button .main.tb.engine -image tb_engine -command ::enginewin::Open -padding {2 0}
+ ttk::button .main.tb.switcher -image ::icon::tb_switcher -command ::windows::switcher::Open -padding {2 0}
+ ttk::button .main.tb.glist -image ::icon::tb_glist -command ::windows::gamelist::Open -padding {2 0}
+ ttk::button .main.tb.pgn -image ::icon::tb_pgn -command ::pgn::OpenClose -padding {2 0}
+ ttk::button .main.tb.tmt -image ::icon::tb_tmt -command ::tourney::toggle -padding {2 0}
+ ttk::button .main.tb.maint -image ::icon::tb_maint -command ::maint::OpenClose -padding {2 0}
+ ttk::button .main.tb.eco -image ::icon::tb_eco -command ::windows::eco::OpenClose -padding {2 0}
+ ttk::button .main.tb.tree -image ::icon::tb_tree -command ::tree::make -padding {2 0}
+ ttk::button .main.tb.crosstab -image ::icon::tb_crosstab -command ::crosstab::OpenClose -padding {2 0}
+ ttk::button .main.tb.engine -image ::icon::tb_engine -command ::enginewin::Open -padding {2 0}
ttk::button .main.tb.help -image ::icon::tb_help -command {helpWindow Index} -padding {2 0}
foreach i {newdb open save closedb finder bkm newgame copy paste gprev gnext \
@@ -1411,7 +1411,7 @@ proc ConfigToolbar { w } {
foreach i {newdb open closedb finder save bkm row gprev gnext row newgame copy paste row boardsearch headersearch \
materialsearch row switcher glist pgn tmt maint eco tree crosstab engine } {
if { $i eq "row" } { incr row; set col 0 } else {
- ttk::button $w.f.$i -image tb_$i -command "toggleToolbarButton $w.f $i"
+ ttk::button $w.f.$i -image ::icon::tb_$i -command "toggleToolbarButton $w.f $i"
if { $::toolbar_temp($i) } { $w.f.$i state pressed }
grid $w.f.$i -row $row -column $col -sticky news -padx 4 -pady "0 8"
incr col
From 5bbb5cf3c6d597104ba5bb382b4c3195845e54a0 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Sun, 5 Apr 2026 22:04:39 +0200
Subject: [PATCH 7/9] separate icons for dark or light theme for updir and
config icons
---
img/icons_dark/tb_config.png | Bin 0 -> 731 bytes
img/icons_dark/tb_updir.png | Bin 0 -> 577 bytes
img/{buttons => icons_light}/tb_config.png | Bin
img/{buttons => icons_light}/tb_updir.png | Bin
tcl/file/finder.tcl | 2 +-
tcl/lang/francais.tcl | 2 +-
tcl/tools/graphs.tcl | 4 ++--
tcl/windows/tree.tcl | 2 +-
8 files changed, 5 insertions(+), 5 deletions(-)
create mode 100644 img/icons_dark/tb_config.png
create mode 100644 img/icons_dark/tb_updir.png
rename img/{buttons => icons_light}/tb_config.png (100%)
rename img/{buttons => icons_light}/tb_updir.png (100%)
diff --git a/img/icons_dark/tb_config.png b/img/icons_dark/tb_config.png
new file mode 100644
index 0000000000000000000000000000000000000000..1dde2447054aae7425d71275eec6aa6fce1a2cb0
GIT binary patch
literal 731
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8S9{
z_n-efTQ+;=*_rySdkv~TE>O#B5@osMu!N6IsIlbDHTeq*o0epkya`&~SK1K}J-x$~
zMJO=h*_`a08wREN_Qij{{fV3B_w}c^9fQxYcRWHW&uXui?yanDn)dqm^Ir@O3XdkX
zO8>q5wDrTub%rLF&P+3I*Nbe8{w_cL0^7gm#+|cujjV)TE$(a=wzx4fBbQrNl5c(O
znMgYgCszLt^CvMZx~Ah{AW-@H&dYgxGBM}3={)r6?cN<+`=h9k_j*NPVwr_yqqq|oc6n`Qe!w+0-aV`&cBl^&HJP7
z*~z5fm1$o)CL9n;j6QY#^*cGUu47juWF=bk`n}j&7j2xl-n2D8>&uPX3%4;y?eCg)
zubf|w3{4)K%IG=++;4PjoCL(?>TJv;k^H{Ni#BRX1&?a
zf9!B3zbtRvudqMLAMJA1=OwM5boj&}n|NavnDFUkF*bFmujH>Akzwam|?V
zKj|OSZ;ms2@BL)%14g!LiEBhjN@7W>RdP`(kYX@0Ff!0JFx53Q2r)FXGP1NXu+TOz
xure@^KXd2|iiX_$l+3hBxCR4@5JM9yATlt4Xb3za^9iVd!PC{xWt~$(69E1TFn9m}
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_updir.png b/img/icons_dark/tb_updir.png
new file mode 100644
index 0000000000000000000000000000000000000000..df88c6a09b40257e4ff39421650f8b3f2a26f375
GIT binary patch
literal 577
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8okxS*|9{i5k`BcCh#rf>6PJn@ui!EeEbHN}s&CC!M6c{-KB
zA>3h=#l~a3*>@##GTR@s{5`UyH+RDeqpl}hyAmcC$Tu{8VLjBph{do${(GA|_Y*6{
zAOATfxEVXA*-4blFyJZ|@REDf{KYn^7@Ap`nphc_X&V?=85m49Q(uIl
oAvZrIGp!P?!N4NK(8LOe3``&z0*}ai0%~CJboFyt=akR{0FL$4bN~PV
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_config.png b/img/icons_light/tb_config.png
similarity index 100%
rename from img/buttons/tb_config.png
rename to img/icons_light/tb_config.png
diff --git a/img/buttons/tb_updir.png b/img/icons_light/tb_updir.png
similarity index 100%
rename from img/buttons/tb_updir.png
rename to img/icons_light/tb_updir.png
diff --git a/tcl/file/finder.tcl b/tcl/file/finder.tcl
index 887284c49..898c6cdf4 100644
--- a/tcl/file/finder.tcl
+++ b/tcl/file/finder.tcl
@@ -43,7 +43,7 @@ proc ::file::finder::Open {} {
# use ttk instead of tk_optionbutton, but use the menu
ttk::menubutton $w.d.mbn -text $::file::finder::data(dir) -menu $::file::finder::data(menu)
- ttk::button $w.d.up -image tb_updir -command {::file::finder::Refresh ..}
+ ttk::button $w.d.up -image ::icon::tb_updir -command {::file::finder::Refresh ..}
ttk::button $w.d.help -image tb_help_small -command {helpWindow Finder}
pack $w.d.label -side left
pack $w.d.help $w.d.up -side right -padx "5 0"
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index daf2a9a1d..32ce60653 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -4745,7 +4745,7 @@ set helpText(F,TreeMasks) {
Inclure la ligne dans le répertoire
Exclure la ligne du répertoire
Main Line
- Signet
+ Signet
Blanc
Noir
Nouvelle ligne
diff --git a/tcl/tools/graphs.tcl b/tcl/tools/graphs.tcl
index 02c83a842..472864c71 100644
--- a/tcl/tools/graphs.tcl
+++ b/tcl/tools/graphs.tcl
@@ -298,7 +298,7 @@ proc tools::graphs::filter::Open {} {
-command ::tools::graphs::filter::Refresh
pack $w.b.$name -side left -padx 1 -pady 2
}
- ttk::button $w.b.setup -image tb_config -command configureFilterGraph
+ ttk::button $w.b.setup -image ::icon::tb_config -command configureFilterGraph
pack $w.b.decade $w.b.elo -side left -padx 1 -pady 2
pack $w.b.setup -side right -pady 2
pack $w.b.status -side left -padx 2 -pady 2 -fill x -expand yes
@@ -969,7 +969,7 @@ proc tools::graphs::absfilter::Open {} {
-command ::tools::graphs::absfilter::Refresh
pack $w.b.$name -side left -padx 1 -pady 2
}
- ttk::button $w.b.setup -image tb_config -command configureFilterGraph
+ ttk::button $w.b.setup -image ::icon::tb_config -command configureFilterGraph
pack $w.b.decade $w.b.elo -side left -padx 1 -pady 2
pack $w.b.setup -side right -pady 2
pack $w.b.status -side left -padx 2 -pady 2 -fill x -expand yes
diff --git a/tcl/windows/tree.tcl b/tcl/windows/tree.tcl
index e1840e932..5a9439927 100644
--- a/tcl/windows/tree.tcl
+++ b/tcl/windows/tree.tcl
@@ -991,7 +991,7 @@ namespace eval ::tree::mask {
set displayMask_showNag 1
set displayMask_showComment 1
- array set marker2image { Include tb_tick Exclude tb_cross MainLine tb_mainline Bookmark tb_bkm \
+ array set marker2image { Include tb_tick Exclude tb_cross MainLine tb_mainline Bookmark ::icon::tb_bkm \
White tb_white Black tb_black \
NewLine tb_new ToBeVerified tb_rfilter ToTrain tb_msearch Dubious tb_help_small ToRemove tb_cut }
set maxRecent 10
From 3b249341428d51ba4f2f0dc0e8329d31a4303e46 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Sun, 5 Apr 2026 22:17:48 +0200
Subject: [PATCH 8/9] separate icons for dark or light theme for icons
tb_cross, tb_cut and tb_tick
---
img/icons_dark/tb_cross.png | Bin 0 -> 597 bytes
img/icons_dark/tb_cut.png | Bin 0 -> 710 bytes
img/icons_dark/tb_tick.png | Bin 0 -> 414 bytes
img/{buttons => icons_light}/tb_cross.png | Bin
img/{buttons => icons_light}/tb_cut.png | Bin
img/{buttons => icons_light}/tb_tick.png | Bin
tcl/help/help.tcl | 6 +++---
tcl/lang/francais.tcl | 6 +++---
tcl/search/material.tcl | 12 ++++++------
tcl/windows/stats.tcl | 4 ++--
tcl/windows/tree.tcl | 8 ++++----
11 files changed, 18 insertions(+), 18 deletions(-)
create mode 100644 img/icons_dark/tb_cross.png
create mode 100644 img/icons_dark/tb_cut.png
create mode 100644 img/icons_dark/tb_tick.png
rename img/{buttons => icons_light}/tb_cross.png (100%)
rename img/{buttons => icons_light}/tb_cut.png (100%)
rename img/{buttons => icons_light}/tb_tick.png (100%)
diff --git a/img/icons_dark/tb_cross.png b/img/icons_dark/tb_cross.png
new file mode 100644
index 0000000000000000000000000000000000000000..28e6e558716e947c2cb70a5ea3b25208efb1616e
GIT binary patch
literal 597
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8W6T#l*_?a$
zs;lSK5Z@^=dvl*`mJ|A*BmYf}y?~ROanl)b#>JLfy;+?YW~hJM`k|v|f(ob3oLiTJ
z0_Xg-Y7n`vb?yvrweQ!|rQZr&xD{S7ul-n+)3I#)BJosh7*7h39WuJU_xtZtIhy
zhj*X0ceZ=4k}DOkDN&K>$e9x_>_jIpT)5mH?x#|sdoBK<(ng)zy(RKie{wDwy+8k4
z_}j7BwQugs^Ydph|Gk=hPx*Z#&tu;wpP2CGF8_W;8}qo#Z+X*ofFY<_;u=wsl30>z
zm0Xkxq!^40j0|)QOmz(nLJZBUj4Z7TEVK;_tPBj~&m1~~q9HdwB{QuOuED?}#L&bF
zhzv|18Ul~Vd;)5a1lbUrpH@mmtT}V`<;yxP!WTttDnm{
Hr-UW|Bx~a;
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_cut.png b/img/icons_dark/tb_cut.png
new file mode 100644
index 0000000000000000000000000000000000000000..7a805c68e8426cb8657c9a8fe557a5e5b596e582
GIT binary patch
literal 710
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^xl_H+M9WCijSl0AZa
z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YDR+ueoXe|!I#{XiaP
zfk$L9(5CAk%;=;sy8Ke)K~3uFk5P
z9F8|tmYk5XT4TTc+A+y9Gw<;|eq*!!`R|%}&wtwa^DsCnTbU(tJi7BN-17L1`R98U
zPA|4K-e%t~_|dcc>iKeB1;z=nf9vkWs&*<&@$0%YTY3p&e-<2cqVb
zwv+w>qfE8LHKHUXu_VKYn^7@AobSy~xbXd4(<85qc)Idld^
zLvDUbW?Cg&gMmeep@|g`8JIvc1Rjz31k@l2vLQG>t)x7$D3zhSyj(9cFS|H7u^?41
WzbJk7I~ysWA_h-aKbLh*2~7Z>*d74@
literal 0
HcmV?d00001
diff --git a/img/icons_dark/tb_tick.png b/img/icons_dark/tb_tick.png
new file mode 100644
index 0000000000000000000000000000000000000000..fe2d41e5c46b3c036d6de64faec0f45370e5a44e
GIT binary patch
literal 414
zcmV;P0b%}$P)0
zP7wuBuMlpEh$wO)SQtVDLD)hcp;qF@H!vvbX;V>yn_2~(<-O;3F5Jrn{+AMoglU@Q
z;;&())NQBJc@#n{0T>zP8wW5NENYr2lu{Lv&m^B(tyUF)2>K=pg~GaR+qthH$z;-!
zQkF^Hlf3qQ|4In44`A{e?7D7#Fc>`adc8Z_wpRdzbX{MNQkF>Gki7JL|0JDG?*W(%
zPM>c!o984?NuKrl{i@?Q`F6W~L9#^h*z>$2!!UM(@aH1p@%UP$QkgRhBMx8;fCk_N
zfb=}CYgtyiUaubjcpVx5ARLRua^-S)CX>lT-g{I^b+g%Qx6x=E2H{}}N2AfzTCKK8
zaz{$(rc$YG0MkD?c{mb@IK^UdL)Z1KpTZvs0aykw_4ohd4Ou~!;XSoAQ~&?~07*qo
IM6N<$f;NAyu>b%7
literal 0
HcmV?d00001
diff --git a/img/buttons/tb_cross.png b/img/icons_light/tb_cross.png
similarity index 100%
rename from img/buttons/tb_cross.png
rename to img/icons_light/tb_cross.png
diff --git a/img/buttons/tb_cut.png b/img/icons_light/tb_cut.png
similarity index 100%
rename from img/buttons/tb_cut.png
rename to img/icons_light/tb_cut.png
diff --git a/img/buttons/tb_tick.png b/img/icons_light/tb_tick.png
similarity index 100%
rename from img/buttons/tb_tick.png
rename to img/icons_light/tb_tick.png
diff --git a/tcl/help/help.tcl b/tcl/help/help.tcl
index 3f8ecc592..18873cd41 100644
--- a/tcl/help/help.tcl
+++ b/tcl/help/help.tcl
@@ -2336,8 +2336,8 @@ set helpText(TreeMasks) {Masks for Trees
are mainly meant to handle opening repertoires. The available options
are:
- Include line in repertoire
- Exclude line from repertoire
+ Include line in repertoire
+ Exclude line from repertoire
Main Line
Bookmark
White
@@ -2346,7 +2346,7 @@ set helpText(TreeMasks) {Masks for Trees
To be verified by further analysis
To train
Dubious line
- To remove
+ To remove
To remove a marker just select the item No marker .
diff --git a/tcl/lang/francais.tcl b/tcl/lang/francais.tcl
index 32ce60653..2b77c21ce 100644
--- a/tcl/lang/francais.tcl
+++ b/tcl/lang/francais.tcl
@@ -4742,8 +4742,8 @@ set helpText(F,TreeMasks) {
sont principalement destinés à traiter les répertoires d'ouverture. Les options disponibles
sont :
- Inclure la ligne dans le répertoire
- Exclure la ligne du répertoire
+ Inclure la ligne dans le répertoire
+ Exclure la ligne du répertoire
Main Line
Signet
Blanc
@@ -4752,7 +4752,7 @@ set helpText(F,TreeMasks) {
A vérifier par une analyse plus approfondie
Pour former
Ligne douteuse
- Pour supprimer
+ Pour supprimer
Pour supprimer un marqueur, il suffit de sélectionner l'élément No marker .
diff --git a/tcl/search/material.tcl b/tcl/search/material.tcl
index 8911aaa4a..cfc130f6c 100644
--- a/tcl/search/material.tcl
+++ b/tcl/search/material.tcl
@@ -86,10 +86,10 @@ proc makeBoolMenu {w varName} {
ttk::menubutton $w -menu $w.menu -style Pad0.Small.TButton
menu $w.menu -tearoff 0
- $w.menu add radiobutton -label Yes -image tb_tick -variable $varName -value Yes \
- -command "$w configure -image tb_tick" ;# -hidemargin 1
- $w.menu add radiobutton -label No -image tb_cross -variable $varName -value No \
- -command "$w configure -image tb_cross" ;# -hidemargin 1
+ $w.menu add radiobutton -label Yes -image ::icon::tb_tick -variable $varName -value Yes \
+ -command "$w configure -image ::icon::tb_tick" ;# -hidemargin 1
+ $w.menu add radiobutton -label No -image ::icon::tb_cross -variable $varName -value No \
+ -command "$w configure -image ::icon::tb_cross" ;# -hidemargin 1
return $w.menu
}
@@ -117,9 +117,9 @@ proc updatePatternImages {} {
if {! [winfo exists .sm]} { return }
for {set i 1} {$i <= $nPatterns} {incr i} {
if {$pattBool($i) == "Yes"} {
- .sm.mp.patt.grid.b$i configure -image tb_tick
+ .sm.mp.patt.grid.b$i configure -image ::icon::tb_tick
} else {
- .sm.mp.patt.grid.b$i configure -image tb_cross
+ .sm.mp.patt.grid.b$i configure -image ::icon::tb_cross
}
if {$pattPiece($i) == "?"} {
.sm.mp.patt.grid.p$i configure -image e20
diff --git a/tcl/windows/stats.tcl b/tcl/windows/stats.tcl
index 840b51616..5cf2b9bde 100644
--- a/tcl/windows/stats.tcl
+++ b/tcl/windows/stats.tcl
@@ -27,7 +27,7 @@ proc ::windows::stats::Open {} {
$w.stats configure -width 64 -height 40 -state normal -font font_Fixed -wrap none
ttk::frame $w.fbuttons
- ttk::button $w.fbuttons.print -image tb_save -command {
+ ttk::button $w.fbuttons.print -image ::icon::tb_save -command {
set ftype {
{ "Text files" {".txt"} }
{ "All files" {"*"} }
@@ -56,7 +56,7 @@ proc ::windows::stats::Open {} {
ttk::checkbutton $w.fbuttons.oldyear -text "OldYear" \
-variable ::windows::stats::old_year -command ::windows::stats::refresh_wnd
- ttk::button $w.fbuttons.setup -image tb_config -command configureFilterGraph
+ ttk::button $w.fbuttons.setup -image ::icon::tb_config -command configureFilterGraph
pack $w.fbuttons.graphyear $w.fbuttons.graphelo $w.fbuttons.statyear $w.fbuttons.statelo $w.fbuttons.oldyear $w.fbuttons.old_elo -side left
pack $w.fbuttons.setup $w.fbuttons.print -side right -padx "5 0" -pady 2
pack $w.fbuttons -side top -fill x
diff --git a/tcl/windows/tree.tcl b/tcl/windows/tree.tcl
index 5a9439927..971a91f0c 100644
--- a/tcl/windows/tree.tcl
+++ b/tcl/windows/tree.tcl
@@ -267,8 +267,8 @@ proc ::tree::doTraining { { n 0 } } {
}
# if move was on an exclude line, set a warning (img = tb_cross)
- if { [::tree::mask::getImage $move_done 0] == "tb_cross" || \
- [::tree::mask::getImage $move_done 1] == "tb_cross"} {
+ if { [::tree::mask::getImage $move_done 0] == "::icon::tb_cross" || \
+ [::tree::mask::getImage $move_done 1] == "::icon::tb_cross"} {
sc_pos setComment "[sc_pos getComment] Mask : excluded line"
}
}
@@ -991,9 +991,9 @@ namespace eval ::tree::mask {
set displayMask_showNag 1
set displayMask_showComment 1
- array set marker2image { Include tb_tick Exclude tb_cross MainLine tb_mainline Bookmark ::icon::tb_bkm \
+ array set marker2image { Include ::icon::tb_tick Exclude ::icon::tb_cross MainLine tb_mainline Bookmark ::icon::tb_bkm \
White tb_white Black tb_black \
- NewLine tb_new ToBeVerified tb_rfilter ToTrain tb_msearch Dubious tb_help_small ToRemove tb_cut }
+ NewLine tb_new ToBeVerified tb_rfilter ToTrain tb_msearch Dubious tb_help_small ToRemove ::icon::tb_cut }
set maxRecent 10
}
################################################################################
From 9957460819c398bfcca13632fbb739a542bcb270 Mon Sep 17 00:00:00 2001
From: Uwe
Date: Mon, 6 Apr 2026 14:35:00 +0200
Subject: [PATCH 9/9] use new icon names
---
tcl/game.tcl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tcl/game.tcl b/tcl/game.tcl
index 842958605..78bd7df95 100644
--- a/tcl/game.tcl
+++ b/tcl/game.tcl
@@ -247,7 +247,7 @@ proc ::game::ConfirmDiscard {} {
destroy .confirmDiscard
}
- ttk::button $w.saveBtn -text [tr SaveAndContinue] -image tb_BD_Save -compound left -command {
+ ttk::button $w.saveBtn -text [tr SaveAndContinue] -image ::icon::tb_BD_Save -compound left -command {
set gnum [sc_game number]
if {[catch {sc_game save $gnum $::curr_db}]} {
ERROR::MessageBox
@@ -258,7 +258,7 @@ proc ::game::ConfirmDiscard {} {
destroy .confirmDiscard
}
- ttk::button $w.clipbaseBtn -text [tr EditCopy] -image tb_BD_SaveAs -compound left -command {
+ ttk::button $w.clipbaseBtn -text [tr EditCopy] -image ::icon::tb_BD_SaveAs -compound left -command {
if {[catch {sc_game save 0 $::clipbase_db}]} {
ERROR::MessageBox
set ::game::answer 0
@@ -269,7 +269,7 @@ proc ::game::ConfirmDiscard {} {
destroy .confirmDiscard
}
- ttk::button $w.discardBtn -text [tr DiscardChangesAndContinue] -image tb_BD_VarDelete -compound left -command {
+ ttk::button $w.discardBtn -text [tr DiscardChangesAndContinue] -image ::icon::tb_BD_VarDelete -compound left -command {
set ::game::answer 3
destroy .confirmDiscard
}