Skip to content

Commit 2e94e5d

Browse files
committed
Update python_easy_chess_gui.py
1 parent 4d7cf45 commit 2e94e5d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

python_easy_chess_gui.py

+14-6
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,14 @@
181181
182182
(G) To Show book 1 and 2
183183
1. Right-click on Book 1 or 2 press Show
184+
185+
(H) To change board color
186+
1. You should be in Neutral mode.
187+
2. Board->Color.
188+
189+
(I) To change board theme
190+
1. You should be in Neutral mode.
191+
2. Board->Theme.
184192
"""
185193

186194

@@ -237,7 +245,7 @@
237245
['&User', ['Set Name::user_name_k']],
238246
['Tools', ['PGN', ['Delete Player::delete_player_k']]],
239247
['&Settings', ['Game::settings_game_k']],
240-
['&Help', ['About']],
248+
['&Help', ['GUI']],
241249
]
242250

243251
# (2) Mode: Play, info: hide
@@ -252,7 +260,7 @@
252260
'User Draws::user_draws_k']],
253261
['FEN', ['Paste']],
254262
['&Engine', ['Go', 'Move Now']],
255-
['&Help', ['About']],
263+
['&Help', ['GUI']],
256264
]
257265

258266

@@ -1751,7 +1759,7 @@ def play_game(self, window, engine_id_name, board):
17511759
is_exit_game = True
17521760
break
17531761

1754-
if button == 'About':
1762+
if button == 'GUI':
17551763
sg.PopupScrolled(HELP_MSG, title=BOX_TITLE)
17561764
continue
17571765

@@ -1978,7 +1986,7 @@ def play_game(self, window, engine_id_name, board):
19781986
break
19791987

19801988
# Mode: Play, stm: User
1981-
if button == 'About':
1989+
if button == 'GUI':
19821990
sg.PopupScrolled(HELP_MSG, title=BOX_TITLE,)
19831991
break
19841992

@@ -3531,8 +3539,8 @@ def main_loop(self):
35313539
continue
35323540

35333541
# Mode: Neutral
3534-
if button == 'About':
3535-
sg.PopupScrolled(HELP_MSG, title='Help/About')
3542+
if button == 'GUI':
3543+
sg.PopupScrolled(HELP_MSG, title='Help/GUI')
35363544
continue
35373545

35383546
# Mode: Neutral

0 commit comments

Comments
 (0)