zeljko
8bec6e28de
Themes: fixed memleak with dotted brush bitmap.part of issue #27559
...
git-svn-id: trunk@48048 -
2015-02-28 12:33:45 +00:00
juha
d6ba979d0c
LCL: Fix font.color on WinXP theme ttItemHot elements. Reverts faulty r46740 #bccb960c29. Issue #26981 , patch from Andrey Zubarev.
...
git-svn-id: trunk@46743 -
2014-11-03 11:16:34 +00:00
juha
bccb960c29
LCL: Fix font.color on theme ttItemHot elements. Issue #26981 , patch from Andrey Zubarev.
...
git-svn-id: trunk@46740 -
2014-11-01 20:58:43 +00:00
paul
9e0d1a452a
lcl: implement small close button drawing with themes
...
git-svn-id: trunk@41845 -
2013-06-23 17:39:10 +00:00
paul
951d803183
lcl, win32: use GetTextExtent as suggested in MSDN to get the correct text bounds before use of DrawThemeText() (issue #0021964 )
...
git-svn-id: trunk@41646 -
2013-06-10 05:58:07 +00:00
juha
93a55c46a9
LCL: Toolbutton tbsDropDown drawing problem. Issue #19600 , patch from Samuel Herzog
...
git-svn-id: trunk@38099 -
2012-07-31 21:03:10 +00:00
paul
e3ef681580
lcl: extend TThemeServices.IsDisabled, IsHot, IsPushed for teCombobox
...
git-svn-id: trunk@36776 -
2012-04-14 16:08:21 +00:00
zeljko
534feafb8e
LCL: Themes.DrawText() added DT_WORDBREAK and DT_END_ELLIPSIS.
...
git-svn-id: trunk@34028 -
2011-12-07 15:51:26 +00:00
juha
3d53dd6306
LCL: Fix Range Check errors on 64-bit system. Issue #20051 , patch from Cyrax
...
git-svn-id: trunk@32053 -
2011-08-25 21:18:42 +00:00
mattias
597e60e8a7
LCL: broke unit dependency of graphics on controls
...
git-svn-id: trunk@31628 -
2011-07-09 23:10:27 +00:00
maxim
32de941260
LCL: removed custom drawn Close button icon, we have nicer default one
...
git-svn-id: trunk@31485 -
2011-07-01 09:52:31 +00:00
maxim
443af0046a
LCL: fixed Close button glyph transparency (proper transparency mask should be assigned to HBitmap too), bug #19295
...
git-svn-id: trunk@31384 -
2011-06-25 14:35:34 +00:00
paul
a96a6545ba
lcl: fix treeview plus/minus sign drawing with no themes
...
git-svn-id: trunk@30348 -
2011-04-17 13:17:14 +00:00
juha
0928ead547
LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
...
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
paul
3aace13834
lcl: fix TColor -> TColorRef assignments and vice versa
...
git-svn-id: trunk@29713 -
2011-03-03 08:35:06 +00:00
paul
5eaebdc1e4
lcl: fix TThemeServices.DrawText - correctly set SingleLine, Clipping attributes
...
git-svn-id: trunk@29647 -
2011-02-22 07:41:09 +00:00
paul
0317bfe926
lcl: add TThemeServices.GetDetailRegion
...
git-svn-id: trunk@29642 -
2011-02-22 06:45:31 +00:00
mattias
369aa3055c
fixed typo dont
...
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
dmitry
8dc9238c17
lcl: changed default stock closebutton to draw the 1-pixel width cross
...
git-svn-id: trunk@26529 -
2010-07-08 16:33:04 +00:00
dmitry
17fa642a30
lcl: fix themes default idButtonClose stock image drawing
...
git-svn-id: trunk@26187 -
2010-06-19 12:47:41 +00:00
dmitry
c802efbd20
lcl: default idButtonClose theme drawing
...
git-svn-id: trunk@26088 -
2010-06-13 14:27:28 +00:00
paul
86b00d4f17
lcl: draw treeitem text using appropriate themed colors
...
git-svn-id: trunk@24877 -
2010-04-24 14:52:22 +00:00
paul
7f820b7f3f
lcl: implement treeview item drawing for default theme manager
...
git-svn-id: trunk@24839 -
2010-04-23 00:24:27 +00:00
paul
4a4cdb8ee5
lcl: add treeview hot glyph drawing support to the theme services
...
git-svn-id: trunk@24813 -
2010-04-22 07:29:26 +00:00
paul
612a84b15e
lcl: Add RTL support to the Themes DrawText function by zaher dirkey (issue #0014927 )
...
git-svn-id: trunk@22320 -
2009-10-28 13:42:18 +00:00
paul
8f48f1eb62
lcl: add more menu parts to ThemeServices
...
git-svn-id: trunk@20596 -
2009-06-12 14:06:14 +00:00
paul
2e91396afd
lcl: update tmschema content from 2 new header files from windows 7 sdk (tmshema.h is deprecated since vista at all)
...
git-svn-id: trunk@20568 -
2009-06-10 08:14:03 +00:00
paul
52202a4550
lcl: set default pushbuttonsize as 75x23 instead of 75x25
...
git-svn-id: trunk@20535 -
2009-06-09 03:10:41 +00:00
paul
8e3c500a4d
lcl: move default TButtonPanel button constraints to the ThemeServices
...
git-svn-id: trunk@20214 -
2009-05-26 01:39:02 +00:00
paul
597eb84d8c
lcl: Themes
...
- redo TThemeServices.GetDetailSize to return TSize instead of Integer
- improve toolbutton drawing
git-svn-id: trunk@20213 -
2009-05-26 01:32:38 +00:00
paul
fda6d84cc0
lcl: add TThemeServices.GetOption with 2 options at moment - ShowButtonImages and ShowMenuImages
...
git-svn-id: trunk@20188 -
2009-05-25 07:26:57 +00:00
paul
c92f6641d1
lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
...
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
7d97f14c33
lcl: THintWindow drawing:
...
- remove TThemeServices.DrawTooltip, move content to DrawElement for teTooltip
- call standard ThemeServices.DrawElement in THintWindow.Paint (now tooltips looks native on windows xp, vista, gtk, gtk2)
git-svn-id: trunk@19619 -
2009-04-25 14:40:54 +00:00
paul
793393a8d6
lcl: start native drawing of tooltip windows
...
- add TThemeServices.DrawTooltip
- reimplement tooltip drawing through ThemeServices in case of color = clInfoBk
- implement native tooltip drawing in ThemeServices for Windows with enabled themes
git-svn-id: trunk@19616 -
2009-04-25 12:56:04 +00:00
paul
bca9b43b00
lcl: cleanup
...
git-svn-id: trunk@19283 -
2009-04-09 06:50:22 +00:00
paul
6f99c2aab0
lcl: destroy ThemeServices in the TWidgetset.BeforeDestruction method since it can release some gdi objects and some widgetsets (like gtk) stores gdi objects in internal structures and release them in the widgetset destructor
...
git-svn-id: trunk@19212 -
2009-04-04 09:55:53 +00:00
paul
91fc0f6297
lcl: even more improve painting of that pressed toolbar button on non-themed windows
...
git-svn-id: trunk@17435 -
2008-11-19 03:48:22 +00:00
paul
e13733c936
lcl: improve painting of pressed toolbar button on windows without themes
...
git-svn-id: trunk@17434 -
2008-11-19 03:46:01 +00:00
paul
5914e66d5e
win32, default: return details size for tree sign
...
git-svn-id: trunk@17235 -
2008-11-05 10:06:56 +00:00
paul
c50c24cb56
qt: implement themed drawing of +/- tree signs
...
git-svn-id: trunk@17231 -
2008-11-05 03:55:15 +00:00
paul
2cb12dde77
lcl: draw treeview expand/collapse signs using ThemeServices
...
git-svn-id: trunk@17221 -
2008-11-04 15:32:34 +00:00
paul
fbede377a2
lcl: ThemeServices.ColorToRGB returns default conversion when Details is nil ( #0012167 )
...
git-svn-id: trunk@16772 -
2008-09-27 17:16:26 +00:00
mattias
3bafcd6115
LCL: fixed encoding
...
git-svn-id: trunk@15913 -
2008-07-29 21:25:45 +00:00
paul
372a450379
lcl: add support for '&' in themed text drawing
...
git-svn-id: trunk@15293 -
2008-06-03 00:48:10 +00:00
paul
6e460c2b91
lcl: make checked non-hot non-themed toolbutton more windows like (not 100% similarity though)
...
git-svn-id: trunk@15251 -
2008-05-27 06:58:54 +00:00
paul
3108f60f93
lcl:
...
- Publish TListView ShowHint, ParentShowHint (9708).
- Correct TTabControl drawing. Don't clear tab area since it is painted by notebook. Draw pane area with ThemeServices.
- Teach gtk ThemeServices to draw notebook pane.
git-svn-id: trunk@15027 -
2008-05-01 18:26:50 +00:00
paul
483a34bcfc
default theme engine: draw MDI title buttons flat
...
git-svn-id: trunk@13655 -
2008-01-06 17:16:55 +00:00
paul
d36fa6b624
theme engine: handle title bar button in IsDisabled, IsHot and IsPushed
...
git-svn-id: trunk@13652 -
2008-01-06 10:08:52 +00:00
paul
f3c33609c4
default theme drawing for window title buttons (need for docking)
...
git-svn-id: trunk@13622 -
2008-01-04 19:14:49 +00:00
paul
b9556171fe
TCheckListbox: improve drawing under win32 (disabled state and do all through ThemeServices), saving/loading grayed states
...
TCheckListBoxEditor: handle grayed states
git-svn-id: trunk@13365 -
2007-12-18 04:39:03 +00:00