Bring renpy sync back
This commit is contained in:
@ -893,27 +893,39 @@ screen file_slots(title, flag=False):
|
|||||||
key "save_delete" action FileDelete(slot)
|
key "save_delete" action FileDelete(slot)
|
||||||
|
|
||||||
## Buttons to access other pages.
|
## Buttons to access other pages.
|
||||||
hbox:
|
vbox:
|
||||||
style_prefix "page"
|
style_prefix "page"
|
||||||
|
|
||||||
xalign 0.5
|
xalign 0.5
|
||||||
yalign 1.0
|
yalign 1.0
|
||||||
|
hbox:
|
||||||
|
xalign 0.5
|
||||||
|
|
||||||
spacing gui.page_spacing
|
spacing gui.page_spacing
|
||||||
|
|
||||||
textbutton _("<") activate_sound "audio/ui/uiRollover.wav" action FilePagePrevious()
|
textbutton _("<") activate_sound "audio/ui/uiRollover.wav" action FilePagePrevious()
|
||||||
|
|
||||||
if config.has_autosave:
|
if config.has_autosave:
|
||||||
textbutton _("{#auto_page}A") activate_sound "audio/ui/uiClick.wav" action FilePage("auto")
|
textbutton _("{#auto_page}A") activate_sound "audio/ui/uiClick.wav" action FilePage("auto")
|
||||||
|
|
||||||
if config.has_quicksave:
|
if config.has_quicksave:
|
||||||
textbutton _("{#quick_page}Q") activate_sound "audio/ui/uiClick.wav" action FilePage("quick")
|
textbutton _("{#quick_page}Q") activate_sound "audio/ui/uiClick.wav" action FilePage("quick")
|
||||||
|
|
||||||
## range(1, 10) gives the numbers from 1 to 9.
|
## range(1, 10) gives the numbers from 1 to 9.
|
||||||
for page in range(1, 10):
|
for page in range(1, 10):
|
||||||
textbutton "[page]" activate_sound "audio/ui/uiClick.wav" action FilePage(page)
|
textbutton "[page]" activate_sound "audio/ui/uiClick.wav" action FilePage(page)
|
||||||
|
|
||||||
textbutton _(">") activate_sound "audio/ui/uiRollover.wav" action FilePageNext(max=9)
|
textbutton _(">") activate_sound "audio/ui/uiRollover.wav" action FilePageNext(max=9)
|
||||||
|
|
||||||
|
if config.has_sync:
|
||||||
|
if CurrentScreenName() == "save":
|
||||||
|
textbutton _("Upload Sync"):
|
||||||
|
action UploadSync()
|
||||||
|
xalign 0.5
|
||||||
|
else:
|
||||||
|
textbutton _("Download Sync"):
|
||||||
|
action DownloadSync()
|
||||||
|
xalign 0.5
|
||||||
|
|
||||||
|
|
||||||
style page_label is gui_label
|
style page_label is gui_label
|
||||||
|
Reference in New Issue
Block a user