From b4438b2fbe895694be98e6e8426103deefc51448 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 21 Jan 2025 21:04:54 +1300 Subject: Split public API and private implementation files into different directories --- body/c_fl_pixmap.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 body/c_fl_pixmap.h (limited to 'body/c_fl_pixmap.h') diff --git a/body/c_fl_pixmap.h b/body/c_fl_pixmap.h new file mode 100644 index 0000000..ceba284 --- /dev/null +++ b/body/c_fl_pixmap.h @@ -0,0 +1,32 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_PIXMAP_GUARD +#define FL_PIXMAP_GUARD + + +typedef void* PIXMAP; + + +extern "C" void free_fl_pixmap(PIXMAP b); +extern "C" PIXMAP fl_pixmap_copy(PIXMAP b, int w, int h); +extern "C" PIXMAP fl_pixmap_copy2(PIXMAP b); + + +extern "C" void fl_pixmap_color_average(PIXMAP p, int c, float b); +extern "C" void fl_pixmap_desaturate(PIXMAP p); + + +extern "C" void fl_pixmap_uncache(PIXMAP p); + + +extern "C" void fl_pixmap_draw2(PIXMAP b, int x, int y); +extern "C" void fl_pixmap_draw(PIXMAP b, int x, int y, int w, int h, int cx, int cy); + + +#endif + + -- cgit