diff examples/example-ui/example-ui.c @ 520:7e7c6786d21e

ui: button has now pressed style attributes
author David Demelier <markand@malikania.fr>
date Sat, 04 Mar 2023 15:10:35 +0100
parents d49a05e7a5b5
children f45a023f6690
line wrap: on
line diff
--- a/examples/example-ui/example-ui.c	Sat Mar 04 14:53:18 2023 +0100
+++ b/examples/example-ui/example-ui.c	Sat Mar 04 15:10:35 2023 +0100
@@ -135,7 +135,9 @@
 		},
 		.quit_style = {
 			.bg_color = 0x24aed6ff,
-			.text_color = 0xffffffff
+			.pressed_bg_color = 0x328ca7ff,
+			.text_color = 0xffffffff,
+			.pressed_text_color = 0xffffffff
 		},
 		.quit = {
 			.text = "Quit",
@@ -150,7 +152,9 @@
 			},
 			.style = {
 				.text_color = 0xffffffff,
+				.pressed_text_color = 0xffffffff,
 				.border_color = BUTTON_STYLE_GLOW_COLOR_1,
+				.pressed_border_color = BUTTON_STYLE_GLOW_COLOR_1,
 				.border_size = 2
 			}
 		},