Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I also had no idea what "immediate mode GUI" meant. Granted, it's been while since I've done any non-browser UI work.

Browsing the Dear ImGui project, it looks pretty cool.

https://github.com/ocornut/imgui/wiki

From the hip, I'd say one big difference is the API for modals is blocking (waiting for user input), vs callback. That's pretty cool.

I don't yet know how non-modal is handled. Edit: Ah, it looks like return values are also wired up directly, vs the indirection of an event model or listeners. Clever.

--

At this time, I don't think comparisons (in this thread) to OpenGL's immediate ("interactive") vs retained ("batched") modes are relevant.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: