diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-11-23 08:40:41 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-11-23 20:42:04 +0100 |
commit | e633fe0b4081f249e9708f95da972138c86838ca (patch) | |
tree | 383c7ca2d555353875787b8825c64ef5eb581b9f /include/swaybar | |
parent | 439122e887d8d90991a06cf4877d5dd19bb21692 (diff) |
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.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 @@ +#ifndef _SWAYBAR_IMAGE_H +#define _SWAYBAR_IMAGE_H +#include <cairo.h> + +cairo_surface_t *load_image(const char *path); + +#endif |