Commit Graph

185 Commits

Author SHA1 Message Date
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
sekelsenmat
eed2fffb55 Implements TCanvas.BrushCopy, adds a test to it in the canvas tests and also adds full CopyMode tests there
git-svn-id: trunk@35134 -
2012-02-04 18:46:34 +00:00
sekelsenmat
89dd7c918b Fixes bug #20195: Removes LCLIntf.Frame in favor of a cross-platform implementation for TCanvas.Frame
git-svn-id: trunk@34379 -
2011-12-24 10:52:33 +00:00
jesus
f87c768ab5 LCL, implements EndEllipsis text style (windows) and use it for showing ... in grid cells, also implements cell hints in dbgrid, from wp, issue #20777
git-svn-id: trunk@34018 -
2011-12-07 06:03:34 +00:00
sekelsenmat
2ce733728d Introduces TCanvas.TextFitInfo and implements LCLIntf.GetTextExtentExPoint for Win32
git-svn-id: trunk@33215 -
2011-11-02 11:11:28 +00:00
paul
0ac2f35d4e lcl: move WN_NCHITTEST handling of THintWindow into LCL to allow overriding (issue #0019594)
git-svn-id: trunk@31468 -
2011-06-30 06:30:12 +00:00
juha
6e67aa98e8 LCL: Implemented TCanvas.Frame3D with Delphi compatible parameter signature + a wrapper func. Patch by Stephano, issue #8328
git-svn-id: trunk@30305 -
2011-04-16 09:55:42 +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
vincents
f181c9db90 lcl: don't use DT_INTERNAL, the LCL already has selected a system font into the canvas; it prevents mismatches in sizes, if we cannot determine what exact font is used by DT_INTERNAL, fixes issue #16408
git-svn-id: trunk@28672 -
2010-12-10 20:16:16 +00:00
paul
6380ade6ac lcl, win32: handle clDefault font color in controls
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +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
b9de3e3bb0 lcl: use real brush color for setting bg color
git-svn-id: trunk@28146 -
2010-11-08 05:34:29 +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
paul
c708840d05 lcl: fix name clash with ancestor fields after fpc:r16303
git-svn-id: trunk@28088 -
2010-11-05 08:07:11 +00:00
sekelsenmat
aacf8b768a Patch from bug #17555. Improves GetTextMetrics
git-svn-id: trunk@27666 -
2010-10-12 13:48:45 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
mattias
51906d0ce2 LCL: TCanvas.RealizeAntialiasing: do not call changed
git-svn-id: trunk@25417 -
2010-05-15 11:42:47 +00:00
dmitry
403c0fde87 lcl: implement setting amDontCare mode for TCanvas. The actual value set is based on WS.GetLCLCapability
git-svn-id: trunk@25416 -
2010-05-15 11:32:32 +00:00
paul
6f99fb6338 lcl: pass device coords for SelectClipRGN (issue #15508)
git-svn-id: trunk@25239 -
2010-05-07 11:21:56 +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
sekelsenmat
74f27bdc7b Improves the fpc 2.2.4 defines
git-svn-id: trunk@24957 -
2010-04-26 08:43:23 +00:00
sekelsenmat
e3b6b29bdb Implements support for FPC 2.2.4 for WinCE
git-svn-id: trunk@24956 -
2010-04-26 08:31:15 +00:00
paul
3def3ea76c lcl: formatting, cleanup
git-svn-id: trunk@24706 -
2010-04-19 01:37:51 +00:00
jesus
af4bb981df tpipro, fix print preview empty pages under unix
git-svn-id: trunk@24419 -
2010-04-04 23:46:49 +00:00
paul
2cd1e874be lcl: remove OverrideClipping define
git-svn-id: trunk@23431 -
2010-01-13 07:17:28 +00:00
mattias
463fa5e609 LCL: fixed PolyBezier with Continuous=true
git-svn-id: trunk@23012 -
2009-12-07 12:19:31 +00:00
mattias
98cdda2155 lcl: radialpie: better param names
git-svn-id: trunk@22999 -
2009-12-06 11:51:48 +00:00
mattias
bb95f46f02 LCL: renamed some Arc parameters
git-svn-id: trunk@22966 -
2009-12-04 15:48:55 +00:00
paul
bf3f2167d6 lcl: cleanup
git-svn-id: trunk@20908 -
2009-07-20 14:36:23 +00:00
paul
cfa6393564 lcl: fix TCanvas.DoLine
git-svn-id: trunk@20506 -
2009-06-08 06:05:00 +00:00
mattias
a465012659 LCL: TCanvas: removed LineTo, MoveTo, using DoLineTo and DoMoveTo instead
git-svn-id: trunk@20479 -
2009-06-06 15:51:39 +00:00
mattias
8e4bea4234 LCL: TCanvas: added LineTo(p: TPoint)
git-svn-id: trunk@20477 -
2009-06-06 15:34:46 +00:00
paul
119c2796bf lcl: use Screen.SystemFont for TCanvas.TextRect
git-svn-id: trunk@20285 -
2009-05-28 14:23:19 +00:00
paul
385d9cdf40 win32: implement winapi GradientFill function (strange that it is implemented for gtk only)
git-svn-id: trunk@20037 -
2009-05-19 04:36:37 +00:00
paul
59813c403f lcl: formatting
git-svn-id: trunk@20035 -
2009-05-19 03:30:36 +00:00
vincents
040222e329 LCL: Canvas.GradientFill covers the same area as Canvas.FillRect (issue #13636)
git-svn-id: trunk@19798 -
2009-05-04 12:34:05 +00:00
paul
6df88346a1 lcl: fix TCanvas.SetClipping, check Clipping in SetClipRect (issue #0013418)
git-svn-id: trunk@19742 -
2009-05-01 15:35:49 +00:00
vincents
b38eb5e49d LCL: fixed compilation of TCanvas.GetClipping with fpc < 2.3.1
git-svn-id: trunk@19690 -
2009-04-29 11:32:11 +00:00
paul
76a007d97f lcl: implement TCanvas.SetClipRect, TCanvas.GetClipping, TCanvas.SetClipping (with help of Benito van der Zander, can be used with fpc < 2.3.1 or with 2.3.1 >= r13057 #de83088a7d, issue #0013418)
git-svn-id: trunk@19687 -
2009-04-29 09:31:48 +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
058c9c7149 lcl: implement TCanvas.TryLock (fixes part of issue #0008380)
git-svn-id: trunk@19047 -
2009-03-20 17:46:12 +00:00
sekelsenmat
80be9b456a Initial implementation for restricting the visible part of a window to a region, also known as shaped windows. qt-only at the moment.
git-svn-id: trunk@18663 -
2009-02-13 14:09:05 +00:00
paul
81fe22f744 lcl: formatting
git-svn-id: trunk@18549 -
2009-02-04 04:00:16 +00:00
marc
c8855d51da + Added flags to allow TLazIntfImage initialize description in creation
* replaced existing calls to create TLazIntfImage without description since it is set later (default works too, but might change).
* Enabled palette support for descriptions without palette

git-svn-id: trunk@17407 -
2008-11-16 15:27:37 +00:00
paul
36ed21e333 lcl: add TCanvas.AntialiasingMode
qt: implement DCSetAntialiasing

git-svn-id: trunk@17392 -
2008-11-14 17:42:56 +00:00
paul
7e1fb92a72 gtk, gtk2: implement ExtCreatePen
git-svn-id: trunk@17128 -
2008-10-24 15:10:58 +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
paul
d6593ebca1 gtk, gtk2: fix clipping rect of newly created bitmap (#0012026)
git-svn-id: trunk@16535 -
2008-09-11 01:17:14 +00:00
paul
440cd971b6 lcl: better protect GradientFill from dummy rect
git-svn-id: trunk@16530 -
2008-09-10 23:18:19 +00:00
paul
593181822e lcl: protected GradientFill from dummy rect (by report from russian forum)
git-svn-id: trunk@16526 -
2008-09-10 11:35:28 +00:00