No description
Find a file
2024-10-12 22:23:02 +02:00
.vscode cleanup 2023-10-26 13:40:14 +02:00
mangades add scrolling capability 2024-03-14 21:59:55 +01:00
mangades-plain add scrolling capability 2024-03-14 21:59:55 +01:00
rusalka progress on slot demo 2024-02-27 13:41:52 +01:00
rusalka-macro progress on slot demo 2024-02-27 13:41:52 +01:00
ui make it build on nix 2024-07-25 23:49:21 +02:00
uno-gen add scrolling capability 2024-03-14 21:59:55 +01:00
.envrc make it build on nix 2024-07-25 23:49:21 +02:00
.gitignore use workspace 2023-10-23 17:15:24 +02:00
Cargo.lock make it build on nix 2024-07-25 23:49:21 +02:00
Cargo.toml working uno-like styles generation 2024-03-02 11:24:53 +01:00
README.md Update README.md 2024-10-12 22:23:02 +02:00
shell.nix make it build on nix 2024-07-25 23:49:21 +02:00

Mangui

Experimental GUI framework, inspired by DOM.

Most likely abandoned in favor of cushy - it has a nice reactive model that just works, uses wgpu (more platforms than opengl) and doesn't need weird styling like here.

Features

  • uses Taffy for layouts - Grid and Flexbox support
  • uses Femtovg as a renderer
    • currently runs on OpenGL (and OpenGL ES) only - no M1 support yet
    • no stroke dashing, custom shaders, 3d transforms or color fonts
      • stroke dashing could possibly be done using stroke pattern
  • uses winit+glutin for window rendering
  • events mirror their DOM counterparts (names, bubbling etc).
    • No capture part
    • Properties are changed for better usability
    • no currentTarget
    • no stopping propagation
    • no preventDefault as there are no default actions
  • no layers support (yet :))

Usage

Similar to DOM, there are Nodes, which are recursive. They implement a Node trait, which only requires to get styles (for layouting with Taffy), children and a draw function.

Rusalka

Experimental 'svelte'-like framework for mangui. Doesn't work very well yet.