summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-26 17:17:20 +0000
committerManolo Gouy <Manolo>2016-02-26 17:17:20 +0000
commit350cca5446fa8e71a6ec75e6caaec5ab0047acae (patch)
treee6f52f61f1380366524b997496860c35cdd6b892 /src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
parente8a8cfc0b1f630aaeb979fd24cfedd9ad3320bf8 (diff)
Use the FL_DOXYGEN preprocessor variable to remove all Doxygen warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
index 32e67a7b2..7186a030a 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
@@ -40,7 +40,7 @@ Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
return new Fl_Quartz_Graphics_Driver();
}
-
+#ifndef FL_DOXYGEN
Fl_Offscreen Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha(int w, int h) {
void *data = calloc(w*h,4);
CGColorSpaceRef lut = CGColorSpaceCreateDeviceRGB();
@@ -48,6 +48,7 @@ Fl_Offscreen Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha(int w, int h
CGColorSpaceRelease(lut);
return (Fl_Offscreen)ctx;
}
+#endif
char Fl_Quartz_Graphics_Driver::can_do_alpha_blending() {
return 1;