From 2e05a30d93b4ed1643809eefaa48a0ec01256d25 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 7 Mar 2024 01:15:33 +0100 Subject: [PATCH] add title to examples --- hui-examples/examples/ui_test_2_loading.rs | 1 + hui-examples/examples/ui_test_3_transform.rs | 1 + hui-examples/examples/ui_test_4_wrapping.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/hui-examples/examples/ui_test_2_loading.rs b/hui-examples/examples/ui_test_2_loading.rs index 011c06d..2cde027 100644 --- a/hui-examples/examples/ui_test_2_loading.rs +++ b/hui-examples/examples/ui_test_2_loading.rs @@ -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); diff --git a/hui-examples/examples/ui_test_3_transform.rs b/hui-examples/examples/ui_test_3_transform.rs index aff88fb..e57b3b9 100644 --- a/hui-examples/examples/ui_test_3_transform.rs +++ b/hui-examples/examples/ui_test_3_transform.rs @@ -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); diff --git a/hui-examples/examples/ui_test_4_wrapping.rs b/hui-examples/examples/ui_test_4_wrapping.rs index e9bf93c..8fa5ecd 100644 --- a/hui-examples/examples/ui_test_4_wrapping.rs +++ b/hui-examples/examples/ui_test_4_wrapping.rs @@ -14,6 +14,7 @@ use hui::{ mod boilerplate; ui_main!( + "hUI: Wrapping demo", init: |_| { Instant::now() },