Commit Graph

43 Commits

Author SHA1 Message Date
Vadim Zeitlin
055de35012 added wxColour(RGBColor) ctor and use it insteaf of constructing wxColour from RGBColor manually in several places (replaces patch 1662064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:48:56 +00:00
Julian Smart
a61c912241 Reverted renderer changes and just use window variant within renderer functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Julian Smart
f8e1a81f3e Added size constants to allow drawn control parts to match the window variant,
initially on Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:16:24 +00:00
Robin Dunn
c97c995223 Return optimal label width from DrawHeaderButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 23:44:55 +00:00
Robin Dunn
cf511e872e Added DrawComboBoxDropButton and DrawPushButton to wxRendererNative
for Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 06:45:01 +00:00
Kevin Ollivier
a4609ab847 Implement wxRendererMac::DrawItemSelectionRect and move the generic wxTreeCtrl to using it to draw selected items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:28:47 +00:00
Stefan Csomor
2185a8a32f typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:32:00 +00:00
Stefan Csomor
1c5decd0b8 casing the coordinates recalc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 06:07:11 +00:00
Robin Dunn
f3d0a750d4 The rect passed to DrawTreeItemButton is already adjusted, we
shouldn't do it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:59:03 +00:00
Kevin Ollivier
46b59ead9d Don't use bitmaps to draw tree item buttons, use the HITheme drawing functions instead. (The bitmaps would show jaggies on dark backgrounds.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 17:25:44 +00:00
Stefan Csomor
8acd14d177 untangling dc and gc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robin Dunn
be01a40397 use consistent names (Graphic vs. Graphics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Stefan Csomor
977d15a6ae new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:07:00 +00:00
Robin Dunn
80752b57a9 As per wx-dev, split the sort arrow options out to a separate parameter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:42:41 +00:00
Robin Dunn
4b94ddc44c More support for drawing native column headers, adds more states
(selected, mouse-over) and also optionally drawing the contents of the
header (label and/or bitmap, sort arrow) in a consistent way.  Also
added a method to determine the default height of the column header.
This is based on work done for OSAF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:28:43 +00:00
Stefan Csomor
a62f32af00 removing code for pre 10.3 systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:31:33 +00:00
Włodzimierz Skiba
1832043f93 Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Włodzimierz Skiba
ed4b0fdca6 Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
David Surovell
7af14d7187 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 09:10:34 +00:00
Stefan Csomor
6fe1627ca0 correct scrolling and clipping of list headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:12:57 +00:00
Stefan Csomor
1b14412585 no_rtti fix was not having correct eval order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 05:18:28 +00:00
Stefan Csomor
bc8f7aeed2 old style casts for no-rtti builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 17:01:16 +00:00
Stefan Csomor
9954f65067 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 16:26:10 +00:00
Stefan Csomor
69342052a4 use theme drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:56:23 +00:00
Stefan Csomor
2480cf888f Adding theme drawing for list header under 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:43:50 +00:00
Stefan Csomor
20b6985553 Mac Core Graphics Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 11:34:05 +00:00
Gilles Depeyrot
5d91a08807 added missing include files for compilation with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:56:25 +00:00
Dimitri Schoolwerth
3616829292 fixed float to short int casting warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 22:30:22 +00:00
Stefan Csomor
547aafd263 added native pane splitter rendering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:02:45 +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
Robert Roebling
eef4e26cd3 Gradient fill splitter window sash. This won't
look good in brushed metal theme..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-13 16:47:22 +00:00
Robert Roebling
48fbb5214d I don't understand what the original author
of the current list ctrl header button code
    under Mac meant with "CORNER", but the whole
    thing is off by 1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 18:12:13 +00:00
Stefan Csomor
11d1adbfda rendering adjustments for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:15:12 +00:00
Vadim Zeitlin
af99040c70 1. added flags to splitter drawing functions and replaced
GetSplitterBorderAndSash() with GetSplitterParams()
2. added support for "hot tracking" to wxSplitterWindow
3. added GTK2 support for the splitter to GTK renderer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 13:38:43 +00:00
Vadim Zeitlin
f0244295e3 added wxAppTraits::CreateRenderer() which may be used to customize the renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Vadim Zeitlin
62dc9cb4f1 added orient parameter to DrawSplitterSash instead of using wxMirrorDC in the splitter (it is now used in generic renderer only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 02:00:55 +00:00
Vadim Zeitlin
4c9483436c more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 01:04:19 +00:00
Vadim Zeitlin
e356d4693d another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 18:03:57 +00:00
Vadim Zeitlin
5cb80ad233 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 17:19:08 +00:00
Vadim Zeitlin
b3208e1158 virtualized splitter drawing; removed/deprecated some styles and moved others from wx/defs.h; eliminated flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:12:17 +00:00
Vadim Zeitlin
38c4cb6aa7 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 18:29:21 +00:00
Vadim Zeitlin
9c7f49f569 added wxRendererNative to be used by the generic controls for rendering platfomr-specific parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:52:26 +00:00