wxWidgets/samples/image
Vadim Zeitlin c3f641cb5e Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images.
Just as wxBITMAP() provides a portable way of loading bitmaps from either
Windows BMP resources or embedded XPM data depending on the platform,
wxBITMAP_PNG() hides the difference between loading bitmaps from PNG resources
under Windows and embedded PNG data elsewhere.

Also add wxBITMAP_PNG_FROM_DATA() macro which always loads PNG data from
memory: it's needed anyhow as part of wxBITMAP_PNG() implementation and some
people may prefer to always use it under all platforms.

Finally modify the image sample to demonstrate loading PNG images from both
resources and memory. This involved creation of a new Windows .rc file for it
and copying its data files to Resources bundle directory under OS X.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-13 17:15:25 +00:00
..
canvas.cpp Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
canvas.h Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
cmyk.jpg added support for CMYK JPEGs loading (patch 1476078) 2006-05-28 20:08:39 +00:00
cursor_png.c Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
cursor.png Add test for a custom cursor to the image sample. 2010-07-24 11:49:05 +00:00
descrip.mms Update compile support for OpenVMS 2009-01-19 06:20:52 +00:00
horse3.ani
horse_ag.pnm Applied patch [ 1183803 ] PNM: support for ascii grey + raw grey 2005-05-22 15:37:40 +00:00
horse_rg.pnm Applied patch [ 1183803 ] PNM: support for ascii grey + raw grey 2005-05-22 15:37:40 +00:00
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga added TGA handler (somewhat modified patch 1393912) 2006-10-29 18:58:25 +00:00
horse.tif
horse.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
image_vc7.vcproj Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
image_vc8.vcproj Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
image_vc9.vcproj Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
image.bkl Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
image.cpp Allow saving images under a different name in the image sample. 2012-07-11 11:42:47 +00:00
image.dsp Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
image.rc Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
makefile.bcc Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
makefile.gcc Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
Makefile.in Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
makefile.unx Remove wxMGL port. 2012-01-15 14:46:41 +00:00
makefile.vc Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
makefile.wat Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
smile.xbm Artwork updates 2005-05-31 13:44:45 +00:00
smile.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
toucan.png added test image for alpha 2003-04-13 13:44:35 +00:00