pplux / imgui-app

Dear IMGUI + Render + Window handling, amalgamation in two files ready to use
MIT License
161 stars 17 forks source link

Expose event callback function in header #8

Closed Xadiant closed 5 months ago

Xadiant commented 1 year ago

I needed to access the event callback function to handle clipboard operations in my app. This requires me to make sure that I still call the imgui-app event function to keep imgui working and interactive. This should allow that.

I couldn't find that I broke anything by changing the function to no longer be static...

pplux commented 5 months ago

Sorry, I'm going to try to update imgui-app to latest sokol version, and point directly to the original author of the lib (not my fork, or anyonelses).

Once we do that, we can expose more functions if you still need them :)