mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-14 14:23:43 +00:00
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# microui-odin
|
|
|
|
## Description
|
|
A tiny, portable, immediate-mode UI library written in Odin. (Ported from [rxi/microui](https://github.com/rxi/microui).)
|
|
|
|

|
|
|
|
[**Browser Demo**](https://floooh.github.io/sokol-html5/sgl-microui-sapp.html) (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](LICENSE) for details.
|