News for hackers. Stuff that matters.
Re:Writing GUI apps for Windows is painful by bun_terminator on Sunday June 30, 2024 @04:02PM (#40839868)
imgui offers incredible development speed. And I've used it many times with great success. It's unorthodox yes (and there's a long-open bug I won't talk about again) but it's dear to my heart. It's like MFC on steroids: You don't have to leave C++.

But yeah at least a few of those caveats remain. Although keyboard navigation and font rendering have quite a bit of support.

Re:Writing GUI apps for Windows is painful by fuzztester on Monday July 01, 2024 @11:00AM (#40846415)
Due to what reasons does imgui offer incredible development speed?
Re:Writing GUI apps for Windows is painful by bun_terminator on Monday July 01, 2024 @12:10PM (#40847194)
Because adding a text is just a imgui::text("abc") function call. And a button is just an if(imgui::button("click me")) do_something() statement. There is no other language involved, no markup, no gui editor. Just direct code and highly hackable to make this extend to unexpected lengths.
Re:Writing GUI apps for Windows is painful by fuzztester on Monday July 01, 2024 @12:56PM (#40847697)
Thanks, got it.
Re:Writing GUI apps for Windows is painful by masfoobar on Wednesday July 03, 2024 @07:43AM (#40865018)
To add to this, I find it easier to have a simple while loop that renders the screen, fetching variable data on-the-fly, etc. It is rather pleasing to the eye to understand the layout with IM interfaces, etc.

Comparing this to (something like) WPF, you create XAML files, with either or combination of ViewModels and back-end code to "bind" and can get complicated quickly. I guess the only exception to this is if you have commited to WPF non-stop for many months. However, with IM interfaces, its easy to get going (imo)