aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 78dcad7..4183913 100644
--- a/src/util.h
+++ b/src/util.h
@@ -19,7 +19,7 @@ typedef struct {
typedef struct {
color_t *colors;
size_t length;
- cairo_pattern_t *cached;
+ cairo_pattern_t *pattern;
} gradient_t;
static inline color_t color_rgba(int r, int g, int b, int a)
@@ -44,6 +44,8 @@ void color_print(FILE *stream, color_t *color);
char *gradient_to_string(gradient_t *gradient);
+void gradient_print(FILE *stream, gradient_t *gradient);
+
void gradient_free(gradient_t *gradient);
const struct timespec timespec_from_ms(long ms);