diff options
author | 2023-11-23 08:40:41 -0500 | |
---|---|---|
committer | 2023-11-23 20:42:04 +0100 | |
commit | e633fe0b4081f249e9708f95da972138c86838ca (patch) | |
tree | 383c7ca2d555353875787b8825c64ef5eb581b9f /include/swaybar/image.h | |
parent | common: rename load_background_image to load_image (diff) | |
download | sway-e633fe0b4081f249e9708f95da972138c86838ca.tar.gz sway-e633fe0b4081f249e9708f95da972138c86838ca.tar.zst sway-e633fe0b4081f249e9708f95da972138c86838ca.zip |
common: move load_image to swaybar
swaynag, swaymsg, and sway do not use this function and are
unlikely to in the future.
Diffstat (limited to 'include/swaybar/image.h')
-rw-r--r-- | include/swaybar/image.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/swaybar/image.h b/include/swaybar/image.h new file mode 100644 index 00000000..53a210dd --- /dev/null +++ b/include/swaybar/image.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef _SWAYBAR_IMAGE_H | ||
2 | #define _SWAYBAR_IMAGE_H | ||
3 | #include <cairo.h> | ||
4 | |||
5 | cairo_surface_t *load_image(const char *path); | ||
6 | |||
7 | #endif | ||