summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
091c90b)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20897
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the (most common) native bitmap format without alpha support
typedef wxPixelFormat<unsigned char, 24,
// the (most common) native bitmap format without alpha support
typedef wxPixelFormat<unsigned char, 24,
+ #elif defined(__WXMAC__)
+ 1, 2, 3
+ #else // default for the others (not supported anyhow)
- #endif // __WXMSW__/!__WXMSW__
> wxNativePixelFormat;
// the (most common) native format for bitmaps with alpha channel
> wxNativePixelFormat;
// the (most common) native format for bitmaps with alpha channel
wxNativePixelFormat::RED,
wxNativePixelFormat::GREEN,
wxNativePixelFormat::BLUE,
wxNativePixelFormat::RED,
wxNativePixelFormat::GREEN,
wxNativePixelFormat::BLUE,
+ #if defined(__WXMSW__)
+ 3
+ #elif defined(__WXMAC__)
+ 0
+ #else // default for the others (not supported anyhow)
+ 3
+ #endif // platform
+ > wxAlphaPixelFormat;
// we also define the (default/best) pixel format for the given class: this is
// used as default value for the pixel format in wxPixelIterator template
// we also define the (default/best) pixel format for the given class: this is
// used as default value for the pixel format in wxPixelIterator template