From 8b756a8686a9631d484888401ecd63b8a175099a Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 12 Dec 2024 11:16:52 +0100 Subject: [PATCH] example finalized --- .../components/buttons/button_default.xml | 4 +- examples/components/buttons/button_error.xml | 4 +- .../components/buttons/button_warning.xml | 5 ++- examples/components/home.xml | 41 +++++++++++-------- examples/ui.c | 11 +++++ examples/ui.h | 3 ++ examples/widgets/dark_slider/dark_slider.xml | 2 +- .../widgets/dark_slider/dark_slider_gen.c | 2 +- examples/widgets/slider_box/slider_box.c | 39 ++++++++++++++---- examples/widgets/slider_box/slider_box.xml | 29 +++++++------ examples/widgets/slider_box/slider_box_gen.c | 25 ++++++++--- 11 files changed, 114 insertions(+), 51 deletions(-) diff --git a/examples/components/buttons/button_default.xml b/examples/components/buttons/button_default.xml index 8289f88..96b683c 100644 --- a/examples/components/buttons/button_default.xml +++ b/examples/components/buttons/button_default.xml @@ -1,7 +1,7 @@ - + @@ -21,6 +21,6 @@ -

+

diff --git a/examples/components/buttons/button_error.xml b/examples/components/buttons/button_error.xml index 1f302aa..fd79f02 100644 --- a/examples/components/buttons/button_error.xml +++ b/examples/components/buttons/button_error.xml @@ -1,7 +1,7 @@ - + @@ -22,6 +22,6 @@ -

+

diff --git a/examples/components/buttons/button_warning.xml b/examples/components/buttons/button_warning.xml index 2243f15..1b4ea8b 100644 --- a/examples/components/buttons/button_warning.xml +++ b/examples/components/buttons/button_warning.xml @@ -1,7 +1,7 @@ - + @@ -11,6 +11,7 @@ border_width="0" radius="12" shadow_width="0" + text_color="0x111111" />