Skip to content

ma-ale/ugui

Repository files navigation

UGUI

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.

Dependencies

  • shaderc for glslc
  • c3c version >0.7.5
  • SDL3
  • A C compiler

Building

  1. Clone the repo and all dependencies
git clone https://github.com/ma-ale/ugui
cd ugui
git submodule update --recursive --init
  1. Build libgrapheme
cd lib/grapheme.c3l
make
cd ../..
  1. Compile libschrift
cd lib/schrift.c3l
make
cd ../..
  1. Build and run the project
make && build/ugui

About

mirror of: https://git.alemauri.eu/alema/ugui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages