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

Again IMGUI. Several years ago there was a chain of videos and blog posts by different authors. People were drawing two buttons and saying "see how easy it is".

In this post the author seems to go further than two buttons, but I'm skeptical. I wish there was a video showing how it works in dynamics - inputs clicked, texts entered, scrollbars scrolled, dialogs dragged around. Or source code available to build and try locally.

From the code in the post I suppose the majority of UI is dead - can not be interacted with.

I think IMGUI can only be convenient for very simple cases.

In real frameworks the lowest level is immediate mode (see WM_PAINT in WinAPI), but real UI needs quickly evolve them into the traditional RMGUI.

BTW, this thinking is my source of doubts about React.



I think you have it exactly backwards. Most ImGUI use cases are extremely complex UIs and that's where they excel.

One of the most complex apps out there, Unity, is entirely ImGUI based for the app itself and often has 1000s of controls visible. Going though the screenshots of typical ImGUI usage most of them are on the complex side.

https://cloud.githubusercontent.com/assets/8225057/20628927/...

https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v16...

https://user-images.githubusercontent.com/16171743/50757906-...

https://user-images.githubusercontent.com/8225057/51042368-6...

https://user-images.githubusercontent.com/870320/51073482-ba...

See https://github.com/ocornut/imgui#Gallery for more




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

Search: