diff options
Diffstat (limited to 'src/button.h')
| -rw-r--r-- | src/button.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/button.h b/src/button.h index d1516fc..a87d3e8 100644 --- a/src/button.h +++ b/src/button.h @@ -23,6 +23,8 @@ struct Button { Color color; Color line_color; int line_width; + int max_width; + int min_width; Animation *anim; }; @@ -63,6 +65,8 @@ bool button_set_animation(Button *btn, Animation *anim); void button_set_line(Button *btn, Color line_color, int line_width); +void button_set_width(Button *btn, int max, int min); + void button_destroy(Button *btn); #endif |
