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
Václav Slavík
9d8bdf2dbc
added XPM demo to samples/image
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-28 23:30:11 +00:00
Václav Slavík
a8d4e3ac60
added test for XPM writing; ConvertToBitmap, ConvertToImage changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:25:18 +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
Vadim Zeitlin
ab0f03868e
added test for bug #38
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:57:19 +00:00
Guillermo Rodriguez Garcia
176fe5af12
Solved multiple memory leaks.
...
Added some comments (on-screen, not to the code)
Inverted the original XBM file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 04:22:08 +00:00
Robert Roebling
cc977e5fde
Various distrib related changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:56:16 +00:00
Robert Roebling
279ababf7b
Whole lotta stuff for wxPlotWindow,
...
repaired image sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:43:33 +00:00
Vadim Zeitlin
81278df2b1
some minor changes in controls/image, timings added to listtest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:30:21 +00:00
Guillermo Rodriguez Garcia
bfef20bf7d
Added a test for saving XPMs with 'automatic' mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:12:29 +00:00
Vadim Zeitlin
bea5687993
tests for XPM images
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:40:10 +00:00
Robert Roebling
41fbc84101
black now denotes 0 on mono-bitmaps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:39:27 +00:00
Vadim Zeitlin
408b4168c8
inversed wxImage for the mono bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 01:52:26 +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
Robert Roebling
4b05d97389
Typo in image sample (displayed PNM, not TIFF).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 15:35:40 +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
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
Robert Roebling
17bec151f9
Added wxBitmap::GetSubBitmap()
...
Correct images in gen. dir dlg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:18:43 +00:00
Ron Lee
dc1dbfc640
added XBM example to image sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 16:53:41 +00:00
Robert Roebling
0b72db08a7
More TIFF things,
...
Disabled leaking debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 18:36:02 +00:00
Robert Roebling
60a41aee69
TIFF change 6.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:21:03 +00:00
Vadim Zeitlin
f048e32fcd
1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
...
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Julian Smart
6e47faf150
Fixed image sample, dsp files etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 10:39:19 +00:00
Guilhem Lavaux
6319afe332
Removed LastError() from wxFilterStream
...
Added a better Peek() to wxBufferedInputStream
Fixed wxPNMHandler (it is a lot faster on text PNM now)
Image sample loads a PNM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-29 19:48:03 +00:00
Guillermo Rodriguez Garcia
cbd4be25b2
Added testing code for PCX Handler (which is still not working
...
because PCX Handler is still a do-nothing and besides, there is
no horse.pcx file, but hey... it doesn't hurt)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-27 11:42:47 +00:00
Václav Slavík
0828c0875e
added wxImage::CanRead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-18 21:22:54 +00:00
Robert Roebling
8a5137d74a
More makefiles
...
Corrected two thing in wxDialogBase (empty lines) and
msgdlg (wrong flags)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-13 19:39:15 +00:00
Robert Roebling
4cb122de97
Compile fixes,
...
Big-endian fix for image.cpp (Untested, I have no sparc)
Make dist works (more or less)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-13 14:21:06 +00:00
Robert Roebling
073478b3d0
Updates for makefile.unx
...
Converted numdlg to use wxSizer
Corrcted bug in default size of wxStaticLine
Other optical corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-10 11:23:46 +00:00
Robert Roebling
91b8de8dee
Added OS/2 patches to wxGTK.
...
Updated docs.
Added wxMask code.
Added Sylvain's newest tree ctrl code and sample.
Corrected wxDC background colour (now as wrong as wxMSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-13 15:24:01 +00:00
Robert Roebling
ca26177c30
Color cubes now get created on 8-bit true-color
...
visual as well. (This exists).
Added MakeModal() to wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 19:54:05 +00:00
Vadim Zeitlin
a23fd0e1d1
1. MSW message handling simplifications
...
2. wxDC split into wxDC and wxDCBase
3. Several minor bug fixes, many major new bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 21:21:04 +00:00
Robert Roebling
90e586840b
Added configure patch for DEC
...
Tried to find a DnD bug.
Corrected a tree ctrl bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 17:05:45 +00:00
Robert Roebling
58dea4b067
Fixed a layout bug in MyFixed
...
More things done after realization
wxListCtrl is grey now. Why?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 01:00:34 +00:00
Robert Roebling
eefa26bed1
fixed bitmap constructor for monochrome bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-21 12:35:02 +00:00
Robert Roebling
e19291405f
Added a bit of libJPEG 6.0b
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 17:54:07 +00:00
Robert Roebling
ba0730de65
wxImage now uses GTK 1.2's fast rendering code if possible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 09:52:32 +00:00
Robert Roebling
96d5ab4d29
added moving subwindow when scrolling (tested in image.cpp )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:47:34 +00:00
Julian Smart
e9c4b1a2b5
JPEG and PNG code taken out of image.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 13:44:37 +00:00
Julian Smart
a91b47e800
Solved wxMotif scrolling display problem; added wxImageModule;
...
added wxRETAINED support in wxMotif; changed wxDC::SetBackground behaviour;
changed OnKeyDown/OnChar behaviour; fixed wxToolBar toggle bugs; fixed
wxImage on wxMotif bug whereby new was used to allocate XImage data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:00:33 +00:00
Robert Roebling
bbbbe360a8
synched Clear() and SetBackgroundColour()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 14:58:50 +00:00
Julian Smart
acbd13a365
Some warnings removed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 11:14:41 +00:00