mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-21 22:58:42 -06:00
add title to examples
This commit is contained in:
parent
f0bd807ff8
commit
2e05a30d93
|
@ -12,6 +12,7 @@ use hui::{
|
||||||
mod boilerplate;
|
mod boilerplate;
|
||||||
|
|
||||||
ui_main!(
|
ui_main!(
|
||||||
|
"hUI: Loading screen demo",
|
||||||
init: |ui| {
|
init: |ui| {
|
||||||
let font = ui.add_font(include_bytes!("../assets/blink/Blink-ynYZ.otf"));
|
let font = ui.add_font(include_bytes!("../assets/blink/Blink-ynYZ.otf"));
|
||||||
ui.push_font(font);
|
ui.push_font(font);
|
||||||
|
|
|
@ -19,6 +19,7 @@ use hui::{
|
||||||
mod boilerplate;
|
mod boilerplate;
|
||||||
|
|
||||||
ui_main!(
|
ui_main!(
|
||||||
|
"hUI: Transform API demo",
|
||||||
init: |ui| {
|
init: |ui| {
|
||||||
let font = ui.add_font(include_bytes!("../assets/blink/Blink-ynYZ.otf"));
|
let font = ui.add_font(include_bytes!("../assets/blink/Blink-ynYZ.otf"));
|
||||||
ui.push_font(font);
|
ui.push_font(font);
|
||||||
|
|
|
@ -14,6 +14,7 @@ use hui::{
|
||||||
mod boilerplate;
|
mod boilerplate;
|
||||||
|
|
||||||
ui_main!(
|
ui_main!(
|
||||||
|
"hUI: Wrapping demo",
|
||||||
init: |_| {
|
init: |_| {
|
||||||
Instant::now()
|
Instant::now()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue