1
1
Fork 0
mirror of https://github.com/griffi-gh/hUI.git synced 2025-03-31 21:16:28 -05:00

add WIP bevy_hui

This commit is contained in:
griffi-gh 2025-03-11 16:25:30 +01:00
parent 25f5abf5fd
commit 1b71488df8
5 changed files with 26 additions and 0 deletions

View file

@ -10,4 +10,5 @@ members = [
"hui-wgpu",
"hui-winit",
"hui-loaders",
"bevy_hui",
]

16
bevy_hui/Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "bevy_hui"
version = "0.1.0-alpha.7"
edition = "2024"
publish = false # WIP
[dependencies]
bevy = { version = "0.15", default-features = false }
hui-painter = { version = "0.1.0-alpha.7", path = "../hui-painter", default-features = false }
hui = { version = "0.1.0-alpha.7", path = "../hui", default-features = false, optional = true }
[features]
default = ["plugin-all"]
plugin-all = ["plugin-painter", "plugin-input"]
plugin-painter = []
plugin-input = ["dep:hui"]

1
bevy_hui/src/input.rs Normal file
View file

@ -0,0 +1 @@
pub struct UiInputPlugin {}

7
bevy_hui/src/lib.rs Normal file
View file

@ -0,0 +1,7 @@
mod input;
pub use input::UiInputPlugin;
mod render;
pub use render::UiRenderPlugin;
pub struct UiPlugin {}

1
bevy_hui/src/render.rs Normal file
View file

@ -0,0 +1 @@
pub struct UiRenderPlugin {}