reworked subscreen for extras menu, will expand soon

This commit is contained in:
Nio
2021-06-23 00:21:14 +10:00
parent c6a94f7528
commit 019d467a7e
3 changed files with 44 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -1254,6 +1254,31 @@ style main_menu_title:
properties gui.text_properties("title") properties gui.text_properties("title")
##Extras Navigation Screen #####################################################
##
##This screen is to be reused in
screen extrasnavigation():
vbox:
#xalign 1.0
xpos 665
ypos 270
if persistent.splashtype == 1:
add "gui/sneedgame.png"
else:
add "gui/snootgame.png"
vbox:
spacing 25
# xpos 590
xalign 0.79
yalign 1.0 #0.9
imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu("help")
imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu("about")
imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu("updates")
imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery")
imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu("main_menu")
## Help screen ################################################################# ## Help screen #################################################################
## ##
## A screen that gives information about key and mouse bindings. It uses other ## A screen that gives information about key and mouse bindings. It uses other
@ -1306,21 +1331,25 @@ screen help():
text _("") ## again in here to keep vbox in check text _("") ## again in here to keep vbox in check
vbox: vbox:
xpos 1940 xpos 1942
yalign 0.03 # xalign 1.0
if persistent.splashtype == 1: yalign 0.95
add "gui/sneedgame.png" use extrasnavigation
else: # xpos 1940
add "gui/snootgame.png" # yalign 0.03
vbox: # if persistent.splashtype == 1:
spacing 25 # add "gui/sneedgame.png"
xpos 1885 # else:
yalign 0.9 # add "gui/snootgame.png"
imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu("help") # vbox:
imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu("about") # spacing 25
imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu("updates") # xpos 1885
imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery") # yalign 0.9
imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu("main_menu") # imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu("help")
# imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu("about")
# imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu("updates")
# imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery")
# imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu("main_menu")
screen keyboard_help(): screen keyboard_help():