Robert Roebling
0ff2a74d0c
Implemented wxBitmap::HasAlpha() and ::UseAlpha().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 20:27:46 +00:00
Vadim Zeitlin
e9923becbe
include wx/rawbmp.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:17:12 +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
Robert Roebling
709feaf70c
GTK 1.2 compilo/link error.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 21:39:11 +00:00
Robert Roebling
4b61c88d55
Second try to add "support" for deriving from
...
wxBitmapHandlerBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 14:17:27 +00:00
Robert Roebling
4611dd06a1
Make wxBitmap inherit from wxBitmapBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 13:08:44 +00:00
Włodzimierz Skiba
463c4d7193
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 21:10:15 +00:00
Robert Roebling
e1bf3ad3e8
Applied patch to reorder includes. Not the most
...
important patch in the world, but still.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 21:13:28 +00:00
Václav Slavík
70dcce7906
set mask when converting pixbuf to pixmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:32:55 +00:00
Václav Slavík
6db34764d7
added pixmap->pixbuf conversion as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:21:11 +00:00
Václav Slavík
feac79373c
added alpha channel support to wxGTK2's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:42:06 +00:00
Václav Slavík
a29b55cdf6
fixed wxImage->wxBitmap conversion for images with alpha channel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:31:42 +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
Ron Lee
b63b07a809
More updates to the Debian packaging for wxPython, unicode and
...
the project name change.
Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.
Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.
Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.
Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.
Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.
Added missing newline at the end of fontdlg.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Julian Smart
024e0f6981
Ok tests pixmap and bitmap now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 14:50:13 +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
551b5391ae
\
...
Updated bitmap blitting code as per 2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 14:28:52 +00:00
Robert Roebling
783da8450c
Added wxBitmap::Rescale() from 2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:01:49 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
3ebcd89da9
bitmaps of size 0 shouldn't be valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 12:28:48 +00:00
Vadim Zeitlin
d694de12e7
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:03:32 +00:00
Vadim Zeitlin
2eefae6efa
better handling of transparent colour in wxImage conversion (patch 726208)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:59:40 +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
Gilles Depeyrot
d84afea9d1
corrected warnings when compiling with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Robert Roebling
8cce894070
Preventing bitmap crash differently.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 17:23:54 +00:00
Robert Roebling
c7f6246740
Disabled masked bitmaps under GTK 2.0 until I know
...
why they crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:43:30 +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
9e691f46b2
changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
...
sample crashes on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 19:24:30 +00:00
Robert Roebling
a11672a469
wxX11:
...
Lots of wxBitmap et al work.
Adapted wxIcon, wxCursor to this.
Split wxApp init things up so that the
X11 display is available sooner.
Changed initial display code accordingly.
Corrected wxDC::DrawBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00
Robert Roebling
9b72a74d94
gdk_rgb doesn't work on SGI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 16:21:09 +00:00
Robert Roebling
005f5d1878
Some additions to the 12-bit patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 12:21:57 +00:00
Robert Roebling
8ab696e0a9
Applied patches for wxBU_EXACTFIT to button.cpp and tglbtn.cpp
...
Applied patch for SGI's 12-bit visuals to bitmap.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 11:36:43 +00:00
Vadim Zeitlin
7ecb8b06ad
don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
...
with FindOrCreateXXX() are managed by the lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 18:40:03 +00:00
Václav Slavík
db0aec831d
added wxBitmap::CopyFromIcon to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:36:17 +00:00
Vadim Zeitlin
22bd93879d
fix for wxBitmapType definition problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 13:55:28 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Robin Dunn
c2fa61e833
Changed wxRootWindow from a global to a staic variable with an
...
accessor function that initializes if on first use. This prevents
core dumps for apps that try to create wxBitmaps before the wxApp
object is initialized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:55:28 +00:00
Václav Slavík
b5f01ae00e
implemented wxMask::Create(bitmap, paletteEntry) for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-04 23:14:34 +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
Robert Roebling
c826213d96
Added bitmap create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 16:48:27 +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
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
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
Vadim Zeitlin
13111b2ac8
1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
...
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Robert Roebling
f2593d0dda
Calling a Refresh() before the window is created no longer
...
gives an assert. Nothing will happen.
Added wxTreeCtrl::InsertItem( paret, before, ... ),
Correct some places with incorrectly indented code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:08:04 +00:00
Robert Roebling
f9ee644eac
Wrote wxMask(bitmap,colour).
...
Some docs for it and wxBitmap::GetSubBitmap().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 11:25:53 +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
Vadim Zeitlin
e838cc1468
1. wxMotif toolbar works; the toggle buttons have the same width as the other
...
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
**", as in wxGTK
3. added an X error handler to wxMotif (debug only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Robert Roebling
1fb4de3138
doc view code inteprets wxSTREAM_EOF as correct,
...
Added wxMask( bitmap, colour ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 09:35:42 +00:00