Immediate mode ui library for C3. (Name subject to change).
This repo contains the library itself, a renderer based on SLD3's new GPU API and a test program.
The library is located at lib/ugui.c3l
.
The layout algorithm is similar to flexbox. A graphical description of the layout algorithm is located in the LAYOUT file. The structure of the library is (was) described in the ARCHITECTURE file, most of it is now irrelevant and will be updated in the future.
shaderc
forglslc
c3c
version >0.7.5SDL3
- A C compiler
- Clone the repo and all dependencies
git clone https://github.com/ma-ale/ugui
cd ugui
git submodule update --recursive --init
- Build libgrapheme
cd lib/grapheme.c3l
make
cd ../..
- Compile libschrift
cd lib/schrift.c3l
make
cd ../..
- Build and run the project
make && build/ugui