summaryrefslogtreecommitdiff
path: root/include/kd_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kd_image.h')
-rw-r--r--include/kd_image.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/kd_image.h b/include/kd_image.h
new file mode 100644
index 0000000..136c0e7
--- /dev/null
+++ b/include/kd_image.h
@@ -0,0 +1,13 @@
+#ifndef KD_IMAGE_H
+#define KD_IMAGE_H
+
+#include <X11/Xlib.h>
+#include "nuklear.h"
+
+struct nk_image kd_ppm_load(Display *display, int screen,
+ const char *path,
+ unsigned int max_width,
+ unsigned int max_height);
+void kd_ppm_free(struct nk_image *image);
+
+#endif