diff examples/example-ui/button-style-glow.h @ 506:e205625015ba

ui: gridmenu is stylable
author David Demelier <markand@malikania.fr>
date Thu, 02 Mar 2023 08:54:00 +0100
parents 6100c643dba0
children
line wrap: on
line diff
--- a/examples/example-ui/button-style-glow.h	Wed Mar 01 16:24:07 2023 +0100
+++ b/examples/example-ui/button-style-glow.h	Thu Mar 02 08:54:00 2023 +0100
@@ -25,10 +25,10 @@
 #define BUTTON_STYLE_GLOW_COLOR_2       0xa6cc34ff
 #define BUTTON_STYLE_GLOW_DELAY         20
 
+struct mlk_glower;
+
 struct button_style_glow {
-	unsigned long colors[3];
-	unsigned int delay;
-	unsigned int elapsed;
+	struct mlk_glower *glow;
 	struct mlk_button_style style;
 };