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;
|
||||
|
||||
ui_main!(
|
||||
"hUI: Loading screen demo",
|
||||
init: |ui| {
|
||||
let font = ui.add_font(include_bytes!("../assets/blink/Blink-ynYZ.otf"));
|
||||
ui.push_font(font);
|
||||
|
|
|
@ -19,6 +19,7 @@ use hui::{
|
|||
mod boilerplate;
|
||||
|
||||
ui_main!(
|
||||
"hUI: Transform API demo",
|
||||
init: |ui| {
|
||||
let font = ui.add_font(include_bytes!("../assets/blink/Blink-ynYZ.otf"));
|
||||
ui.push_font(font);
|
||||
|
|
|
@ -14,6 +14,7 @@ use hui::{
|
|||
mod boilerplate;
|
||||
|
||||
ui_main!(
|
||||
"hUI: Wrapping demo",
|
||||
init: |_| {
|
||||
Instant::now()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue