Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.
Zenvra-StudiosPublic archive

About

Declarative UI and layout engine in pure C inspired by Flutter.

Resources

Contributing

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

ZLay (Zen Layout + Styling Library)

Native C/C++ layout & styling library concept untuk UI tools/engine editor berbasis OpenGL/Vulkan, dengan arah backend masa depan seperti WebGPU, Metal, Direct3D, software rasterizer, dan custom engine renderer.

ZLay tidak membawa CSS runtime, DOM scripting, WebKit, atau Chromium. Core-nya menghasilkan layout dan render commands; backend yang menerjemahkan command itu ke platform/renderer yang dipilih.

  • Dokumentasi: docs/README.md
  • Visi: docs/vision.md

Build (CMakePresets)

cmake --preset debug
cmake --build --preset debug -j
./build/debug/zlay_example_basic

Python Helper

python3 scripts/zlay.py
python3 scripts/zlay.py --preset release
python3 scripts/zlay.py --backend gtk
python3 scripts/zlay.py clean --backend gtk

Include

  • C API core: #include "zlay.h"
  • Example/tutorial helper: #include "zlay_example.h"
  • Backend interfaces: #include "backends/zlay_backends.h"
  • Renderer backends: #include "backends/renderer/opengl/zlay_opengl_renderer_backend.h" atau #include "backends/renderer/vulkan/zlay_vulkan_renderer_backend.h"
  • Platform backends: #include "os/zlay_os.h"

Source Layout

  • zlay.h: public single entry untuk core C API.
  • zlay/: implementasi core, components, renderer, backends, drivers, shader API, dan OS facade.
  • third_party/: dependensi vendor yang diisolasi dari core ZLay.
  • shader/: source shader asli per bahasa yang di-embed saat build.
  • include/: helper untuk example/tutorial, bukan tempat implementasi core.

About

Declarative UI and layout engine in pure C inspired by Flutter.

Resources

Contributing

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages