diff options
Diffstat (limited to 'src/button.h')
| -rw-r--r-- | src/button.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/button.h b/src/button.h index 0fb821c..923321e 100644 --- a/src/button.h +++ b/src/button.h @@ -5,6 +5,8 @@ #include <glib.h> #include <pango/pangocairo.h> +#include "animate.h" + // For pointers only #define CAST(ptr, type) ((type *)ptr) @@ -22,6 +24,7 @@ struct Button { PangoAlignment align; Color color; Color line_color; + Animation *anim; }; typedef struct { @@ -57,6 +60,8 @@ void button_group_append(Button *btn, Button *child); void button_set_padding(Button *btn, int padding); +bool button_set_animation(Button *btn, Animation *anim); + void button_destroy(Button *btn); #endif |
