aboutsummaryrefslogtreecommitdiff
path: root/include/background-image.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-02 22:48:13 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-02 22:48:13 -0400
commit2e04c87c695fccf2fc710e9612063a685ecdca8f (patch)
treeb93185d2ac4b7081b9d0651eaaadeae21de48929 /include/background-image.h
parent029a7070f83b8fc3dae76dd8e26c3c6dbd0289c3 (diff)
Initial swaylock port
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 {
BACKGROUND_MODE_CENTER,
BACKGROUND_MODE_TILE,
BACKGROUND_MODE_SOLID_COLOR,
+ BACKGROUND_MODE_INVALID,
};
+enum background_mode parse_background_mode(const char *mode);
cairo_surface_t *load_background_image(const char *path);
void render_background_image(cairo_t *cairo, cairo_surface_t *image,
- enum background_mode mode, int buffer_width, int buffer_height,
- int buffer_scale);
+ enum background_mode mode, int buffer_width, int buffer_height);
#endif