From d4768073fa67e7f78872bc80f4dff1dd8aa32f69 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 10 Mar 2016 17:19:34 +0000 Subject: Implement non-rectangular windows using the Window Driver mechanism. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/fl_draw.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FL/fl_draw.H') diff --git a/FL/fl_draw.H b/FL/fl_draw.H index ecd6c1410..605f17d51 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -755,8 +755,7 @@ inline void fl_draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int \returns 1 if true alpha blending supported by platform \returns 0 not supported so FLTK will use screen door transparency */ -/* note: doxygen comment here to avoid triplication in os-speciic files */ -FL_EXPORT char fl_can_do_alpha_blending(); +inline char fl_can_do_alpha_blending() {return Fl_Display_Device::display_device()->driver()->can_do_alpha_blending();} /** Reads an RGB(A) image from the current window or off-screen buffer. -- cgit v1.2.3