No description
Find a file
2024-02-25 21:33:01 +01:00
.vscode cleanup 2023-10-26 13:40:14 +02:00
mangades switch to signals, start working on slots 2024-02-25 21:33:01 +01:00
rusalka switch to signals, start working on slots 2024-02-25 21:33:01 +01:00
rusalka-macro switch to signals, start working on slots 2024-02-25 21:33:01 +01:00
ui improved text rendering, again 2024-02-24 23:44:39 +01:00
.gitignore use workspace 2023-10-23 17:15:24 +02:00
Cargo.lock switch to signals, start working on slots 2024-02-25 21:33:01 +01:00
Cargo.toml WIP rusalka compiler 2023-10-28 02:35:58 +02:00
README.md basic readme 2023-10-26 13:40:11 +02:00

Mangui

Experimental GUI framework, inspired by DOM.

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.