Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
21–30 of 103 posts
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#22Earlier quoted context omitted.
> https://floooh.github.io/sokol-html5/nuklear-sapp-ui.html The check-box being an empty square when it's checked, and a filled square when it's unchecked is an unpopular design decision.
Not just unpopular, it seems totally misleading and plain wrong to me. I've also seen elsewhere something similar, like checkboxes used instead of checkmarks as output widgets on web pages; cannot recall where though.
Then copy and paste took over.
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#23For people that have used both Nuklear and ImGui, how do they compare? Which would you choose for your next project and why?
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#24Here'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…
> https://floooh.github.io/sokol-html5/nuklear-sapp-ui.html The check-box being an empty square when it's checked, and a filled square when it's unchecked is an unpopular design decision.
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#25Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#26Here'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…
> https://floooh.github.io/sokol-html5/nuklear-sapp-ui.html The check-box being an empty square when it's checked, and a filled square when it's unchecked is an unpopular design decision.
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#27Does this support writing to a linear frame buffer? Would be interesting to port to run on my OS if so.
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#28Earlier quoted context omitted.
> https://floooh.github.io/sokol-html5/nuklear-sapp-ui.html The check-box being an empty square when it's checked, and a filled square when it's unchecked is an unpopular design decision.
You're right, it looked completely bogus to me with things seeming to do the opposite of what I configured, until I read your message! The problem with UIs is that people can't refrain from distinguishing themselves by doing something different from what seems intuitive to most, just because they can. And that results in the current web and interfaces...
Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#29Re: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
#30Here'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…
> https://floooh.github.io/sokol-html5/nuklear-sapp-ui.html The check-box being an empty square when it's checked, and a filled square when it's unchecked is an unpopular design decision.
The best example and how I learnt about this is the mute toggle on iPhones and the lock toggle on the old iPods.
When you turned the switch ‘on’ it turned the sound/buttons ‘off’. The signify this special kind of ‘inverted’ switch, they put the orange colour on there. [1]
This is a rare use case but it does exist. And definitely shouldn’t be the default in the UI library
[1] https://d3nevzfk7ii3be.cloudfront.net/igi/mmIJOyYlvjSvCBrH.m...