juha
9219ea531d
Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
...
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
zeljko
6e55b572be
Themes: teEdit can be disabled too.
...
git-svn-id: trunk@62220 -
2019-11-10 12:44:54 +00:00
juha
383cc68489
LCL: Implement TreeView DisabledFontColor. Issue #35628 , patch from Alexey Tor.
...
git-svn-id: trunk@61294 -
2019-05-27 09:39:54 +00:00
ondrej
e58e0a48d1
LCL: themes: high-DPI DrawIcon
...
git-svn-id: trunk@57929 -
2018-05-13 21:25:07 +00:00
ondrej
9b8424c65b
LCL: themes: use original constants
...
git-svn-id: trunk@57754 -
2018-05-01 09:04:13 +00:00
ondrej
8490f66838
LCL: grids: use theme sort arrows
...
git-svn-id: trunk@57751 -
2018-05-01 08:26:45 +00:00
juha
a48b727337
LCL: Fix a comment saying that Graphics could not be used in unit Themes.
...
git-svn-id: trunk@57276 -
2018-02-08 23:43:21 +00:00
ondrej
de5ec9a11d
lcl: themes: High-DPI: scale default (hard-coded) detail sizes. Solves issue #31557 on Qt+Gtk2
...
git-svn-id: trunk@54439 -
2017-03-18 07:58:07 +00:00
michl
72427c9f1b
LCL: ThemeServices: draw better themed disabled text
...
git-svn-id: trunk@53915 -
2017-01-10 16:15:35 +00:00
ondrej
b769322f40
lcl: themes: add TThemeOption.toUseGlyphEffects. Use it for TToolButton, TSpeedButton, TBitBtn, TButtonGlyph
...
git-svn-id: trunk@50962 -
2015-12-21 05:37:05 +00:00
ondrej
25cfeb51ee
lcl: toolbutton: fix paint arrow for tbsButtonDrop (was outside the visual button bounds)
...
git-svn-id: trunk@50932 -
2015-12-19 12:45:09 +00:00
ondrej
540bd3a671
lcl: toolbar: add DropDownWidth property
...
git-svn-id: trunk@50900 -
2015-12-18 10:13:17 +00:00
ondrej
a511b3e510
LCL: default theme text drawing remove offset from pushed text. Neither win32 nor Gtk2 do that. Needed for consequent painting of glyph and text.
...
git-svn-id: trunk@50895 -
2015-12-18 09:29:35 +00:00
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