Here's a simple WASM version of the Nuklear standard demo: https://floooh.github.io/sokol-html5/nuklear-sapp.html The big difference to Dear ImGui is that Nuklear has a C API and is also implemented in C - and apparently it has more skinning/themeing options, which I haven't tinkered with yet. TBH, for tools I prefer cimgui (a C wrapper around Dear ImGui), my impression is that Nuklear has a 'purer' immediate-mode de…
Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
41–50 of 103 posts
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#42Does anyone know of something similarly lightweight but retained mode?
It's geared more for embedded, but you can use an sdl back end for desktop (which might kill your light weight requirement depending on your strictness level). I wrote my own tty/framebuffer driver for it and use it directly on the frame buffer (not Linux) but it's pretty nice to work with. But if you need metal/openGL/Vulcan/directX and hardware acceleration, it's probably not what you're after.
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#43Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#44Does anyone know of something similarly lightweight but retained mode?
You can check out LVGL: https://github.com/lvgl/lvgl/ It's geared more for embedded, but you can use an sdl back end for desktop (which might kill your light weight requirement depending on your strictness level). I wrote my own tty/framebuffer driver for it and use it directly on the frame buffer (not Linux) but it's pretty nice to work with. But if you need metal/openGL/Vulcan/directX and hardware acceleration, it'…
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#45Nuklear is great. I’ve spent countless hours hacking around with it. I’ve also built a customized version for classic Macintosh systems (down to System 2.0 or so) and built some simple Macintosh software for it. I put it on GitHub here: https://github.com/CamHenlin/nuklear-quickdraw
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#46This looks cool, but I don’t do a lot of GUI work. Why would one use this as opposed to Qt?
License issues aside the typical use case is that you want to integrate the UI with an existing 3D renderer (e.g. you have a 3D engine, and want an UI overlay for tooling and debugging). 'Bring your own renderer' UI frameworks like Nuklear or Dear ImGui are perfect for this use case. With 'traditional' UI frameworks like Qt, WPF, GTK... this is a massive PITA and even if it's possible would add an incredible amount o…
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#47This looks cool, but I don’t do a lot of GUI work. Why would one use this as opposed to Qt?
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#48Here's a simple WASM version of the Nuklear standard demo: https://floooh.github.io/sokol-html5/nuklear-sapp.html The big difference to Dear ImGui is that Nuklear has a C API and is also implemented in C - and apparently it has more skinning/themeing options, which I haven't tinkered with yet. TBH, for tools I prefer cimgui (a C wrapper around Dear ImGui), my impression is that Nuklear has a 'purer' immediate-mode de…
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#49Here's a simple WASM version of the Nuklear standard demo: https://floooh.github.io/sokol-html5/nuklear-sapp.html The big difference to Dear ImGui is that Nuklear has a C API and is also implemented in C - and apparently it has more skinning/themeing options, which I haven't tinkered with yet. TBH, for tools I prefer cimgui (a C wrapper around Dear ImGui), my impression is that Nuklear has a 'purer' immediate-mode de…
Not sure about that, maybe javascript with svg would be easier to write such an app in.