diff options
| author | Federico Angelilli <code@fedang.net> | 2024-05-14 12:04:22 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-05-14 12:04:22 +0200 |
| commit | 92feb3c130966202c7caa6d9bf3a3800c97ca7a1 (patch) | |
| tree | bcbbb8afca932d20c11a81fc7d7d53096dbf931e /src/button.h | |
| parent | 247a74810374894a74ca63af4eb86d9614cf6c74 (diff) | |
Start working on mirroringlegacy
Diffstat (limited to 'src/button.h')
| -rw-r--r-- | src/button.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
