Live data from Hacker News

MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C

github.com

1–10 of 91 posts

Re: MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C

#2
>"Features

o Tiny: around 1100 sloc of ANSI C

o Works within a fixed-sized memory region: no additional memory is allocated

o Built-in controls: window, scrollable panel, button, slider, textbox, label, checkbox, wordwrapped text

o Works with any rendering system that can draw rectangles and text

o Designed to allow the user to easily add custom controls

o Simple layout system"

Re: MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C

#8
post #5

The first thing I look for in any UI library is accessibility support. Makes it trivial to filter out toy projects.

This is a library in similar vein to "Dear imgui", minimal requirements for integration (rectangle and text rendering) so that it's easy to embed into game-engines,etc for debug UI's and similar things.

Re: MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C

#9
post #5

The first thing I look for in any UI library is accessibility support. Makes it trivial to filter out toy projects.

Or, not every UI library is intended for use cases where a13y even makes sense.

Like a debug UI in a game engine, or in an embedded device that doesn't even have input for a13y.

Re: MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C

#10
post #5

The first thing I look for in any UI library is accessibility support. Makes it trivial to filter out toy projects.

No. As much as I would like it to be the case, that is most certainly a poor criteria to evaluate a UI library.

Dear ImGui [0] is without a doubt the most prevalent immediate mode UI library. It does not have native accessibility features, but that hasn't stopped companies such as Intel, Meta, IKEA and Google from shipping products built upon it. It's also used in a ton of games.

Calling Dear ImGui a toy project at this point would be like calling Unreal Engine a toy project.

It's a shame accessibility support is not more widespread, and furthermore it's a shame that it is so laborious to add it.

0: https://github.com/ocornut/imgui/

Post reply on HN