diff options
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |
