aboutsummaryrefslogtreecommitdiffstats
path: root/include/background-image.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/background-image.h')
-rw-r--r--include/background-image.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/background-image.h b/include/background-image.h
index e160e63d..15935ffd 100644
--- a/include/background-image.h
+++ b/include/background-image.h
@@ -9,11 +9,12 @@ enum background_mode {
9 BACKGROUND_MODE_CENTER, 9 BACKGROUND_MODE_CENTER,
10 BACKGROUND_MODE_TILE, 10 BACKGROUND_MODE_TILE,
11 BACKGROUND_MODE_SOLID_COLOR, 11 BACKGROUND_MODE_SOLID_COLOR,
12 BACKGROUND_MODE_INVALID,
12}; 13};
13 14
15enum background_mode parse_background_mode(const char *mode);
14cairo_surface_t *load_background_image(const char *path); 16cairo_surface_t *load_background_image(const char *path);
15void render_background_image(cairo_t *cairo, cairo_surface_t *image, 17void render_background_image(cairo_t *cairo, cairo_surface_t *image,
16 enum background_mode mode, int buffer_width, int buffer_height, 18 enum background_mode mode, int buffer_width, int buffer_height);
17 int buffer_scale);
18 19
19#endif 20#endif