Created
October 30, 2018 14:54
-
-
Save dacap/e470b917c343af38e84b81cb642b85d3 to your computer and use it in GitHub Desktop.
Example of a custom toolbar of Aseprite v1.2.10-beta2 scripting capabilities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local dlg = Dialog("Touch Toolbar") | |
dlg | |
:button{text="Undo",onclick=function() app.command.Undo() end} | |
:button{text="Redo",onclick=function() app.command.Redo() end} | |
:button{text="|<",onclick=function() app.command.GotoFirstFrame() end} | |
:button{text="<",onclick=function() app.command.GotoPreviousFrame() end} | |
:button{text=">",onclick=function() app.command.GotoNextFrame() end} | |
:button{text=">|",onclick=function() app.command.GotoLastFrame() end} | |
:button{text="+",onclick=function() app.command.NewFrame() end} | |
:show{wait=false} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment