Add `void *user` into `struct uiControl`
This pointer dedicated to user program, libui should not touch it in any way. If available, user program (or language binder) can avoid many ugly and dirty tricks. 8 bytes for each control is small cost for that flexibility.
This commit is contained in:
parent
cda991b7e2
commit
db53ca5d5f
Loading…
Reference in New Issue