2025-06-30 13:07:42 +02:00
2024-10-29 22:45:47 +01:00
2025-10-13 23:55:41 +02:00
2025-06-30 13:07:42 +02:00
2025-10-13 23:55:41 +02:00
2025-09-23 23:32:34 +02:00
2025-06-09 16:06:49 +02:00
2024-01-09 16:00:03 +01:00
2024-10-29 22:45:47 +01:00
idk
2025-09-11 19:00:41 +02:00
2025-10-06 23:46:27 +02:00
2025-10-10 22:31:28 +02:00

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
Description
No description provided
Readme 6.9 MiB
Languages
GLSL 62.8%
Makefile 20.5%
CSS 16.7%