mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +01:00
added uirollover to choices
This commit is contained in:
parent
09195d2919
commit
46344e7f3a
1 changed files with 4 additions and 3 deletions
|
@ -307,6 +307,7 @@ style choice_vbox:
|
|||
|
||||
style choice_button is default:
|
||||
properties gui.button_properties("choice_button")
|
||||
activate_sound "audio/ui/uiRollover.wav"
|
||||
|
||||
style choice_button_text is default:
|
||||
properties gui.button_text_properties("choice_button")
|
||||
|
@ -1430,8 +1431,8 @@ screen confirm(message, yes_action, no_action):
|
|||
xalign 0.5
|
||||
spacing 150
|
||||
|
||||
textbutton _("Yes") action yes_action
|
||||
textbutton _("No") action no_action
|
||||
textbutton _("Yes") activate_sound "audio/ui/uiClick.wav" action yes_action
|
||||
textbutton _("No") activate_sound "audio/ui/uiBack.wav" action no_action
|
||||
|
||||
## Right-click and escape answer "no".
|
||||
key "game_menu" action no_action
|
||||
|
|
Loading…
Reference in a new issue