aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
authorLibravatar Manuel Stoeckl <code@mstoeckl.com>2023-11-23 08:40:41 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2023-11-23 20:42:04 +0100
commite633fe0b4081f249e9708f95da972138c86838ca (patch)
tree383c7ca2d555353875787b8825c64ef5eb581b9f /include/swaybar
parentcommon: rename load_background_image to load_image (diff)
downloadsway-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')
-rw-r--r--include/swaybar/image.h7
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
5cairo_surface_t *load_image(const char *path);
6
7#endif