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
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
horse_rg.pnm
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm
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
smile.xpm
toucan.png