Paul Cornett
ce7c8a9751
better fix for aCC and rawbmp.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:28:37 +00:00
Vadim Zeitlin
4800a07000
forbid modifying wxImage by assigning to wxImagePixelData::Iterator::Data(), this doesn't work correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-23 23:26:28 +00:00
Vadim Zeitlin
05b4b8ee88
more compilation fixes for VC6 ( #9492 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:06:32 +00:00
Vadim Zeitlin
2bdba43f02
at least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap> (thanks buildbot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 20:04:09 +00:00
Vadim Zeitlin
3e50a139b4
fixed wxImagePixelData compilation (ticket #3003 ); added a unit test for it (to be extended to cover more wxImage methods...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:30:23 +00:00
Francesco Montorsi
53a2db124c
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Vadim Zeitlin
710b82f34d
removed extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:30 +00:00
Vadim Zeitlin
3694bb76c1
added wxDEPRECATED_INLINE, use it for wxPixelData<wxBitmap>::UseAlpha() to fix Sun CC compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:34:32 +00:00
Václav Slavík
dc300f9ffc
compilation fix for gcc<3.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 20:13:59 +00:00
Václav Slavík
c3ee702552
implemented raw bitmap access for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:49:19 +00:00
Václav Slavík
650c0aa918
cleanup of raw access to bitmaps:
...
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 13:32:25 +00:00
Paul Cornett
7002950658
make pixbuf/alpha handling more coherent in gtk wxBitmap, allow pixbuf without alpha
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 16:34:45 +00:00
Robin Dunn
44d669c880
Default construcctor for Iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:19:06 +00:00
Robert Roebling
065fa73213
GTK2 RGBA has 32 bits.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 12:28:19 +00:00
Vadim Zeitlin
77df51f4fb
disable VC++ warning 4355 in wx/defs.h once and for all instead of doing it in 4 different places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:34:08 +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
Vadim Zeitlin
97cffad594
use pragma warning push/pop under MSVC instead of enabling temporarily disabled warnings unconditionally (patch 1207689)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:10:48 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Vadim Zeitlin
12e50065b4
don't use WXDLLEXPORT with nested template classes: this doesn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 17:49:27 +00:00
Robert Roebling
f9a2692dbe
Commited fix for HP compiler in raw bitmap code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 17:26:24 +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
David Elliott
4c683a3021
Wrap wxImage specifics in wxUSE_IMAGE and wxBitmap specifics in wxUSE_GUI.
...
This allows the code to be used from wxBase with other image classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 01:53:31 +00:00
Vadim Zeitlin
8fc2f387cd
added missing WXDLLEXPORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:45:07 +00:00
Vadim Zeitlin
4b7ded8bad
compilation fix for gcc (closes bug 996701)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 17:49:51 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Václav Slavík
9941ff2d65
compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were never used, at least in this case)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:13:02 +00:00
David Elliott
a28fe6d54e
wxCocoa: Added wxNativePixelFormat and defined wxPIXEL_FORMAT_ALPHA
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-06 23:20:46 +00:00
Mattia Barbon
430ff60228
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:18:06 +00:00
Vadim Zeitlin
1e74d03b7f
implemented alpha support for raw bitmaps under Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 12:57:44 +00:00
Vadim Zeitlin
b6d5d4548c
made wxNativePixelFormat usable under Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:50:18 +00:00
Vadim Zeitlin
3964e424bf
fixed the channel order for Mac (alpha comes first)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 18:52:57 +00:00
Vadim Zeitlin
edb57eaebe
added missing typename
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 01:04:10 +00:00
Vadim Zeitlin
8fa97a5819
compilation fix for BCC (and probably others)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:53:08 +00:00
Vadim Zeitlin
2f22353e37
fixed iterator over wxImage with alpha channel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:50:43 +00:00
Chris Elliott
f0fc695806
remove if defs for DigitalMars as suggested by Vadim
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:14:14 +00:00
Chris Elliott
957f03699b
possible fix for templates with digitalmars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 15:08:52 +00:00
Chris Elliott
e6c13db6ec
fix bug to make Borland compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:47:07 +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
Mattia Barbon
f734e1dad1
MinGW compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-29 21:15:28 +00:00
Vadim Zeitlin
b9bcaf117a
new template-based more flexible and hopefully more efficient raw bitmap implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 01:46:05 +00:00
Vadim Zeitlin
e1b998ce2d
no changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:55:53 +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
3c5bd1886a
Added missing comma.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:07:48 +00:00
Vadim Zeitlin
916b0ea345
added (very) preliminary raw bitmap support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:00:48 +00:00