From 92feb3c130966202c7caa6d9bf3a3800c97ca7a1 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Tue, 14 May 2024 12:04:22 +0200 Subject: Start working on mirroring --- src/button.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/button.h') diff --git a/src/button.h b/src/button.h index a87d3e8..4b6c834 100644 --- a/src/button.h +++ b/src/button.h @@ -25,6 +25,7 @@ struct Button { int line_width; int max_width; int min_width; + // TODO: Make animations not depend on the button Animation *anim; }; @@ -67,6 +68,8 @@ void button_set_line(Button *btn, Color line_color, int line_width); void button_set_width(Button *btn, int max, int min); +Button *button_copy(Button *btn); + void button_destroy(Button *btn); #endif -- cgit v1.2.3