Expand epilogue menu style to include the rest of the menu's (except for the mod menu, for the time being)

This commit is contained in:
2024-10-06 18:19:06 -05:00
parent 302c2f6b10
commit 0e35c5a415
8 changed files with 78 additions and 160 deletions

View File

@@ -97,9 +97,12 @@ screen cg_gallery(origin = 'CG'):
key "game_menu" action ShowMenu("main_menu")
# Bg for frame
add gui.main_menu_background
use main_menu_background(False)
# Frame
add gui.game_menu_background
if persistent.use_epilogue_menu:
add "gui/game_menu_epilogue.png"
else:
add gui.game_menu_background
tag menu

View File

@@ -65,12 +65,7 @@ screen ex_ch_menu():
tag menu
style_prefix "main_menu"
add gui.main_menu_background
frame:
xsize 420
yfill True
background "gui/overlay/main_menu.png"
use main_menu_background
#side_yfill True
vbox:
@@ -92,14 +87,15 @@ screen ex_ch_menu():
mousewheel True
draggable True
pagekeys True
vbox:
#xpos 1885
spacing 12
#yalign 0.98
use ex_ch_button("gui/button/menubuttons/template_idle.png", "Return", ShowMenu("main_menu"))
#use ex_ch_button("gui/button/menubuttons/template_idle.png", str(e), ShowMenu("main_menu"))
$ main_menu_button_img = "gui/button/menubuttons/template_idle_epilogue.png" if persistent.use_epilogue_menu else "gui/button/menubuttons/template_idle.png"
vbox:
spacing 12
use ex_ch_button(main_menu_button_img, "Return", ShowMenu("main_menu"))
if len(ex_chapters_menu):
use ex_ch_buttons("gui/button/menubuttons/template_idle.png", ex_chapters_menu )
use ex_ch_buttons(main_menu_button_img, ex_chapters_menu )
for x in range(0, len(ex_chapters) - len(ex_chapters_menu)):
use ex_ch_button("gui/button/menubuttons/template_idle.png", "???", None)
use ex_ch_button(main_menu_button_img, "???", None)