From bd327c61eb3c59458b197e70f6c091d81dbde1ba Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 19 Nov 2023 02:18:01 +0100 Subject: Simplify button shape handling --- src/button.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/button.h') diff --git a/src/button.h b/src/button.h index 11b6507..7df70d3 100644 --- a/src/button.h +++ b/src/button.h @@ -10,12 +10,11 @@ typedef struct Button Button; typedef void (* ButtonAction)(Button *btn); struct Button { - bool fixed_size; ButtonAction action; char *text; }; -Button *button_create(const char *text, bool fixed_size); +Button *button_create(const char *text); void button_set_action(Button *btn, ButtonAction action); -- cgit v1.2.3