Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schell/berry
Constraint based GUI for Rust
https://github.com/schell/berry
cassowary constraint-layout gui rust sdl2
Last synced: 2 days ago
JSON representation
Constraint based GUI for Rust
- Host: GitHub
- URL: https://github.com/schell/berry
- Owner: schell
- Created: 2019-10-08T05:31:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T16:52:27.000Z (over 5 years ago)
- Last Synced: 2024-12-14T17:32:55.454Z (about 2 months ago)
- Topics: cassowary, constraint-layout, gui, rust, sdl2
- Language: Rust
- Homepage:
- Size: 110 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# berry
`berry` is a user interface library for games and multimedia applications. It's
also a bit like a database. Widgets' behaviors are defined by their relationships
to each other and their state can be queried by interested parties (including you).## What it is
Under the hood `berry` is the `specs` entity component system paired with a
simple declarative 2d graphics API and the Cassowary linear constraint solving
algorithm.## Build
First get the sdl2 libs:ubuntu:
```
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
```then `cargo build` or `cargo run`.
## TODO (besides the ones found in the source code)
- [ ] screenshots
- [ ] documentation
- [ ] examples
- [ ] wasm/emscripten backends
- [ ] place berry with respect to
[other GUIs](https://www.reddit.com/r/rust/comments/dr04ce/reclutch_a_simple_rust_ui_foundation/f6d4i9r?utm_source=share&utm_medium=web2x)