Robert Roebling
33611ebbd9
Applied wxImage::Scale() patch,
...
Added testing code for wxSplitterWindow bug.
Added testing code for OnEraseBackground things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 20:03:00 +00:00
Václav Slavík
66e23ad208
switched to new XPM code in wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:44:34 +00:00
Kendall Bennett
33ac7e6f01
Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
...
clean with this compiler. Hopefully I did this without breaking other
compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
Václav Slavík
c96ea65713
added wxUSE_IMAGE; added write-only wxXPMHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:31:53 +00:00
Václav Slavík
f515c25a2c
wxImage::ConvertToMono wasn't const - fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-06 22:15:34 +00:00
Václav Slavík
fec19ea9ff
I moved platform specific code from wxImage to wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-04 23:25:06 +00:00
Gilles Depeyrot
5fde6fcc9b
corrections for final release of Mac OS X
...
applied patches proposed by Mark Newsam
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-01 20:42:05 +00:00
Vadim Zeitlin
de8c48cf46
wxImage::Ok() now returns false for images with 0 width or height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-19 18:27:59 +00:00
Gilles Depeyrot
03e11df547
modifications for compilation under Mac OS X
...
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00
Robert Roebling
0a07a7d852
Added wxCommandEvent::IsSeection for listbox,
...
Applied patch for wxListBox::Set when sorting
Added new value rounding code (corrected for
negative values) to scrollbar and slider
Added ...TEXT_CHANGED event to wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 10:02:47 +00:00
Robert Roebling
aa21b5090a
Merged sizer fix from stable branch
...
Added support for transparent wxImage::Paste()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 08:55:40 +00:00
Bryan Petty
3ca6a5f046
second merge of the 2.2 branch (RL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +00:00
Julian Smart
5e5437e00b
Added Set/Get/HasOption members and moved palette to ref data class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-29 11:44:57 +00:00
Julian Smart
3f4fc7967b
Added wxQuantize, wxSplashScreen, wxEffects & added palette to wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-28 17:53:25 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Julian Smart
68be9f090f
Added wxDragImage generic implementation and sample; added mask handling to Motif's
...
wxImage::ConvertToBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 11:05:49 +00:00
Julian Smart
f250631042
wxImage::Rotate corrections added; docview improvements (menus updated properly)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 12:40:08 +00:00
Guillermo Rodriguez Garcia
aadaf84128
Added missing Unref() in wxImage::Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:15:17 +00:00
Guillermo Rodriguez Garcia
b5c91ac6b3
Partially rewrote rotation code due to a potential alignment problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 23:11:40 +00:00
Vadim Zeitlin
4aff28fc9b
1. exchanged binary ROPs wxSET/wxCLEAR meaning for wxMSW to match wxGTK
...
2. bug with multiline messages in wxLogGui fixed
3. wxLogGui visual enhancements (for MSW, don't know how it looks elsewhere)
4. fixed 2 nice (i.e. BIG) memory leaks in wxImage::Rotate()
5. modified the text sample to show the mouse events too
6. documented strange behaviour of LEAVE_WINDOW mouse event under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 02:41:07 +00:00
Guillermo Rodriguez Garcia
ad30de59f6
Added support for transparency in rotation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 13:27:07 +00:00
Vadim Zeitlin
06b466c74f
more HP-UX compilation warnings fixed (187th try)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:51:16 +00:00
Bart A.M. Jourquin
57c1c6cb9b
add casts + type to untyped const for GCC2.95
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:07:00 +00:00
Julian Smart
457e6c54a2
Some doc corrections; Watcom C++ corrections; VC++ 4 corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 19:11:10 +00:00
Robert Roebling
46132182f0
compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 17:13:14 +00:00
Julian Smart
6f434e5041
Changed static_cast syntax not recogised by all compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 15:05:46 +00:00
Julian Smart
7a632f1056
Added rotation to wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 14:51:36 +00:00
Robert Roebling
103aab2664
Various corrections to makefiles, RPMs etc.
...
Corrected overoptimised window style and colour code.
More best visual changes.
Minor typos in docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:37:28 +00:00
Vadim Zeitlin
0bafad0cf4
1. some fixes for the problems reported by BoundsChecker
...
2. filled rectangles without outline are one pixel taller/wider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 01:22:00 +00:00
Robert Roebling
d76fe38b29
Copied isql.h and isqlext.h to /include/wx/unix and make
...
it get installed.
New code for "best_visual" under SGI and Sun.
Typos in PostScrip code: HelvO and CourO.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 19:50:46 +00:00
Vadim Zeitlin
069d0f27ef
2 warnings from Solaris build log fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:04:44 +00:00
Robert Roebling
cf3da716f6
image to bitmap rewrite,
...
ViewStart() renamed GetViewStart()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 20:29:01 +00:00
Stefan Csomor
8208e181cb
mac updates and msw bitmapdrawing on printer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 11:07:58 +00:00
Stefan Csomor
37e2cb08cd
cw pro 5.3 adaptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:58:45 +00:00
Robert Roebling
82ea63e6e0
Chnages to mono-bitmap code.
...
Added ConvertToMonoBitmap() to wxImage.
Minor changes to forty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 17:57:18 +00:00
Julian Smart
88195b2b70
Added contributed speedup of ConvertToBitmap under Motif, for 8-bit images.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:29:56 +00:00
Robert Roebling
be25e48093
Added mono bitmap to image conversion.
...
Added wxImage::Replace() (replaces one colour with another).
Toolbar tips no longer eats ana new colour. This might prevent
the wrong colour behaviour reported from some 8-bit visuals.
Minor fixes and test code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 13:01:07 +00:00
David Webster
97fdfcc9fd
cleaning up image mess for os/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 05:42:26 +00:00
Vadim Zeitlin
8f177c8e73
Win16 compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:29:54 +00:00
Guillermo Rodriguez Garcia
cc9f7d7939
Changed stopat to stopafter in CountColours
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 12:19:02 +00:00
Guillermo Rodriguez Garcia
89d0045628
Added CountColours()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 12:31:28 +00:00
Guillermo Rodriguez Garcia
c9d01afd82
Added ComputeHistogram
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 11:45:32 +00:00
Václav Slavík
ad81651f00
removed USE_SHARED_LIBRARY(IES)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:57:30 +00:00
Jouk Jansen
68874acfed
Committing in .
...
Changes to get the libraries cleanly compiled on VMS
Modified Files:
wxWindows/setup.h_vms wxWindows/src/common/image.cpp
wxWindows/src/motif/dcclient.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:13:18 +00:00
Robert Roebling
1b055864b6
Added tests for buffered streams.
...
Made wxBufferedOutputStream call Sync() in
the destructor and SeekO().
Documented this.
Use buffered streams in wxImage. Seems to
significantly speed-up the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 18:16:37 +00:00
Robert Roebling
58c837a4e6
String changes for translations,
...
Made wxBitmap derive from wxGDIObject,
Removed #ifdefs around destrctors for GDI lists (wxBrushList etc),
Created wxEVT_COMMAND_SPINCTRL_UPDATE with obvious usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 10:37:39 +00:00
Robert Roebling
700ec4546c
Compile fix for GIF decoder,
...
Added image index to loadfile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 17:24:14 +00:00
Robert Roebling
848bc5ba18
Partial fix for big_endian image conversion probs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 16:57:36 +00:00
Vadim Zeitlin
6d167489bd
1. wxIcon/wxCursor change, wxGDIImage class added
...
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:30:56 +00:00
Robert Roebling
20e05ffbd3
Headers moved a bit.
...
Minor docs updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:44:25 +00:00