vurtun / nuklear

A single-header ANSI C gui library
13.68k stars 1.1k forks source link

nuklear vs dear imgui UX #693

Closed dkrikun closed 6 years ago

dkrikun commented 6 years ago

Hello,

I've been using ocornut/imgui for a few years now, and it serves me well, but its API is kinda complicated and its C++, so I found nuklear to be a much cleaner imgui library, in terms of API, language and design.

But, and it is a big but for me, the dear imgui UX out-of-the-box is significantly better. It looks better and it's easy to use. The font is better, the layout is better too.

Are there any ongoing efforts to improve this area? Related: does it seem feasible to combine both libraries somehow, to get both benefits?

vurtun commented 6 years ago

I laughed out loud the first time I read your issue. Harsh critique. But the problem with critics is they talk a lot and don't do.

Yes both dear imgui and nuklear have problems and different core values or even reason to exist in the first place. However the only magical case the best of each is combined would be if both omar and I would work together and were actually able to combine the pros while avoiding all the cons.

That won't happen simply because I don't have the time anymore to work extensively on open source. At some point we all have to start paying bills and open source does not.

As for a possible solution to your problem you might me interested in cimgui. It is a C conversion from dear imgui.

dkrikun commented 6 years ago

Sorry for being bold. I hold huge respect for both tools.

As for cimgui, it only solves the language problem, and it's definitely a second class citizen.

What I'm suggesting is to mix nuklear design and api with dear imgui ux. What do you think, it's feasible or nonsense?

On Sun, 10 Jun 2018, 19:08 Micha Mettke, notifications@github.com wrote:

Closed #693 https://github.com/vurtun/nuklear/issues/693.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vurtun/nuklear/issues/693#event-1672681025, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfGBBVXa4AmprsPWBsJ2jwFSQpwzH-Fks5t7UR6gaJpZM4UgTqq .

vurtun commented 6 years ago

You can still write your own version and this is not a joke suggestion. If you simplify enough and maybe take code from dear imgui and nuklear like drawing and font it shouldn't even take to much time and effort. The very first minimal version of nuklear only took me a few days/week. Probably the biggest advantage of immediate mode GUIs is that it is relatively easy to write your own simple version.