Skip to content

Instantly share code, notes, and snippets.

@renpytom
Forked from anonymous/gist:4313659
Created December 16, 2012 22:19
Show Gist options
  • Select an option

  • Save renpytom/4313668 to your computer and use it in GitHub Desktop.

Select an option

Save renpytom/4313668 to your computer and use it in GitHub Desktop.
screen file_button:
button:
action FileAction(slot)
xmaximum 200
xminimum 200
ymaximum 50
yminimum 50
has hbox
add FileScreenshot(slot, empty="empty.png")
vbox:
text FileTime(slot, empty="NoFile")
text FileSaveName(slot, empty="")
text FileSlotName(slot, slots_per_page=6, format="%s%03d")
screen file_picker:
vbox:
xpos 100 ypos 100
text FilePageName(auto="Auto-save", quick="Quick-save")
hbox:
null width 0
use file_button(slot=1)
use file_button(slot=2)
hbox:
null width 50
use file_button(slot=3)
use file_button(slot=4)
hbox:
null width 100
use file_button(slot=5)
use file_button(slot=6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment