TGUI Forum
Home
Help
Search
Login
Register
Randering widgets update
TGUI Forum
General Category
Help requests
Randering widgets update
Print
Pages: [
1
]
Randering widgets update
1 Replies
372 Views
CatalinNic
21
Randering widgets update
«
on:
08 April 2020, 18:11:05 »
Is there any event system for connecting any widget that renders something in itself eg. tgui::Canvas to render their contents on frame update like for example:
Canvas
-
>
connect
(
"FrameUpdated"
, drawFunction, std
::
ref
(
Canvas
)
)
;
Logged
texus
1603
Re: Randering widgets update
«
Reply #1 on:
08 April 2020, 18:13:07 »
No, but you decide for yourself when you update the canvas. The canvas only needs to be drawn on when its contents needs to change, but TGUI doesn't know when that is, it just keeps drawing the old content until you update the canvas.
Logged
Print
Pages: [
1
]