mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 15:18:43 -06:00
add title to examples
This commit is contained in:
parent
796e274e32
commit
fb60c25385
|
@ -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