diff options
| author | Doan Luu Duc Tai <doan@luuduct.ai> | 2026-10-11 19:21:34 -0500 |
|---|---|---|
| committer | Doan Luu Duc Tai <doan@luuduct.ai> | 2026-10-11 19:21:34 -0500 |
| commit | f1ae8c36c94a26e8aff2339e241542f430c96913 (patch) | |
| tree | 998bc5dceffa7ddd691953717e966502dc4ff622 /include/kd_image.h | |
Diffstat (limited to 'include/kd_image.h')
| -rw-r--r-- | include/kd_image.h | 13 |
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 |
