diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-09-15 15:35:16 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-09-15 15:35:16 +0000 |
| commit | c6de2dd3ef9e9a3c17ce210ff1775bd6e183d738 (patch) | |
| tree | d9a781c366b4b41678267c786c4a411b24957bb0 /FL | |
| parent | dac4c5630458e1183b5d234aed395971a5642d52 (diff) | |
Implemented alpha blending for WIN32. I believe that I did it in a way that is compatible even with Windows 95, but please let me know if you have any concerns. Cygwin not tested, but hopefully OK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/fl_draw.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H index bfd3ef26f..509826ef4 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -178,6 +178,7 @@ typedef void (*Fl_Draw_Image_Cb)(void*,int,int,int,uchar*); FL_EXPORT void fl_draw_image(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta=3); FL_EXPORT void fl_draw_image_mono(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta=1); FL_EXPORT void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b); +FL_EXPORT char fl_can_do_alpha_blending(); FL_EXPORT uchar *fl_read_image(uchar *p, int x,int y, int w, int h, int alpha=0); |
