Closed wutipong closed 5 months ago
I think, the InputActionCallback
gets much more details comparing to the WidgetCallback
, which is a good thing. Now only if WidgetCallback
get the same level of attention.
I am not sure if this is still meaningful with the current code base?
Currently
WidgetCallback
has no way to send customuserdata
into the callback. If there's a way to gives auserdata
it would be more flexible to use the GUI system.Here's some scenario where the
userdata
can be beneficial. Given that theIWidget
has one more field calledpUserdata
which will be used during calling the associated callbacks.