diff options
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/tray/item.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/swaybar/tray/item.h b/include/swaybar/tray/item.h index 57affb78..53d7e48c 100644 --- a/include/swaybar/tray/item.h +++ b/include/swaybar/tray/item.h @@ -1,10 +1,14 @@ #ifndef _SWAYBAR_TRAY_ITEM_H #define _SWAYBAR_TRAY_ITEM_H +#include <cairo.h> #include <stdbool.h> +#include <stdint.h> #include "swaybar/tray/tray.h" #include "list.h" +struct swaybar_output; + struct swaybar_pixmap { int size; unsigned char pixels[]; @@ -34,5 +38,7 @@ struct swaybar_sni { struct swaybar_sni *create_sni(char *id, struct swaybar_tray *tray); void destroy_sni(struct swaybar_sni *sni); +uint32_t render_sni(cairo_t *cairo, struct swaybar_output *output, double *x, + struct swaybar_sni *sni); #endif |