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:
parent
25f5abf5fd
commit
1b71488df8
|
@ -10,4 +10,5 @@ members = [
|
|||
"hui-wgpu",
|
||||
"hui-winit",
|
||||
"hui-loaders",
|
||||
"bevy_hui",
|
||||
]
|
||||
|
|
16
bevy_hui/Cargo.toml
Normal file
16
bevy_hui/Cargo.toml
Normal 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
1
bevy_hui/src/input.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub struct UiInputPlugin {}
|
7
bevy_hui/src/lib.rs
Normal file
7
bevy_hui/src/lib.rs
Normal 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
1
bevy_hui/src/render.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub struct UiRenderPlugin {}
|
Loading…
Reference in a new issue