Commit Graph

28 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
fb61f58a73 define wxCONTROL_SIZEGRIP as another possible interpretation of wxCONTROL_SPECIAL bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:15:52 +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
Włodzimierz Skiba
0856300fb1 wxHeaderButtonParams needs complete classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:02:48 +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
Włodzimierz Skiba
90b903c263 Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 23:54:26 +00:00
Robert Roebling
daebb44c74 Added wxRenderer method for drawing selection
rect if an item in a list has ben selected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 10:48:52 +00:00
Robert Roebling
2209baaee3 Committed Jaako's renderer patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:57:27 +00:00
Robert Roebling
862d8041ab Add wxRenderer::DrawCheckButton for use inside
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 16:14:12 +00:00
Vadim Zeitlin
4c85ab7569 added wxRendererNative::DrawDropArrow (patch 1166596)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:22:04 +00:00
Vadim Zeitlin
f33cef9fec added DrawComboBoxDropButton()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:32:07 +00:00
Włodzimierz Skiba
82ef81ed9c Final MSW/PalmOS split. Remove dump copies of MSW specific code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 07:22:25 +00:00
Włodzimierz Skiba
4055ed8281 Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Włodzimierz Skiba
415a0ff16d 3rd state in checkboxes for wxUniv [closes bug#1040585].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 13:16:41 +00:00
Julian Smart
ffecfa5aeb Committed William Osborne's wxPalmOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +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
04857cb707 added version checking to the renderers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 15:51:30 +00:00
Vadim Zeitlin
9f2be12593 added Load() and Set() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 18:14:44 +00:00
Vadim Zeitlin
2c0e6de189 added missing arguments in wxDelegateRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 13:49:33 +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
Mattia Barbon
7df07b10aa various compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:04:42 +00:00
Vadim Zeitlin
fc7a2a602b undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +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