From 500f8d65fc82cff7afd464fcf5c63f4a31ce4c40 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 6 Dec 2024 10:00:50 +0100 Subject: [PATCH] add the first version of the v0.1 examples --- examples/components/button_default.xml | 12 ++ examples/components/button_error.xml | 10 ++ examples/components/button_warning.xml | 10 ++ examples/components/dark_slider.xml | 21 +++ examples/components/h1.xml | 7 + examples/components/h2.xml | 7 + examples/components/h3.xml | 7 + examples/components/row.xml | 7 + examples/fonts/arial.ttf | Bin 0 -> 1036584 bytes examples/globals.xml | 11 ++ examples/images/lvgl.bmp | Bin 0 -> 138138 bytes examples/images/lvgl.png | Bin 0 -> 8723 bytes examples/images/screenshot.png | Bin 0 -> 653115 bytes examples/images/wink.png | Bin 0 -> 5158 bytes examples/tests/test2.lvml | 45 ++++++ examples/tests/tests.lvml | 40 +++++ examples/widgets/.DS_Store | Bin 0 -> 6148 bytes examples/widgets/dark_slider/dark_slider.c | 54 +++++++ examples/widgets/dark_slider/dark_slider.h | 41 ++++++ examples/widgets/dark_slider/dark_slider.xml | 22 +++ .../widgets/dark_slider/dark_slider_gen.c | 138 ++++++++++++++++++ .../widgets/dark_slider/dark_slider_gen.h | 49 +++++++ .../dark_slider/dark_slider_private_gen.h | 44 ++++++ .../dark_slider/dark_slider_xml_parser.c | 78 ++++++++++ examples/widgets/slider_box/slider_box.h | 46 ++++++ examples/widgets/slider_box/slider_box.xml | 27 ++++ 26 files changed, 676 insertions(+) create mode 100644 examples/components/button_default.xml create mode 100644 examples/components/button_error.xml create mode 100644 examples/components/button_warning.xml create mode 100644 examples/components/dark_slider.xml create mode 100644 examples/components/h1.xml create mode 100644 examples/components/h2.xml create mode 100644 examples/components/h3.xml create mode 100644 examples/components/row.xml create mode 100644 examples/fonts/arial.ttf create mode 100644 examples/globals.xml create mode 100644 examples/images/lvgl.bmp create mode 100644 examples/images/lvgl.png create mode 100644 examples/images/screenshot.png create mode 100644 examples/images/wink.png create mode 100644 examples/tests/test2.lvml create mode 100644 examples/tests/tests.lvml create mode 100644 examples/widgets/.DS_Store create mode 100644 examples/widgets/dark_slider/dark_slider.c create mode 100644 examples/widgets/dark_slider/dark_slider.h create mode 100644 examples/widgets/dark_slider/dark_slider.xml create mode 100644 examples/widgets/dark_slider/dark_slider_gen.c create mode 100644 examples/widgets/dark_slider/dark_slider_gen.h create mode 100644 examples/widgets/dark_slider/dark_slider_private_gen.h create mode 100644 examples/widgets/dark_slider/dark_slider_xml_parser.c create mode 100644 examples/widgets/slider_box/slider_box.h create mode 100644 examples/widgets/slider_box/slider_box.xml diff --git a/examples/components/button_default.xml b/examples/components/button_default.xml new file mode 100644 index 0000000..3130386 --- /dev/null +++ b/examples/components/button_default.xml @@ -0,0 +1,12 @@ + + + + + + +