Włodzimierz Skiba
71307412f5
Missing wxUSE_... flags and source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:47:11 +00:00
Vadim Zeitlin
978d3d3647
added wxImage::RotateHue() and RGB <-> HSV conversions (patch 1227108)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 22:50:34 +00:00
Włodzimierz Skiba
d0ee33f5c6
'[1219035] cleanup: miscellaneous' and minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Julian Smart
91b073576e
Use standard ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 12:04:48 +00:00
Julian Smart
3e8711cef5
Applied patch [ 1183803 ] PNM: support for ascii grey + raw grey
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 15:37:40 +00:00
Michael Wetherell
5c99abbe83
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 20:40:43 +00:00
Vadim Zeitlin
b068dfe292
use premultiplied RGB in raw image demo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 00:14:32 +00:00
Włodzimierz Skiba
24207dfcc3
DMC error fix: dynamic initialization of static data.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:50:06 +00:00
Vadim Zeitlin
4a10132773
restored alpha test in raw image frame (why had it been commented out?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 17:52:50 +00:00
Vadim Zeitlin
5a566d89be
added tests for savin PNG images in different formats; don't ask for BMP bpp if not saving as BMP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:25:55 +00:00
Robert Roebling
284f2b59db
Added raw bitmap access support to GTK 2.0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 15:35:43 +00:00
Włodzimierz Skiba
9386cb75e3
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:08:31 +00:00
Włodzimierz Skiba
925e9792d3
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
8520f1374c
Fixes for wxUSE_STATUSBAR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Włodzimierz Skiba
47f797bd30
Correct parent in wxFileSelector, -1->wxID_ANY, TRUE->true replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 15:42:12 +00:00
Julian Smart
3ef37e7f4e
Always use XPMs in this sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:28:05 +00:00
Robert Roebling
f9ebac93e7
Further corrections to bitmap and blit code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 19:23:19 +00:00
Robert Roebling
9fe7d43031
image sample fix from 2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:00:22 +00:00
Mattia Barbon
481721e8cb
Applied OpenWatcom fixes from ABX.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 20:39:58 +00:00
Vadim Zeitlin
095980e182
no changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:00:31 +00:00
Václav Slavík
9b24b388c1
compilation fix for platforms w/o wxRawBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 23:25:09 +00:00
Jouk Jansen
c698eae5a8
Committing in .
...
OpenVMS compile issues
Modified Files:
wxWindows/include/wx/vms_x_fix.h
wxWindows/samples/image/image.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/motif/clipbrd.cpp
wxWindows/src/motif/combobox.cpp
wxWindows/src/motif/scrolbar.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 11:28:16 +00:00
Vadim Zeitlin
05a0787179
Mac compilation warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 18:47:53 +00:00
Mattia Barbon
dd38c87578
Implemented wxBitmapDataObject.
...
Implemented generic wxDataObject support in wxClipboard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:24:11 +00:00
Chris Elliott
1e3c12d774
implement wxHAVE_RAW_BITMAP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:58:00 +00:00
Vadim Zeitlin
a452af5e68
allow raw access to a part of the image only (faster when using alpha)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 16:37:51 +00:00
Vadim Zeitlin
1d2f48b681
updated to use the new raw bitmap API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 02:04:09 +00:00
Vadim Zeitlin
30ad0a1469
don't crash if an image is not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 00:46:59 +00:00
Vadim Zeitlin
12338247ae
better alpha test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 14:11:01 +00:00
Vadim Zeitlin
10b41b53cb
added wxBitmap::UseAlpha()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:45:20 +00:00
Mattia Barbon
be05eab690
wxMotif does not have wxBitmapDataObject.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:57:48 +00:00
Vadim Zeitlin
40c79fab3a
use wxCLOSE_BOX for MyImageFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 18:02:05 +00:00
Vadim Zeitlin
da9df1f51e
added copying images to/pasting them from clipboard tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 17:48:42 +00:00
Mattia Barbon
8f4b6405ff
wxMotif does not have support for raw bitmaps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:09:48 +00:00
Vadim Zeitlin
b3f04dc2b2
test raw bitmap access
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:10:09 +00:00
Vadim Zeitlin
0c543b7a19
don't erase the background to see the transparent images better
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:10:27 +00:00
Vadim Zeitlin
c5c843e007
compilation fix for wxUniv (patch 664699)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:31:16 +00:00
Julian Smart
088117622c
Checked for stream validity in wxImage::GetImageCount.
...
use horse3.ani in image sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:19:00 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
d2aa73a8a6
gcc warning about unused smile fixed (that's serious stuff)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:20:40 +00:00
Vadim Zeitlin
51b07644bb
added test for loading image from wxMemoryStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 22:23:24 +00:00
Václav Slavík
368d59f0d8
don't use deprecated wxImage methods inside wxWin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Vadim Zeitlin
2f6c54eb07
patch from Dimitri fixing a few memory leaks and unTABbing the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Václav Slavík
45647dcf10
Chris' wxImage::SaveFile(filename_only) patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:35:32 +00:00
Václav Slavík
fd94e8aa45
A couple of changes to wxImage:
...
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
(with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
to pass wxIMAGE_OPTION_FILENAME to all saving handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
bf504f980a
added cur and ico formats to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:16:09 +00:00
Mattia Barbon
a60b1f5d57
Unicode compilation fixed for almost all samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:11:33 +00:00
Vadim Zeitlin
18134a1cd0
fix for BC++ internal compiler error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 17:01:17 +00:00
Mattia Barbon
4693b20c75
Unicode compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Vadim Zeitlin
1971d23c57
applied patch 432814: saving BMP in 1, 4 and 8 bpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:30:49 +00:00