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
This commit is contained in:
parent
e8a8cfc0b1
commit
350cca5446
@ -90,8 +90,9 @@ public:
|
||||
/** \brief The destructor */
|
||||
~Fl_System_Printer(void);
|
||||
}; // class Fl_System_Printer
|
||||
#endif
|
||||
|
||||
#elif defined(FL_PORTING)
|
||||
#if defined(FL_PORTING)
|
||||
|
||||
# pragma message "FL_PORTING: define your own Fl_xxx_Printer class"
|
||||
class Fl_XXX_Printer : public Fl_Paged_Device {
|
||||
@ -100,7 +101,9 @@ protected:
|
||||
Fl_XXX_Printer(void) { }
|
||||
};
|
||||
|
||||
#else
|
||||
#endif
|
||||
|
||||
#if defined(FL_DOXYGEN) || !(__APPLE__ || WIN32 || FL_PORTING)
|
||||
|
||||
/**
|
||||
Print support under Unix/Linux.
|
||||
|
@ -113,6 +113,7 @@ void Fl_GDI_Graphics_Driver::copy_offscreen(int x,int y,int w,int h,HBITMAP bitm
|
||||
DeleteDC(new_gc);
|
||||
}
|
||||
|
||||
#if ! defined(FL_DOXYGEN)
|
||||
void Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha(int x,int y,int w,int h,HBITMAP bitmap,int srcx,int srcy) {
|
||||
HDC new_gc = CreateCompatibleDC(gc_);
|
||||
int save = SaveDC(new_gc);
|
||||
@ -129,6 +130,7 @@ void Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha(int x,int y,int w,int h,H
|
||||
RestoreDC(new_gc, save);
|
||||
DeleteDC(new_gc);
|
||||
}
|
||||
#endif
|
||||
|
||||
void Fl_Translated_GDI_Graphics_Driver::translate_all(int x, int y) {
|
||||
GetWindowOrgEx((HDC)gc(), origins+depth);
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_GDI_ARCI_CXX
|
||||
|
||||
/**
|
||||
\file gdi_arci.cxx
|
||||
\file Fl_GDI_Graphics_Driver_arci.cxx
|
||||
\brief Utility functions for drawing circles using integers
|
||||
*/
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
/**
|
||||
\file gdi_line_style.cxx
|
||||
\file Fl_GDI_Graphics_Driver_line_style.cxx
|
||||
\brief Line style drawing utility hiding different platforms.
|
||||
*/
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
/**
|
||||
\file gdi_rect.cxx
|
||||
\file Fl_GDI_Graphics_Driver_rect.cxx
|
||||
\brief MSWindows GDI specific line and polygon drawing with integer coordinates.
|
||||
*/
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_GDI_VERTEX_CXX
|
||||
|
||||
/**
|
||||
\file gdi_vertex.cxx
|
||||
\file Fl_GDI_Graphics_Driver_vertex.cxx
|
||||
\brief Portable drawing code for drawing arbitrary shapes with
|
||||
simple 2D transformations, implemented for MSWindows GDI.
|
||||
*/
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_OPENGL_ARCI_CXX
|
||||
|
||||
/**
|
||||
\file opengl_arci.cxx
|
||||
\file Fl_OpenGL_Graphics_Driver_arci.cxx
|
||||
\brief Utility functions for drawing circles using integers
|
||||
*/
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_OPENGL_LINE_STYLE_CXX
|
||||
|
||||
/**
|
||||
\file opengl_line_style.cxx
|
||||
\file Fl_OpenGL_Graphics_Driver_line_style.cxx
|
||||
\brief Line style drawing utility hiding different platforms.
|
||||
*/
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
/**
|
||||
\file quartz_rect.cxx
|
||||
\file Fl_OpenGL_Graphics_Driver_rect.cxx
|
||||
\brief OpenGL specific line and polygon drawing with integer coordinates.
|
||||
*/
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_OPENGL_VERTEX_CXX
|
||||
|
||||
/**
|
||||
\file opengl_vertex.cxx
|
||||
\file Fl_OpenGL_Graphics_Driver_vertex.cxx
|
||||
\brief Portable drawing code for drawing arbitrary shapes with
|
||||
simple 2D transformations, implemented for OpenGL.
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
\file quartz.h
|
||||
\file Fl_Quartz_Graphics_Driver.H
|
||||
\brief Definition of Apple Quartz graphics driver.
|
||||
*/
|
||||
|
||||
|
@ -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;
|
||||
|
@ -68,6 +68,7 @@ void Fl_Xlib_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Offs
|
||||
XCopyArea(fl_display, pixmap, fl_window, gc_, srcx, srcy, w, h, x, y);
|
||||
}
|
||||
|
||||
#ifndef FL_DOXYGEN
|
||||
void Fl_Xlib_Graphics_Driver::copy_offscreen_with_alpha(int x, int y, int w, int h,
|
||||
Fl_Offscreen pixmap, int srcx, int srcy) {
|
||||
#if HAVE_XRENDER
|
||||
@ -95,6 +96,7 @@ void Fl_Xlib_Graphics_Driver::copy_offscreen_with_alpha(int x, int y, int w, int
|
||||
XRenderFreePicture(fl_display, dst);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id$".
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <FL/fl_draw.H>
|
||||
|
||||
/**
|
||||
\file xlib_arci.cxx
|
||||
\file Fl_Xlib_Graphics_Driver_arci.cxx
|
||||
\brief Utility functions for drawing circles using integers
|
||||
*/
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_XLIB_LINE_STYLE_CXX
|
||||
|
||||
/**
|
||||
\file xlib_line_style.cxx
|
||||
\file Fl_Xlib_Graphics_Driver_line_style.cxx
|
||||
\brief Line style drawing utility hiding different platforms.
|
||||
*/
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
|
||||
/**
|
||||
\file xlib_rect.cxx
|
||||
\file Fl_Xlib_Graphics_Driver_rect.cxx
|
||||
\brief X11 Xlib specific line and polygon drawing with integer coordinates.
|
||||
*/
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define FL_CFG_GFX_XLIB_VERTEX_CXX
|
||||
|
||||
/**
|
||||
\file xlib_vertex.cxx
|
||||
\file Fl_Xlib_Graphics_Driver_vertex.cxx
|
||||
\brief Portable drawing code for drawing arbitrary shapes with
|
||||
simple 2D transformations, implemented for X11 Xlib.
|
||||
*/
|
||||
|
@ -22,11 +22,12 @@
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#ifndef FL_DOXYGEN
|
||||
void Fl::call_screen_init()
|
||||
{
|
||||
screen_driver()->init();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/** Returns the leftmost x coordinate of the main screen work area. */
|
||||
int Fl::x()
|
||||
|
Loading…
Reference in New Issue
Block a user