mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-24 18:48:55 +01:00
Bigger Buttons
This commit is contained in:
parent
b4112f4621
commit
6e10937b8b
1 changed files with 6 additions and 5 deletions
|
@ -1528,11 +1528,12 @@ style pref_vbox:
|
|||
## that uses fewer and bigger buttons that are easier to touch.
|
||||
screen quick_button(filename, label, function):
|
||||
button:
|
||||
xmaximum 140
|
||||
ymaximum 0
|
||||
add filename xalign 0.5 yalign 0.5
|
||||
text label xalign 0.5 yalign 0.5 size 22 color "#000"
|
||||
xmaximum 160
|
||||
ymaximum 100
|
||||
action function
|
||||
fixed:
|
||||
add filename xalign 0.5 yalign 0.5 zoom 1.75
|
||||
text label xalign 0.5 yalign 0.5 size 42 color "#000000EE"
|
||||
|
||||
|
||||
screen quick_menu():
|
||||
|
@ -1542,7 +1543,7 @@ screen quick_menu():
|
|||
hbox:
|
||||
style_prefix "quick"
|
||||
xalign 0.5
|
||||
yalign 0.9375
|
||||
yalign 0.975
|
||||
use quick_button("gui/button/uioptionbuttons/template_idle.png", "Back", Rollback())
|
||||
use quick_button("gui/button/uioptionbuttons/template_idle.png", "Skip", Skip()) #alternate Skip(fast=True, confirm=True))
|
||||
use quick_button("gui/button/uioptionbuttons/template_idle.png", "Auto", Preference("auto-forward", "toggle"))
|
||||
|
|
Loading…
Reference in a new issue