mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 08:28:42 -06:00
upd doc
This commit is contained in:
parent
d982c54640
commit
fa6c658ca9
|
@ -3,7 +3,7 @@ name = "hui-glium"
|
||||||
description = "Glium backend for hUI"
|
description = "Glium backend for hUI"
|
||||||
repository = "https://github.com/griffi-gh/hui"
|
repository = "https://github.com/griffi-gh/hui"
|
||||||
authors = ["griffi-gh <prasol258@gmail.com>"]
|
authors = ["griffi-gh <prasol258@gmail.com>"]
|
||||||
version = "0.0.1"
|
version = "0.0.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
publish = true
|
publish = true
|
||||||
|
@ -14,7 +14,7 @@ include = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hui = { version = "=0.0.1", path = "../hui", default-features = false }
|
hui = { version = "^0.0", path = "../hui", default-features = false }
|
||||||
glium = "0.34"
|
glium = "0.34"
|
||||||
glam = "0.25"
|
glam = "0.25"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
@ -4,7 +4,7 @@ description = "Simple UI library for games and other interactive applications"
|
||||||
repository = "https://github.com/griffi-gh/hui"
|
repository = "https://github.com/griffi-gh/hui"
|
||||||
authors = ["griffi-gh <prasol258@gmail.com>"]
|
authors = ["griffi-gh <prasol258@gmail.com>"]
|
||||||
rust-version = "1.75"
|
rust-version = "1.75"
|
||||||
version = "0.0.1"
|
version = "0.0.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
publish = true
|
publish = true
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
use glam::Vec2;
|
#![forbid(unsafe_code)]
|
||||||
|
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||||
|
#![doc(html_logo_url = "https://raw.githubusercontent.com/griffi-gh/hui/master/.assets/hui.svg")]
|
||||||
|
//!
|
||||||
|
//! Simple UI library for games and other interactive applications
|
||||||
|
//!
|
||||||
|
|
||||||
pub mod element;
|
pub mod element;
|
||||||
pub mod event;
|
pub mod event;
|
||||||
|
@ -12,6 +17,7 @@ use element::UiElement;
|
||||||
use state::StateRepo;
|
use state::StateRepo;
|
||||||
use draw::{UiDrawCommands, UiDrawPlan};
|
use draw::{UiDrawCommands, UiDrawPlan};
|
||||||
use text::{TextRenderer, FontTextureInfo, FontHandle};
|
use text::{TextRenderer, FontTextureInfo, FontHandle};
|
||||||
|
use glam::Vec2;
|
||||||
|
|
||||||
// pub struct ElementContext<'a> {
|
// pub struct ElementContext<'a> {
|
||||||
// pub state: &'a mut StateRepo,
|
// pub state: &'a mut StateRepo,
|
||||||
|
|
Loading…
Reference in a new issue