aboutsummaryrefslogtreecommitdiff
path: root/src/button.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-14 02:00:21 +0100
committerFederico Angelilli <code@fedang.net>2024-03-14 02:00:21 +0100
commit93c4dc6893e733f563e70c315537922d55adfab2 (patch)
tree245e84a64fed1dd56cc9e91b4fa415384caf9322 /src/button.c
parent398fdbaa5c02bbd138c59004053d2e8ad0082ead (diff)
Refactor code and start adding shine animation
Diffstat (limited to 'src/button.c')
-rw-r--r--src/button.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/button.c b/src/button.c
index 01d4e36..b313f8a 100644
--- a/src/button.c
+++ b/src/button.c
@@ -94,6 +94,8 @@ void button_start_animation(Button *btn)
const int fps = 60;
if (btn->anim->handler(btn->anim))
g_timeout_add(1000 / 60, anim_handler, btn);
+
+ log_debug("Started animation [type=%d, button=%p]", btn->anim->type, btn);
}
void button_destroy(Button *btn)