Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- screen file_slots:
- viewport:
- scrollbars "vertical"
- xpos 708
- ypos 111
- mousewheel True
- #side_yfill True
- vbox:
- spacing 20
- for i in range(0, 30):
- $ slot = i + 1
- button:
- action FileAction(slot)
- style "slott_button"
- has hbox
- spacing 2
- text FileTime(slot, format=_("{#file_time}%b %d "), empty=_("Empty Slot")):
- style "slot_time_text"
- text FileSaveName(slot):
- style "slot_name_text"
- key "save_delete" action FileDelete(slot)
- tooltip ""
- $ tooltip = GetTooltip()
- if tooltip:
- #This isnt working
- add FileScreenshot(slot) xpos 23 ypos 191
- init -2:
- style slott_button is button:
- xminimum 500
- ymaximum 60
- left_padding 10
- top_padding 20
- style slott_button background "gui/button/slot_ground_background.png"
- style slott_button idle_background "gui/button/slot_idle_background.png"
- style slott_button hover_background "gui/button/slot_hover_background.png"
- style slott_button focus_mask "gui/button/slot_ground_background.png"
- style slott_button hover_sound "audio/sfx/hover.ogg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement