Skip to content
/ microui Public
forked from rxi/microui

Tiny immediate-mode UI library

License

Notifications You must be signed in to change notification settings

ghaerr/microui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microui

screenshot

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

nano-X

Microui running on Nano-X using text and fillrect only

Browser Demo

Features

  • Tiny: around 1100 sloc of ANSI C
  • 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

Usage

  • See doc/usage.md for usage instructions
  • See the demo directory for a usage example

Notes

  • The library expects the user to provide input and handle the resultant drawing commands, it does not do any drawing itself
  • In contrast to other immediate mode ui libraries microui does not store window, panel, header or treenode state internally. It is up to the user to manage this data themselves

Contributing

The library is designed to be lightweight, providing a foundation to which you can easily add custom controls and UI elements; pull requests adding additional features will likely not be merged. Bug reports are welcome.

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.

Releases

No releases published

Packages

No packages published

Languages

  • C 51.2%
  • C++ 46.5%
  • Shell 2.3%