Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more dialog:function() possibilities #61

Open
Omar-Abdul-Azeez opened this issue Nov 1, 2021 · 1 comment
Open

more dialog:function() possibilities #61

Omar-Abdul-Azeez opened this issue Nov 1, 2021 · 1 comment

Comments

@Omar-Abdul-Azeez
Copy link

Omar-Abdul-Azeez commented Nov 1, 2021

Currently these are the only things possible with the current modify function

image

that's a little lackluster. A couple more things we can modify are

  1. onclick, onchange, onrelease functions
  2. options for combobox

and two more functions I feel are needed

  1. dialog:delete() which should delete the element with the specified id
  2. dialog:replace() should delete the element with the given id and create a new element with a new id in the same place
@Omar-Abdul-Azeez
Copy link
Author

Omar-Abdul-Azeez commented Nov 1, 2021

ok... I swear I was testing it with option and it didn't work so I assumed only the parameters specified in the documentation are supported. I was looking at dialog_class.cpp to see if it's simple enough to do myself and found that most of these are supported with a comment for support of options in the future. so I tested it again and it worked(???) whatever it is that was happening idk

anyways since most of this is already supported I'll edit it out. one last thing... if this should be in the Aseprite repo and not here feel free to close and move the issue or let me know and I will :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant