diff options
Diffstat (limited to 'src/sliceitoff/screens/settings.py')
-rw-r--r-- | src/sliceitoff/screens/settings.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sliceitoff/screens/settings.py b/src/sliceitoff/screens/settings.py index cb0549a..c987126 100644 --- a/src/sliceitoff/screens/settings.py +++ b/src/sliceitoff/screens/settings.py @@ -2,19 +2,19 @@ from random import randrange from sliceitoff.text import TextPage -def settings_screen(selection): +def settings_screen(selection, sfx_vol, music_vol): """ Screen where current selection is flashing """ active = randrange(0xe9,0xf0) inactive = 0xe7 text = ( f" Settings:\n" f"\n\n" - f"\xe7SFX Volume:\n" + f"\xe7SFX: " f"{chr(active if selection == 0 else inactive)}" - f" [ ]\n\n" - f"\xe7Music Volume:\n" + f"[{'#' * sfx_vol}{' ' * (10 - sfx_vol)}]\n\n" + f"\xe7BGM: " f"{chr(active if selection == 1 else inactive)}" - f" [ ]\n\n" + f"[{'#' * music_vol}{' ' * (10 - music_vol)}]\n\n" f"{chr(active if selection == 2 else inactive)}" f"Back.") return TextPage( |