Commit Graph

208 Commits

Author SHA1 Message Date
mattias
3a58e4f5d4 lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50287 -
2015-11-11 13:05:03 +00:00
juha
bd959215d1 Fix more uninitialized variables.
git-svn-id: trunk@48458 -
2015-03-22 22:39:33 +00:00
juha
ca7b733531 LCL: Implement CharUpperBuff function. Issue #24493, patch from Stephano
git-svn-id: trunk@42580 -
2013-09-03 23:49:23 +00:00
paul
292d526fc0 lcl: move LoadIcon, LoadCursor, LoadBitmap to LCLIntf to prevent name clashing with Windows unit (issue #0024222)
git-svn-id: trunk@41817 -
2013-06-23 12:29:11 +00:00
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
juha
7b19e58f07 LCL: Implement function SetRectRgn for Windows and Gtk(2). Issue #23288, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39263 -
2012-11-07 22:56:59 +00:00
juha
32fa5fe6c5 LCL: Implement function EqualRgn for Windows and Gtk(2). Issue #23287, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39262 -
2012-11-07 22:56:49 +00:00
juha
2f0ee470cb LCL: Implement function PaintRgn for Windows and Gtk(2). Issue #23286, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39261 -
2012-11-07 22:53:54 +00:00
juha
2ed0e7a34c LCL: implement PtInRegion for GTK2 and RectInRegion for all widgetsets properly
git-svn-id: trunk@39160 -
2012-10-25 00:19:00 +00:00
juha
ad5eed1a72 LCL: Implement a platform independent RectInRegion. Code presented at forum by vcunha.
git-svn-id: trunk@39156 -
2012-10-23 20:01:18 +00:00
sekelsenmat
3116f5214a Patch from bug #20611: Changes GetRGBValues into having out parameters instead of var parameters
git-svn-id: trunk@33608 -
2011-11-18 10:32:16 +00:00
sekelsenmat
1805877800 Fixes region applying for Gtk2 for TForm, implements CreateEllipticRgn in gtk2 and gives better parameter names to this routine
git-svn-id: trunk@31817 -
2011-07-28 12:17:07 +00:00
paul
5e7c2ab4d6 qt: reimplement GradientFill rectangle gradients using Gradient class instead of multiple brush drawing
git-svn-id: trunk@30969 -
2011-05-30 07:56:17 +00:00
zeljko
b531c7e6c8 LCL: Fixed %MainUnit lclintf.pp -> lclintf.pas
git-svn-id: trunk@30606 -
2011-05-07 17:55:54 +00:00
paul
723143ddc3 lcl: formatting
git-svn-id: trunk@29848 -
2011-03-15 04:33:24 +00:00
paul
7a9b188e2c lcl, win32, wince, qt, gtk2, carbon: implement OffsetRGN winapi compatible function
git-svn-id: trunk@29697 -
2011-03-01 07:37:42 +00:00
sekelsenmat
75192fa3f6 Fixes drawing of arcs in Windows with negative length and updates the parameter names in LCLIntf.Arc to the correct names which fully describes a arc: startangle and length
git-svn-id: trunk@29633 -
2011-02-21 11:07:26 +00:00
mattias
c7d2d778a0 LCL: TSpeedButton: started AutoSize, added parameter Drawing to GetGlyphSize and GetTextSize
git-svn-id: trunk@29122 -
2011-01-19 12:53:12 +00:00
paul
fbb6de98da lcl: formatting
git-svn-id: trunk@28953 -
2011-01-11 08:50:02 +00:00
mattias
cdabc1ddbf LCL: removed duplicate IntersectRect
git-svn-id: trunk@27870 -
2010-10-26 07:37:49 +00:00
mattias
584dd6f786 LCL: combined duplicate code IntersectRect
git-svn-id: trunk@27848 -
2010-10-25 08:32:44 +00:00
blikblum
d2ab60647a lcl,win32: implement GetBkColor. Issue #14792
git-svn-id: trunk@27388 -
2010-09-16 19:02:43 +00:00
blikblum
2b652bd86c lcl/win32: Add GetCurrentObject. Implement under win32. Part of 14792
git-svn-id: trunk@26256 -
2010-06-22 17:03:04 +00:00
paul
256161bfc7 lcl: add LPtoDP - symmetrical to DPtoLP winapi compatibility method
win32: implement LPtoDP, DPtoLP
qt: implement LPtoDP

git-svn-id: trunk@25236 -
2010-05-07 07:08:43 +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
676c706e5c lcl, win32: implement loading icon,cursor from an icon handle (HICON) (GetInfoInfo needs to be implement for other widgetsets to support on other platforms), issue #0016356
git-svn-id: trunk@25024 -
2010-04-28 08:52:16 +00:00
zeljko
caf4b2dd3f LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +00:00
paul
458567979d lcl: add delphi compatible GetWindowOrgEx declaration
git-svn-id: trunk@24139 -
2010-03-21 13:08:52 +00:00
paul
d6ffb794fb lcl: further work on TWinControl.ParentWindow:
- implement LCLIntf.SetParent for win32, wince and qt
  - implement TWinControl.SetParentWindow

git-svn-id: trunk@23846 -
2010-03-06 19:40:29 +00:00
marc
eae138c2f6 * winapi: added GetDoubleClickTime, RedrawWindow, SubtractRect as part of lclextentions integration
git-svn-id: trunk@23550 -
2010-01-24 18:06:08 +00:00
marc
3b40a09076 * winapi: moved winapi macros to winapi includes (so they don't get added twice)
git-svn-id: trunk@23545 -
2010-01-24 15:59:28 +00:00
marc
e621d5cbfb * winapi: added missing CharLowerBuff implementation
git-svn-id: trunk@23479 -
2010-01-17 18:44:13 +00:00
marc
b6e66de015 * moved CharLower/Upper functions to winapi inc files
git-svn-id: trunk@23478 -
2010-01-17 18:33:50 +00:00
marc
20448170ae + WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
marc
be2b1f708f * Restored alpabetical order. confuses apiwizz
git-svn-id: trunk@23364 -
2010-01-03 19:29:00 +00:00
sekelsenmat
5509fc02c5 Implements LCLIntf.CreateRoundRectRgn purely with other LCL routines, using CreateRectRgn, CreateEllipticRgn and CombineRgn. Also fixes a crash in LCL-Qt
git-svn-id: trunk@23359 -
2010-01-03 14:49:46 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
vincents
5e79f9ef5b LCL: fixed compilation on Mac OS X, there is a procedure Move(dh: SInt16; dv: SInt16) in the unit MacOSAll
git-svn-id: trunk@22054 -
2009-10-06 08:04:26 +00:00
paul
00ec699a6e lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
paul
72b7bf8ca6 lcl: add IsIconic, IsZommed win32 compatibility functions
git-svn-id: trunk@21711 -
2009-09-15 09:34:41 +00:00
paul
59813c403f lcl: formatting
git-svn-id: trunk@20035 -
2009-05-19 03:30:36 +00:00
paul
f977ee640b lcl: update font on Height change. Change the size only is not correct since LogFont contains lfHeight = Height. fixes bug #0013727
git-svn-id: trunk@20010 -
2009-05-17 13:57:24 +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
752897afdc lcl: further monitor support
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
  - add TForm.Monitor
win32: add support for new TScreen methods

git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
3a19dfff75 lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo

git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +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
63f262a089 lcl: formatting
git-svn-id: trunk@18394 -
2009-01-23 10:20:08 +00:00
tombo
c5e876817b LCL:
* SetScrollInfo - return new position
* SetScrollPos - return previous position

git-svn-id: trunk@17173 -
2008-11-01 17:24:46 +00:00
paul
3461ad0f49 lcl: start ExtCreatePen function to allow pen creation with different cap style, join style, and pattern
qt: start implementation of ExtCreatePen

git-svn-id: trunk@17119 -
2008-10-24 09:29:53 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00