This commit is contained in:
griffi-gh 2024-02-17 23:06:11 +01:00
parent d982c54640
commit fa6c658ca9
3 changed files with 10 additions and 4 deletions

View file

@ -3,7 +3,7 @@ name = "hui-glium"
description = "Glium backend for hUI"
repository = "https://github.com/griffi-gh/hui"
authors = ["griffi-gh <prasol258@gmail.com>"]
version = "0.0.1"
version = "0.0.2"
edition = "2021"
license = "GPL-3.0-or-later"
publish = true
@ -14,7 +14,7 @@ include = [
]
[dependencies]
hui = { version = "=0.0.1", path = "../hui", default-features = false }
hui = { version = "^0.0", path = "../hui", default-features = false }
glium = "0.34"
glam = "0.25"
log = "0.4"

View file

@ -4,7 +4,7 @@ description = "Simple UI library for games and other interactive applications"
repository = "https://github.com/griffi-gh/hui"
authors = ["griffi-gh <prasol258@gmail.com>"]
rust-version = "1.75"
version = "0.0.1"
version = "0.0.2"
edition = "2021"
license = "GPL-3.0-or-later"
publish = true

View file

@ -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 event;
@ -12,6 +17,7 @@ use element::UiElement;
use state::StateRepo;
use draw::{UiDrawCommands, UiDrawPlan};
use text::{TextRenderer, FontTextureInfo, FontHandle};
use glam::Vec2;
// pub struct ElementContext<'a> {
// pub state: &'a mut StateRepo,