diff options
Diffstat (limited to 'body/c_fl_pixmap.h')
-rw-r--r-- | body/c_fl_pixmap.h | 32 |
1 files changed, 32 insertions, 0 deletions
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 + + |