aboutsummaryrefslogtreecommitdiff
path: root/src/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/button.h')
-rw-r--r--src/button.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/button.h b/src/button.h
index 923321e..5492599 100644
--- a/src/button.h
+++ b/src/button.h
@@ -5,6 +5,7 @@
#include <glib.h>
#include <pango/pangocairo.h>
+#include "draw.h"
#include "animate.h"
// For pointers only
@@ -14,10 +15,6 @@ typedef struct Button Button;
typedef void (* ButtonAction)(Button *btn);
-typedef struct {
- double r, g, b, a;
-} Color;
-
struct Button {
bool simple;
int padding;
@@ -62,6 +59,8 @@ void button_set_padding(Button *btn, int padding);
bool button_set_animation(Button *btn, Animation *anim);
+void button_start_animation(Button *btn);
+
void button_destroy(Button *btn);
#endif