diff options
| author | Federico Angelilli <code@fedang.net> | 2024-11-20 01:20:46 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-11-20 01:20:46 +0100 |
| commit | bb63935e63365d842fe530629387d1d2a4248042 (patch) | |
| tree | 61c3ba787bd8dfdcf5a38ba17dfcc856b2605ae2 /src/util.h | |
| parent | 30f91d7c8769a68e4bf11ed4ff0177bcf1bc9f03 (diff) | |
Refactor changes
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); |
