Commit Graph

48 Commits

Author SHA1 Message Date
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
Robert Roebling
6e13c1965f Faster imagescale code
Blit() rewritten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 06:51:39 +00:00
Robert Roebling
9390a202a8 The Image sample now does anti-aliasing, oh well.
Made internal use of OnIdle - er - internal. (I.e.
    it doesn't use EVT_IDLE anymore and thus cannot
    be overridden by users)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-22 18:08:54 +00:00
Robert Roebling
3827499741 more wxImage on Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-13 12:03:32 +00:00
Robert Roebling
2545db4133 Forgot one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-13 00:44:31 +00:00
Robert Roebling
b75867a61b The usual amount of trash over my telephone fixed
Horses everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-13 00:42:44 +00:00
Vadim Zeitlin
1d5b7a0be4 minor samples fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-12 23:51:13 +00:00
Robert Roebling
f6fcbb63d0 image update
listbox fix
  iODBC fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-12 17:53:45 +00:00
Julian Smart
3d05544e4e More SC++ fixes; HelpGen starting to compile with VC++; image sample now compiles/runs
with VC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-09 20:18:06 +00:00
Robert Roebling
8b53e5a226 New wxDataObject, DnD and Clipboard code
A few more minor fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-14 16:13:49 +00:00
Vadim Zeitlin
79490c3d8b "wxGDIObject * => &" changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-09 17:43:07 +00:00
Robert Roebling
fb1585ae85 Still bit fiddling in wxImage.
SetSize rewritten.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-11 14:19:46 +00:00
Robert Roebling
917e533ba8 Added test to prove a supposed misfeature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-10 19:43:04 +00:00
Robert Roebling
e8fdc26406 Bit fiddling part 4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-10 19:18:37 +00:00
Robert Roebling
910276d73f Test for image conversion correctness.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-04 12:03:48 +00:00
Robert Roebling
dc86cb34c3 DnD fixes
Image fixes
  Clipboard API


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-02 14:12:29 +00:00
Robert Roebling
01111366c9 Removed usage of GdkImlib
Added platform independent wxImage class
  Changed wxBitmap and wxImageList accordingly
  Correctted header text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-24 17:12:05 +00:00