Code: Select all
screen preferences():
tag menu
imagemap:
ground "gui/prefbg.png"
idle "gui/prefbutton_idle.png"
hover "gui/prefbg_hover.png"
selected_idle "gui/prefbutton_selected.png"
selected_hover "gui/prefbutton_selected.png"
alpha False
hotspot (178, 381, 488, 104) action Preference("display", "fullscreen")
hotspot (178, 278, 488, 104) action Preference("display", "window")
hotspot (178, 617, 488, 185) action Preference("skip", "seen")
hotspot (178, 801, 488, 164) action Preference("skip", "all")
hotspot (64, 958, 254, 84) action Return()
bar pos (1100, 860) value Preference("text speed") style "pref_slider"
bar pos (1100, 500) value Preference("sound volume") style "pref_slider"
bar pos (1100, 300) value Preference("music volume") style "pref_slider"
bar pos (1100, 680) value Preference("auto-forward time") style "pref_slider"
init -2 python:
style.pref_slider.left_bar = "gui/prefbar_full.png"
style.pref_slider.right_bar = "gui/prefbar_empty.png"
style.pref_slider.xmaximum = 621
style.pref_slider.ymaximum = 44
style.pref_slider.thumb = "gui/prefthumb.png"
style.pref_slider.thumb_offset = 4
style.pref_slider.thumb_shadow = None