Commit Graph

192 Commits

Author SHA1 Message Date
Juha
476da882fa Delete some deprecated functions. Inspired by issue #41363. 2025-01-31 13:50:35 +02:00
Bart
ca9f504a0d LCLIntf: small optimizations to LParamExtractLoHiWord and LParamHiWord as suggested by Maxim. 2023-08-27 22:23:12 +02:00
Bart
c70e6b3297 LCLIntf: add helper functions to extract Lo and Hi words of LPARAM type. 2023-08-27 10:26:24 +02:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Juha
f3afdc8d50 LCL: Add a wrapper for Types.OffsetRect() into LCLIntf. 2023-06-07 00:45:54 +03:00
Juha
1475336c8c Remove LCLProc.OffsetRect(). Move some functions from LCLProc to GraphMath (LazUtils). 2023-06-05 15:48:01 +03:00
Martok
da8aa82003 lcl: consider compositor/DWM extended frame for snapping 2023-04-24 23:12:47 +00:00
ondrej
c52584ecb0 WS, win32: add GetDpiForMonitor
git-svn-id: trunk@53686 -
2016-12-15 08:16:09 +00:00
ondrej
be5322bd6d lcl: fix overflows in mouse messages if mouse position exceeds smallint. Issue #29766
git-svn-id: trunk@51821 -
2016-03-04 06:06:04 +00:00
sekelsenmat
0ac0499be9 Implements support for radial gradient in Qt and the LCL with capability indicator
git-svn-id: trunk@51539 -
2016-02-08 19:18:10 +00:00
mattias
3a58e4f5d4 lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50287 -
2015-11-11 13:05:03 +00:00
mattias
e2510e5ea5 lcl: inline
git-svn-id: trunk@49577 -
2015-07-30 10:05:20 +00:00
mattias
0257e85a96 LCL: MessageBox: default parameter Flags = MB_OK, bug #27510
git-svn-id: trunk@47924 -
2015-02-20 20:43:23 +00:00
mattias
c70cdd17e8 LCL: added overload for Enter/LeaveCriticalSection
git-svn-id: trunk@44235 -
2014-02-25 11:56:11 +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
beb92d26d8 LCL: formatting
git-svn-id: trunk@40930 -
2013-04-29 15:32:22 +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
zeljko
56ebfa15cc LCL: fixed %MainUnit name in winapih.inc
git-svn-id: trunk@31417 -
2011-06-27 14:01:10 +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
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
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
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
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
859e98e674 lcl: formatting
git-svn-id: trunk@20422 -
2009-06-05 08:13:38 +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
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