diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-05-18 16:21:25 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-05-18 16:21:25 +1000 |
commit | 2cbec01126c34e70fc8e11d77553ef5bfd94cec7 (patch) | |
tree | e0f1d1a9e8115838e21e9bda2176695f07f04ad2 /src/c_fl_pixmap.h | |
parent | ee210f26aecaaa19e991773a7be58028223d1cb8 (diff) |
Added Choices, Pixmaps, GIFs, XPMs
Diffstat (limited to 'src/c_fl_pixmap.h')
-rw-r--r-- | src/c_fl_pixmap.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/c_fl_pixmap.h b/src/c_fl_pixmap.h new file mode 100644 index 0000000..de987a8 --- /dev/null +++ b/src/c_fl_pixmap.h @@ -0,0 +1,28 @@ + + +#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_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 + |