Paul Cornett
b65ce02c69
fix Gtk-WARNING "... no property named `row-ending-details'" ( #4809 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 05:49:04 +00:00
Robert Roebling
dee6abf6d4
Don't fail compilation with GTK+ 2.2 in 2.8 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:47:20 +00:00
Robert Roebling
7a1638b8ba
Added control renderers to GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 09:04:40 +00:00
Robin Dunn
931e5c417c
Patch #1769242 : Check for wxUSE_GRAPHICS_CONTEXT in renderer.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:12:09 +00:00
Robin Dunn
48ad659aa2
Patch from KO to allow the renderer to be able to draw onto a wxGCDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:27:24 +00:00
Robin Dunn
c6d2cc32d7
Switch GetHeaderButtonWidget to use a real column header button.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 17:00:12 +00:00
Robin Dunn
f225e6ed83
Use a button that has a tree widget as a parent as the widget style
...
for DrawHeaderButton, as this is apparently how the gtk themes decide
whether to draw a normal button or a column header button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:30:38 +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
Robert Roebling
08f57d2125
The usual RTL fix for GTK+'s theme drawing function.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 17:48:21 +00:00
Robert Roebling
05d9753817
Just use the already existing wxRenderer::DrawItemSelectionRect()
...
from wxListCtrl and wxTreeCtrl; and document it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 10:20:38 +00:00
Vadim Zeitlin
2e992e06a7
added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:39:34 +00:00
Robert Roebling
11012f4712
New magic number for positioning the tree triangle.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:31:32 +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
Robert Roebling
5eefe02976
More RTL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:24: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
Robert Roebling
428f4657b6
Further RTL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:20:24 +00:00
Robert Roebling
847dfdb422
Implement dc mirroring for RTL.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 10:32:43 +00:00
Vadim Zeitlin
75deeb0dee
removed unneeded cast to wxWindowDC in DrawItemSelectionRect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 11:04:54 +00:00
Paul Cornett
772b376785
simplify coordinate transformation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:30:06 +00:00
Włodzimierz Skiba
9eddec696f
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +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
Włodzimierz Skiba
da80ae712a
Include wx/dc.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 22:58:39 +00:00
Włodzimierz Skiba
cdccdfabb2
Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 07:57:04 +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
506d54a3f6
Minor corrections to native renderer. I also corrected
...
the header button renderer as per MSW, this might break
other code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:47:29 +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
Mart Raudsepp
68567a967b
Nuke GTK1 from src/gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 20:29:17 +00:00
Włodzimierz Skiba
91af089567
Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:49:36 +00:00
Julian Smart
3203621a92
Applied patch [ 1183153 ] [wxGTK] DrawComboBoxDropButton pressed state
...
Jaakko Salli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:52:25 +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
Robert Roebling
384188277d
Correct orientation of splitter sash again.
...
Query splitter sash size at runtime.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 12:24:10 +00:00
Robert Roebling
ab5ea030d8
There shouldn't be any need to draw the backgound
...
under a sash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 10:30:47 +00:00
Robert Roebling
885dd59789
Readd support for prelight tree control triangles (visual
...
effect when mouse is over the triangle/button)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:20:41 +00:00
Robert Roebling
83dc6964f0
Changed ComboDropDown button under GTK+ so that it
...
will create a transparent button. This works for
the date control, but should be generalized somehow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 14:38:47 +00:00
Vadim Zeitlin
bc13e77252
use native gtk_paint_expander() to implement DrawTreeItemButton() under GTK+ 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:54:51 +00:00
Vadim Zeitlin
a8ac548ed0
trying to draw transparent arrow instead of opaque one but it doesn't seem to change anything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:33:03 +00:00
Vadim Zeitlin
e1befae3d2
yet more corrections to drop down button drawing: don't draw a border around the arrow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:06:42 +00:00
Robin Dunn
31059a74bd
Fixed compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:16:37 +00:00
Vadim Zeitlin
a4622f29d8
draw drop down button using native calls (patch 1144389)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:54:07 +00:00
Vadim Zeitlin
38511687af
more tweaks to drop down arrow drawing (Andreas Pflug)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 18:29:22 +00:00
Vadim Zeitlin
e7846404f7
no changes, just mention gtk_paint_expander() in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 10:18:31 +00:00
Robert Roebling
6de9d616ca
Correctd orientation of sash handle.
...
Adapted some code in the native scrolling window
to the generic version's code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:29:32 +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
0100b858d6
(partially) fixed splitter sash rendering under GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 16:42:36 +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
91fdca5b17
Draw bug.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 14:30:14 +00:00
Robert Roebling
f8b043e78f
Added better visual feedback for tree control
...
triangles. They now have a sort of prelight
status like they have under GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:12:33 +00:00