aboutsummaryrefslogtreecommitdiff
path: root/include/background-image.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-02 22:48:13 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-04 18:47:48 -0400
commitb32bf595aeae7f8ac68354e45a80c0438374ec17 (patch)
treeb93185d2ac4b7081b9d0651eaaadeae21de48929 /include/background-image.h
parenta28730edee1896242012f80fd0e63e7966652e02 (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