Crates.io | guiedit |
lib.rs | guiedit |
version | 0.1.0 |
source | src |
created_at | 2022-11-12 12:35:18.271467 |
updated_at | 2022-11-12 12:35:18.271467 |
description | Easily add a developer GUI to any graphical application |
homepage | https://github.com/aleokdev/guiedit |
repository | https://github.com/aleokdev/guiedit |
max_upload_size | |
id | 713594 |
size | 137,347 |
guiedit
is a Rust library for easily adding a developer GUI to any graphical application.
The crate is in a really experimental state right now. Although it is usable, things may change at any point. The tree node and inspector are already implemented, but the only backend supported is SFML. If you use SFML, feel free to include this crate, but expect to see many breaking changes down the line.
Any issue reports & PRs are greatly appreciated!
The goal of this crate is to be able to change a few lines of code in an existing or new codebase and instantly get an editor viewport, an object inspector, graphical gizmos, and even state loading/saving & hot code reloading. You can read further details on the "Progress" section below.
TODO; Check examples for now
Symbol | Meaning |
---|---|
✅ | Done; implemented |
☑️ | Partial implementation |
🚧 | Work-in-progress |
⌛ | Planned; Queued |
Feature | Status |
---|---|
Inspector with support for Inspectable objects |
✅ |
#[derive(Inspectable)] for structs |
✅ |
#[derive(Inspectable)] for enums |
✅ |
Object tree with support for TreeNode objects |
✅ |
#[derive(TreeNode)] for structs |
✅ |
#[derive(TreeNode)] for enums |
⌛ |
Inspectable impl for std & core types |
☑️🚧 |
TreeNode impl for std & core types |
☑️🚧 |
Hot code reloading | ⌛ |
Graphical gizmo support | ⌛ |
sfml
IntegrationFeature | Status |
---|---|
Forwarding all user rendering to offscreen texture | ✅ |
Capturing events from the editor and relaying them to user-side | ☑️ |
Object inspection via UI | ✅ |
Window resizing | ⌛ |
Inspectable impl for SFML types |
☑️🚧 |
Graphical gizmos for Drawable s |
⌛ |