Commit Graph

313 Commits

Author SHA1 Message Date
Vadim Zeitlin
6ae7410f55 added wxDC::Set/GetLayoutDirection() and implemented it for wxMSW (patch from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:31:23 +00:00
Robin Dunn
dbe6f5f00b Applied second part of patch #1570448, use the device origin for where
to clear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:31:18 +00:00
Robin Dunn
b7a0abc732 Part of patch# 1570448, use dwRop for StretchBIBits too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 23:51:28 +00:00
Włodzimierz Skiba
57bd4c6031 Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Włodzimierz Skiba
02761f6cd4 Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Paul Cornett
406d283a64 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-17 03:02:15 +00:00
Włodzimierz Skiba
658ff7f1d8 [ 1502010 ] Cast to wrong type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:12:57 +00:00
Włodzimierz Skiba
6d50343d87 Include wx/dcprint.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 22:34:12 +00:00
Włodzimierz Skiba
3cdcf4d444 eVC3 (older WinCE) build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 21:20:44 +00:00
Vadim Zeitlin
b76d9e767e don't duplicate wxDCBase::DoDrawCheckMark() code in wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:22:30 +00:00
Vadim Zeitlin
481203cb23 made width computation in GetTextExtent() more precise, especially for italics fonts (based on the code from Wlodek Szafran)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:08:43 +00:00
Vadim Zeitlin
c334a69083 removed spurious if in DoGradientFillLinear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 21:28:12 +00:00
Julian Smart
19fc41a359 Corrected wrong include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:50:37 +00:00
Włodzimierz Skiba
2e98a222ba Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 10:00:35 +00:00
Julian Smart
07225d48b6 Application clipping region can be set to null without affecting
paint clipping region. This fixes severe refresh problems on WinCE
when clipping regions are used, and is experimental on desktop wxMSW
but so far works fine.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:54:47 +00:00
Vadim Zeitlin
213ad8e72c added linear and concentric gradient fill functions (modified/fixed patch from Ryan Norton)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 01:57:31 +00:00
Vadim Zeitlin
7d09b97f53 disallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC in wx code; fixed WinCE bug with deleting a DC which should be released in wxListBox::MSWOnMeasure()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 02:34:42 +00:00
Vadim Zeitlin
761598d4e5 fixed handling of dst offset in wxAlphaBlend()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-12 11:15:23 +00:00
Włodzimierz Skiba
41e155b43e eVC4 warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 20:44:43 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
60e193718c Assert correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-16 14:53:39 +00:00
Włodzimierz Skiba
ad0ac642d5 Native spline drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-16 12:55:05 +00:00
Julian Smart
f9daf953d6 Applied [ 1283696 ] wxDC::GetPartialTextExtents crashes on empty strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-11 18:37:52 +00:00
Włodzimierz Skiba
0c0d1521c0 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 13:39:03 +00:00
Dimitri Schoolwerth
767b35a56f applied patch #1185523: "Replace GetTextExtentPoint with GetTextExtentPoint32"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 16:03:25 +00:00
Julian Smart
3db799025d Take src x, y into account when blitting with alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 19:55:46 +00:00
Julian Smart
1d63de4a45 The device origin can be set on WinCE, so use it and redefine conversion
macros accordingly.
Also, convert result of calling GetClipBox from logical to
device coordinates since we're dealing with device coordinates at
this point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 15:36:06 +00:00
Julian Smart
750d64e653 WinCE apparently should not have rectangle adjusted if using transparent pen
(droppings left on Life! canvas when drawing with a transparent pen)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 23:01:28 +00:00
Włodzimierz Skiba
660296aa90 Wrap <commdlgs.h> as <commctls.h>. Required makefiles rebuilded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 19:39:54 +00:00
Włodzimierz Skiba
c47addef10 wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Włodzimierz Skiba
e0d3147139 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:04:51 +00:00
Włodzimierz Skiba
907173e51d Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:21:57 +00:00
Vadim Zeitlin
57c26f8210 use AlphaBlt() when blitting to a bitmap with alpha channel too (patch 991166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:53:33 +00:00
Włodzimierz Skiba
35bbb0c66b WinCE warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 10:56:16 +00:00
Włodzimierz Skiba
17a6a2e097 WinCE warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 08:24:04 +00:00
Włodzimierz Skiba
7010702f63 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 11:11:46 +00:00
Julian Smart
fb6724f179 Include wx/image.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 14:57:39 +00:00
Dimitri Schoolwerth
a98ca1ae26 applied patch 961026: "Boundbox problem with rotated text"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 16:24:12 +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
Vadim Zeitlin
f67fe9a423 compilation fix for older compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 07:17:15 +00:00
Vadim Zeitlin
395b914eae oops, added missing const_cast to make last check in compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:45:26 +00:00
Vadim Zeitlin
2e76da5450 made GetClippingBox() work even for clipping region (pre)set by Windows and not only for clipping regions set using our own SetClippingXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:41:54 +00:00
Robert Roebling
1a4b50d2f1 Since CE cannot do the logical/device origin calculations
we do it ourselves as per the X11 ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 16:46:58 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Robin Dunn
85e7fb12b0 Don't log StretchDIBits failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 02:06:01 +00:00
Julian Smart
95c1ea29ed WinCE project and wxDC corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 23:16:47 +00:00
Vadim Zeitlin
793db75554 renamed start parameter of wxDC::DrawPolyPolygon() to count (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:34:01 +00:00
Julian Smart
d61c1a6f21 Fixed source for WinCE compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 10:06:26 +00:00
Vadim Zeitlin
5c2ddebecd use correct way to get a pointer to vector elements in DoGetPartialTextExtents()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 19:12:54 +00:00