Code: Select all
init:
transform buttonZoom:
zoom 0.06
#backbutton
##################################
image backidle:
"gui/quickmenu/back.png"
image backhover:
"gui/quickmenu/back.png"
matrixcolor TintMatrix("#ffffff")
ease 0.5 matrixcolor TintMatrix("#bd0000")
easeout 0.5 matrixcolor TintMatrix("#ffffff")
repeat
image inactiveback:
"gui/quickmenu/back.png"
alpha 0.5
#history
##################################
image historyidle:
"gui/quickmenu/history.png"
image historyhover:
"gui/quickmenu/history.png"
matrixcolor TintMatrix("#ffffff")
ease 0.5 matrixcolor TintMatrix("#bd0000")
easeout 0.5 matrixcolor TintMatrix("#ffffff")
repeat
image historyinactive:
"gui/quickmenu/history.png"
alpha 0.5
init 100:
screen quick_menu():
zorder 100
if quick_menu:
vbox:
style_prefix "quick"
$ tooltip = GetTooltip()
if tooltip:
text "[tooltip]"
xalign 0.01
yalign 1.0
imagebutton:
idle "backidle"
hover "backhover"
insensitive "inactiveback"
tooltip "Voltar"
at buttonZoom
action Rollback()
imagebutton:
idle "historyidle"
hover "historyhover"
insensitive "historyinactive"
tooltip "Voltar"
at buttonZoom
action ShowMenu('history')
textbutton _("Pular") action Skip() alternate Skip(fast=True, confirm=True)
textbutton _("Automotivo") action Preference("auto-forward", "toggle")
textbutton _("Salvar") action ShowMenu('save')
textbutton _("Q.Salvar") action QuickSave()
textbutton _("Q.Caregar") action QuickLoad()
How to add spacing between them?
Maybe there is a better way to use icons insted of text than this one?
ALso, there is a way to add background image to quick menu?