Files
Odin/vendor/microui
Laytan Laats 6bbe7d88b8 microui: make clipboard optional during init
Clipboard is an optional addition to the microui functionality, but the
init function makes it look like it is required. Additionally, a bunch of
the examples both on the Odin-Lang/examples repo and others are now
"broken".
2024-05-30 16:19:33 +02:00
..
2021-09-23 12:20:01 +01:00
2021-09-23 12:20:01 +01:00
2021-09-23 12:20:44 +01:00

microui-odin

Description

A tiny, portable, immediate-mode UI library written in Odin. (Ported from rxi/microui.)

screenshot

Browser Demo (rxi's microui)

Features

  • Tiny: around 1200 sloc of Odin
  • Works within a fixed-sized memory region: no additional memory is allocated
  • Built-in controls: window, panel, button, slider, textbox, label, checkbox, wordwrapped text
  • Easy to add custom controls
  • Simple layout system

Notes

  • This library assumes you are using the latest nightly build or GitHub master of the Odin compiler. Since Odin is still under development this means this library might break in the future. Please create an issue or PR if that happens.
  • The library expects the user to provide input and handle the resultant drawing commands, it does not do any drawing itself.

License

This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.