Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added img/icons_dark/tb_BD_Autoplay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_BackStart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_BackToMainline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added img/icons_dark/tb_BD_End.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Flip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Forward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_ForwardEnd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added img/icons_dark/tb_BD_NewMainline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_NewVar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Redo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Replace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Save.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_SaveAs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Scorebar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_SelectMarker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added img/icons_dark/tb_BD_Start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_Undo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_VarDelete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_VarLeave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_VarPromote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_BD_exitvar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons_dark/tb_addallvars.png
Binary file added img/icons_dark/tb_addmove.png
Binary file added img/icons_dark/tb_addvar.png
Binary file added img/icons_dark/tb_annotate.png
Binary file added img/icons_dark/tb_annotate_on.png
Binary file added img/icons_dark/tb_bkm.png
Binary file added img/icons_dark/tb_boardsearch.png
Binary file added img/icons_dark/tb_closedb.png
Binary file added img/icons_dark/tb_config.png
Binary file added img/icons_dark/tb_copy.png
Binary file added img/icons_dark/tb_cpu.png
Binary file added img/icons_dark/tb_cpu_hi.png
Binary file added img/icons_dark/tb_cross.png
Binary file added img/icons_dark/tb_crosstab.png
Binary file added img/icons_dark/tb_cut.png
Binary file added img/icons_dark/tb_eco.png
Binary file added img/icons_dark/tb_eng_addbestmove.png
Binary file added img/icons_dark/tb_eng_addlines.png
Binary file added img/icons_dark/tb_eng_config.png
File renamed without changes
Binary file added img/icons_dark/tb_eng_lock.png
Binary file added img/icons_dark/tb_eng_off.png
File renamed without changes
Binary file added img/icons_dark/tb_eng_on.png
Binary file added img/icons_dark/tb_engine.png
Binary file added img/icons_dark/tb_engineinfo.png
Binary file added img/icons_dark/tb_finder.png
Binary file added img/icons_dark/tb_finish_off.png
Binary file added img/icons_dark/tb_finish_on.png
Binary file added img/icons_dark/tb_glist.png
Binary file added img/icons_dark/tb_gnext.png
Binary file added img/icons_dark/tb_gprev.png
Binary file added img/icons_dark/tb_headersearch.png
Binary file added img/icons_dark/tb_help.png
Binary file added img/icons_dark/tb_lockengine.png
Binary file added img/icons_dark/tb_maint.png
Binary file added img/icons_dark/tb_materialsearch.png
Binary file added img/icons_dark/tb_newdb.png
Binary file added img/icons_dark/tb_newgame.png
Binary file added img/icons_dark/tb_open.png
Binary file added img/icons_dark/tb_paste.png
Binary file added img/icons_dark/tb_pgn.png
Binary file added img/icons_dark/tb_save.png
Binary file added img/icons_dark/tb_switcher.png
Binary file added img/icons_dark/tb_tick.png
Binary file added img/icons_dark/tb_tmt.png
Binary file added img/icons_dark/tb_training.png
Binary file added img/icons_dark/tb_tree.png
File renamed without changes
Binary file added img/icons_dark/tb_updir.png
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/icons_light/tb_BD_Coords.png
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/icons_light/tb_BD_Material.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/icons_light/tb_BD_SetupBoard.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/icons_light/tb_eng_connecting.png
Binary file added img/icons_light/tb_eng_error.png
File renamed without changes
File renamed without changes
Binary file added img/icons_light/tb_eng_ok.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/icons_light/tb_update.png
File renamed without changes
36 changes: 18 additions & 18 deletions tcl/board.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -536,10 +536,10 @@ proc ::board::addInfoBar {w varname} {
$w.bar.info.t tag bind click <Any-Enter> "$w.bar.info.t configure -cursor hand2"
$w.bar.info.t tag bind click <Any-Leave> "$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"
Expand Down Expand Up @@ -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 "<home>"
$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 "<home>"
::bind $w.bar.back <ButtonRelease-$::MB3> "::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 "<end>"
$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 "<end>"
::bind $w.bar.forward <ButtonRelease-$::MB3> "::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
Expand Down
2 changes: 1 addition & 1 deletion tcl/edit.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tcl/file/finder.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions tcl/game.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
}
Expand Down
44 changes: 22 additions & 22 deletions tcl/help/help.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2336,17 +2336,17 @@ set helpText(TreeMasks) {<h1>Masks for Trees</h1>
are mainly meant to handle opening repertoires. The available options
are:
<ul>
<li> <img tb_tick> Include line in repertoire</li>
<li> <img tb_cross> Exclude line from repertoire</li>
<li> <img ::icon::tb_tick> Include line in repertoire</li>
<li> <img ::icon::tb_cross> Exclude line from repertoire</li>
<li> <img tb_mainline> Main Line</li>
<li> <img tb_bkm> Bookmark</li>
<li> <img tb_white> White</li>
<li> <img tb_black> Black</li>
<li> <img tb_new> New line</li>
<li> <img tb_rfilter> To be verified by further analysis</li>
<li> <img tb_msearch> To train</li>
<li> <img tb_help_small> Dubious line</li>
<li> <img tb_cut> To remove</li>
<li> <img ::icon::tb_help_small> Dubious line</li>
<li> <img ::icon::tb_cut> To remove</li>
</ul>
To remove a marker just select the item <menu>No marker</menu>.
</li>
Expand Down Expand Up @@ -2799,7 +2799,7 @@ set helpText(Analysis) {<h1>The Analysis window</h1>
</p>
<p>
Additional information can be accessed using the <button
tb_engineinfo> 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
Expand Down Expand Up @@ -2831,19 +2831,19 @@ set helpText(Analysis) {<h1>The Analysis window</h1>
this mode only the current evaluation is shown in the status line.
<p>
To add the best move chosen by the engine as a new move in the current
game, press the <b>Add move</b> button <button tb_addmove>. If the
game, press the <b>Add move</b> button <button ::icon::tb_addmove>. If the
whole main line of the engine should be added just use the <b>Add
Variation</b> button <button tb_addvar>. In case an engine offers
Variation</b> button <button ::icon::tb_addvar>. In case an engine offers
the <term>Multi-PV</term> mode, using the <b>Add all Variations</b>
button (<button tb_addallvars>) can be used to add all principal
button (<button ::icon::tb_addallvars>) 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.
</p>
<p>
To temporarily interrupt the calculation process one can use the
stop engine button (<button tb_eng_off>). Once pressed, this button
changes to the start engine button (<button tb_eng_on>) which will
stop engine button (<button ::icon::tb_eng_off>). Once pressed, this button
changes to the start engine button (<button ::icon::tb_eng_on>) 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
Expand All @@ -2855,14 +2855,14 @@ set helpText(Analysis) {<h1>The Analysis window</h1>
<p>
To set an engine to analyse a position in the background while
other functions of Scid are used one can <term>lock the
position</term> using the <button tb_lockengine> button. Scid now
position</term> using the <button ::icon::tb_lockengine> button. Scid now
stops to send any changes of the main board to the engine, and the
engine stays calculating the position.
</p>
<p>
To finish the current game by the engine ("shoot out" or "demo" mode)
one can use the finish game button <button tb_finish_off>. To indicate
the shootout mode this button turns to <button tb_finish_on>. This
one can use the finish game button <button ::icon::tb_finish_off>. To indicate
the shootout mode this button turns to <button ::icon::tb_finish_on>. This
function is only available for the first analysis engine.
</p>

Expand Down Expand Up @@ -2940,13 +2940,13 @@ set helpText(Analysis) {<h1>The Analysis window</h1>

<h3><a Annotate>Annotating a game</h3>
<p>
The <b>Add variation</b> button (<button tb_addvar> or <button
tb_addallvars>)in the analysis window adds the current score and
The <b>Add variation</b> button (<button ::icon::tb_addvar> or <button
::icon::tb_addallvars>)in the analysis window adds the current score and
best line of play as a new variation in the game.
</p>
<p>
You can do this automatically for a number of moves (annotating the
game) by pressing the <b>Annotate</b> button, <button tb_annotate>.
game) by pressing the <b>Annotate</b> button, <button ::icon::tb_annotate>.
Besides, the engines best lines also <a Moves Informant>Informant</a>
style evaluation symbols are added in this process. First, the
parameters for automatic annotations have to be set:
Expand Down Expand Up @@ -3033,7 +3033,7 @@ set helpText(Analysis) {<h1>The Analysis window</h1>
<p>
If an engine is using too much CPU time and affecting the use of Scid
or other applications, turning on the <b>Low CPU priority</b> button
<button tb_cpu> may help; it gives the engine a low priority for CPU
<button ::icon::tb_cpu> may help; it gives the engine a low priority for CPU
scheduling. On Windows, engines are run on low priority by default.
</p>
<p>
Expand Down Expand Up @@ -4911,7 +4911,7 @@ set helpText(Novag) {<h1>Connecting the Novag Citrine Chess board</h1>
<p>
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 <button tb_eng_disconnected>. This
hardware connection button <button ::icon::tb_eng_disconnected>. This
button also shows the <a HardwareStatus> status of the
connection.</a>

Expand Down Expand Up @@ -5035,17 +5035,17 @@ set helpText(HardwareStatus) {<h1>Status of External Hardware</h1>
the status of the external hardware it shows different icons:
</p>
<ul>
<li><button tb_eng_disconnected>
<li><button ::icon::tb_eng_disconnected>
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.
</li>
<li><button tb_eng_connecting>
<li><button ::icon::tb_eng_connecting>
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.
</li>
<li><button tb_eng_error>
<li><button ::icon::tb_eng_error>
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
Expand All @@ -5056,7 +5056,7 @@ set helpText(HardwareStatus) {<h1>Status of External Hardware</h1>
this case. Pressing the button will try again to hook up the
configured hardware.
</li>
<li><button tb_eng_ok>
<li><button ::icon::tb_eng_ok>
The communication is established, the device is ready and can be
used for move input. Pressing the button will disconnect the
external hardware.
Expand Down
Loading