Crates.io | hui |
lib.rs | hui |
version | |
source | src |
created_at | 2024-02-17 20:55:39.548686 |
updated_at | 2024-12-11 20:05:20.964284 |
description | Simple UI library for games and other interactive applications |
homepage | |
repository | https://github.com/griffi-gh/hui |
max_upload_size | |
id | 1143505 |
Cargo.toml error: | TOML parse error at line 25, column 1 | 25 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Container::default()
.with_size(size!(100%, 50%))
.with_align(Alignment::Center)
.with_padding(5.)
.with_gap(10.)
.with_background(rect_frame! {
color: (0.5, 0.5, 0.5, 1.),
corner_radius: 10.,
})
.with_children(|ui| {
Text::default()
.with_text("Hello, world")
.with_text_size(100)
.with_color(color::BLACK)
.add_child(ui);
Container::default()
.with_padding((10., 20.))
.with_background(rect_frame! {
color: color::DARK_RED,
corner_radius: (2.5, 30., 2.5, 2.5),
})
.with_children(|ui| {
Text::default()
.with_text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
.with_text_size(24)
.add_child(ui);
})
.add_child(ui);
})
.add_root(ui, size);
hui
|
glium (render)
|
winit (platform)
|
wgpu (render)
|
---|---|---|---|
master
|
hui-glium = <master> glium = "0.36"
|
hui-winit = <master> winit = "0.30"
|
hui-wgpu = <master> wgpu = "23"
|
0.1.0-alpha.5
|
hui-glium = <master> glium = "0.36"
|
hui-winit = <master> winit = "0.30"
|
hui-wgpu = <master> wgpu = "23"
|
0.1.0-alpha.4
|
hui-glium = "0.1.0-alpha.4" glium = "0.34"
|
hui-winit = "0.1.0-alpha.4" winit = "0.29"
|
N/A |
0.1.0-alpha.3
|
hui-glium = "0.1.0-alpha.3" glium = "0.34"
|
N/A | |
0.1.0-alpha.2
|
hui-glium = "0.1.0-alpha.2" glium = "0.34"
|
N/A | |
0.1.0-alpha.1
|
hui-glium = "0.1.0-alpha.1" glium = "0.34"
|
N/A |