hi ! i like aseprite and it awesome work.
I want to customize a color window, but the current script is so weak, I can’t do it.
like this :
if i have one of them implement, i can do that :
- make a way to custom widget just like :
local dlg = Dialog() dlg:custom{ id="xxxxxxxx", width=500, height=200, onDraw=function(w,h, mouseStatus, keyStatus) .../*draw invoked*/..... end }
- make way to create a timer :
-- Prevent secondary creation if app.timer["timer 1"] == nil then app.timer["timer 1"] = { , onTick=function() ..../* maybe cross-thread operation */..... end, -- update each frame } end
in this way, i will create a window outside.