You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have a way to access widgets by ID. Mainly a canvas to paint some part of its surface. E.g.
locald=Dialog():canvas{ id=myCanvas }
localctx=d.widgets.myCanvas.context-- ... paint in the ctx ...
At the moment the only way to paint in the canvas is using the onpaint event and triggering that event through Dialog:paint() (but the onpaint should be a way to redraw the entire canvas in case of resize, we cached the surface on a offscreen bitmap).
The text was updated successfully, but these errors were encountered:
We should have a way to access widgets by ID. Mainly a canvas to paint some part of its surface. E.g.
At the moment the only way to paint in the canvas is using the
onpaint
event and triggering that event throughDialog:paint()
(but theonpaint
should be a way to redraw the entire canvas in case of resize, we cached the surface on a offscreen bitmap).The text was updated successfully, but these errors were encountered: