Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

plpixeldefs.h

Go to the documentation of this file.
00001 #ifndef INCL_PLPIXELDEFS
00002 #define INCL_PLPIXELDEFS
00003 
00004 #include "config.h"
00005 
00006 #ifdef PL_PIXEL_RGBA_ORDER // GNU/Linux (at least)
00007  // To access in RGBA order
00008  #define PL_RGBA_RED    0
00009  #define PL_RGBA_GREEN  1
00010  #define PL_RGBA_BLUE   2
00011  #define PL_RGBA_ALPHA  3
00012 #elif defined(PL_PIXEL_BGRA_ORDER) // MS Windows ordering
00013  #define PL_RGBA_BLUE   0
00014  #define PL_RGBA_GREEN  1
00015  #define PL_RGBA_RED    2
00016  #define PL_RGBA_ALPHA  3
00017 #else
00018  #error Pixel RGB bytes order not selected
00019 #endif
00020 
00021 // Note that the preceeding #defines aren't static const ints because
00022 // this breaks preprocessor tests in several places.
00023 
00024 #endif
00025 

Generated on Wed Dec 15 21:20:30 2004 for vuVolume by  doxygen 1.3.9.1