Commit Graph

48 Commits

Author SHA1 Message Date
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
paul
0e7b523d31 lcl: fix TBrush.Assign (was missing FreeReference, extra changed when nothing changed)
git-svn-id: trunk@36813 -
2012-04-16 09:23:24 +00:00
paul
4f73e905fc lcl: reset Brush.Style from bsClear to bsSolid if SetColor() is called (issue #0021759)
git-svn-id: trunk@36809 -
2012-04-16 06:13:26 +00:00
paul
4905e5e163 lcl: reset Brush.Style from bsClear to bsSolid if SetColor() is called (issue #0021759)
git-svn-id: trunk@36808 -
2012-04-16 06:10:26 +00:00
paul
2286675357 lcl: reset Brush.Color and Style on setting Bitmap and vice versa, perform only 1 Change event after Assign(), based on patch of David Jenkins, issue #0021762
git-svn-id: trunk@36807 -
2012-04-16 06:03:24 +00:00
paul
a7816a6197 lcl: correct FPColor assignment while TBrush constructing
git-svn-id: trunk@29953 -
2011-03-21 06:25:00 +00:00
paul
2c5f759de9 lcl: set FPColor during TBrush constructing (issue #0018958)
git-svn-id: trunk@29952 -
2011-03-21 04:37:01 +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
1131d6231f lcl: convert color to TColor when passing to IsSysColor
git-svn-id: trunk@29712 -
2011-03-03 08:10:54 +00:00
paul
a5f3523e6f lcl: add DefaultColorType argument to TControlCanvas too
git-svn-id: trunk@28307 -
2010-11-18 02:23:34 +00:00
paul
bda1a2e021 lcl: if TControlCanvas.Brush.Color = clDefault then use default control color
git-svn-id: trunk@28145 -
2010-11-08 04:43:56 +00:00
mattias
167f3c4528 LCL: fixed range check
git-svn-id: trunk@26560 -
2010-07-09 23:11:30 +00:00
paul
9e2134c1a2 lcl: use GetSysColorBrush if solid brush needs to be created with system color
win32: call Windows.GetSysColorBrush for lclintf.GetSysColorBrush

git-svn-id: trunk@25128 -
2010-05-02 09:25:41 +00:00
paul
d20b80df76 lcl: make lcl resource cache thread-safe (based on patch of Bernd Engelhardt, issue #0016092)
git-svn-id: trunk@24716 -
2010-04-19 09:01:04 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
6176cdadd9 lcl: don't SetBkColor when Brush has hatched style (or we'll have solid fill on windows)
git-svn-id: trunk@16777 -
2008-09-29 05:04:11 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
e5b449c97e lcl: safer gdi handles typecasting
git-svn-id: trunk@15216 -
2008-05-23 11:58:39 +00:00
paul
48abb9b26f typo
git-svn-id: trunk@15215 -
2008-05-23 11:38:31 +00:00
paul
829ed3c0f8 lcl: safer gdi handles typecasting
git-svn-id: trunk@15214 -
2008-05-23 11:36:55 +00:00
paul
394a35359a lcl: safer gdi handles typecasting
git-svn-id: trunk@15213 -
2008-05-23 11:20:03 +00:00
marc
c81003eefa * Introduced TCustomBitmap as base class for all pixelbased imageclasses. Currently backward comatible (and equal to) TBitmap
* Added resource loading support to TPicture and Glyps to avoid image quality loss when converted to TBitmap
* Removed copy paste code for imagelist resource loading
* Moved some graphic classes to their own ini file

git-svn-id: trunk@14876 -
2008-04-17 23:43:11 +00:00
paul
1490cecace lcl: improve win32 theme switching (update brushes) (part of 0010030)
git-svn-id: trunk@14861 -
2008-04-17 08:50:07 +00:00
paul
7bc0a3cc0f font handle/reference rework
git-svn-id: trunk@13290 -
2007-12-12 05:58:15 +00:00
paul
cde0108e94 brush handle/reference rework
git-svn-id: trunk@13289 -
2007-12-12 04:51:15 +00:00
paul
ce31c7967b lcl TBrush:
- use CreatePatternBrush instead of CreateBrushIndirect to allow DIB bitmaps in TBrush.Bitmap

git-svn-id: trunk@12875 -
2007-11-15 02:29:49 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
vincents
90b9862494 removed $IFDEF VER1 from Martin Smat
git-svn-id: trunk@7473 -
2005-08-02 20:00:41 +00:00
mattias
c352ee72fe fixed freeing brush handle on SetColor and fixed freeing splashform
git-svn-id: trunk@6586 -
2005-01-14 14:46:35 +00:00
mattias
04863229c8 implemented the fpCanvas support for the LCL - Compile with -dUseFPCanvas
git-svn-id: trunk@6535 -
2005-01-10 18:44:44 +00:00
mattias
4f3496c1cd fixed TabOrder dialog for new TabOrder
git-svn-id: trunk@6510 -
2005-01-08 15:06:06 +00:00
mattias
a9010971e6 TFont, TBrush, TPen can now be used with fpCanvas
git-svn-id: trunk@6502 -
2005-01-07 21:02:59 +00:00
mattias
af94739be1 started TControl.AnchorSide
git-svn-id: trunk@6408 -
2004-12-22 23:54:21 +00:00
mattias
233bfe04f3 fixed double calling destructor for resource cache items
git-svn-id: trunk@6211 -
2004-11-07 01:10:05 +00:00
mattias
dcbba11dd8 fixed unselecting TCanvas objects
git-svn-id: trunk@6096 -
2004-10-01 13:16:44 +00:00
mattias
4340c26a6e fixed brush handle cache size
git-svn-id: trunk@5771 -
2004-08-11 22:05:07 +00:00
mattias
5d3ed6859c implemented TBrushHandleCache
git-svn-id: trunk@5770 -
2004-08-11 21:10:30 +00:00
mattias
581bef95fc moved intfstrconsts.pp to lclstrconsts.pas, implemented TPenHandleCache
git-svn-id: trunk@5769 -
2004-08-11 20:57:09 +00:00
mattias
ce11f9f6e2 implemented mainunit hints for include files
git-svn-id: trunk@5393 -
2004-04-10 17:58:57 +00:00
mattias
259f1c772e fixed CreateBrushIndirect
git-svn-id: trunk@5274 -
2004-03-06 17:12:19 +00:00
mattias
4d53e93709 started key combinations, fixed some range check errors
git-svn-id: trunk@4937 -
2003-12-23 11:16:41 +00:00
lazarus
ba7fa204bd AJ: added TShape
git-svn-id: trunk@3592 -
2002-10-31 04:27:59 +00:00
lazarus
0c825a7d38 MG: added patch from Andrew
git-svn-id: trunk@2167 -
2002-08-17 23:41:04 +00:00
lazarus
d78e403562 MG: changed license to LGPL
git-svn-id: trunk@997 -
2002-02-09 01:47:36 +00:00
michael
f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00