add title to examples

This commit is contained in:
griffi-gh 2024-03-07 01:15:33 +01:00
parent f0bd807ff8
commit 2e05a30d93
3 changed files with 3 additions and 0 deletions

View file

@ -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);

View file

@ -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);

View file

@ -14,6 +14,7 @@ use hui::{
mod boilerplate; mod boilerplate;
ui_main!( ui_main!(
"hUI: Wrapping demo",
init: |_| { init: |_| {
Instant::now() Instant::now()
}, },