diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-19 02:18:01 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-19 02:18:01 +0100 |
| commit | bd327c61eb3c59458b197e70f6c091d81dbde1ba (patch) | |
| tree | 060fdeb5eef88c76f9b5439fa8b26069a6a5dca9 /src/button.h | |
| parent | 07646612acbc833ec50479eee3564af37636f272 (diff) | |
Simplify button shape handling
Diffstat (limited to 'src/button.h')
| -rw-r--r-- | src/button.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
