Commit Graph

249 Commits

Author SHA1 Message Date
mattias
bcd4138db4 lcl: fixed compile with fpc 3.3.1 2023-11-02 18:24:49 +01:00
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Ondrej Pokorny
f0e459f047 FPC: Extend System.UITypes 2022-12-22 15:07:14 +01:00
Sven Barth
53fe133e43 * for FPC 3.2.3 and newer alias GraphType.TGraphicsColor to System.UITypes.TColor, Graphics.PColor to System.UITypes.PColor and LCLType.COLORREF to System.UITypes.TColorRef to avoid type conflicts when both System.UITypes and the LCL units are used
Merge request freepascal.org/lazarus/lazarus!46 with minor change (enabled aliasing for FPC 3.2.3 too).
2021-11-16 00:27:36 +03:00
Maxim Ganetsky
a4bb9309b7 LCL: actually show to user deprecated messages for VK_LCL_OPEN_BRAKET and VK_LCL_CLOSE_BRAKET constants 2021-10-20 23:54:21 +03:00
Juha
14304e8180 LCL: Fix typos in virtual key constants. Issue #39434, patch by Don Siders. 2021-10-20 23:02:41 +03:00
ondrej
4e0d02024d LCLType: enable DT_HIDEPREFIX and DT_PREFIXONLY - even if they are ToDos on non-Windows platforms
git-svn-id: trunk@64174 -
2020-12-06 09:46:04 +00:00
mattias
73c5d18d53 lcl: comments
git-svn-id: trunk@60924 -
2019-04-11 11:22:26 +00:00
juha
a14d6e5c9a LCL: Change constant $20000000 to MK_ALT. Issue #34481, patch from AlexeyT.
git-svn-id: trunk@59393 -
2018-10-30 11:04:08 +00:00
juha
9bf572e8e2 LCL: Define the old CLX colors only with "DefineCLXColors". They have been deprecated forever.
git-svn-id: trunk@59193 -
2018-09-30 15:24:34 +00:00
michl
2e8e4271b5 LCL: Listview: Add some missing notifications.
git-svn-id: trunk@57769 -
2018-05-02 20:31:48 +00:00
ondrej
f651d8df78 lcl: add SM_REMOTESESSION constant
git-svn-id: trunk@57304 -
2018-02-16 10:46:56 +00:00
ondrej
90f22ba7fd LCL: High-DPI ImageList: LCL runtime and win32
git-svn-id: branches/HiDPIImageList@57039 -
2018-01-10 12:46:42 +00:00
juha
3f7ccb5d63 LCL: Delete the pcfDelphi* and pcfKylix* clipboard formats. Issue #27194.
git-svn-id: trunk@56488 -
2017-11-24 18:02:15 +00:00
wp
e9e34f5965 LCL: Remove predefined clipboard format pcfDelphiBitmap (obsolete).
git-svn-id: trunk@56434 -
2017-11-18 13:18:41 +00:00
juha
10b7f2d141 LCL: Fix CF_Text and CF_BITMAP for Clipboard. Issue #27194, patch from AlexeyT.
git-svn-id: trunk@56423 -
2017-11-17 08:17:14 +00:00
ondrej
0cd8ed04e5 LCL: combobox, listbox: fix drawing of customdrawn items. Change TOwnerDrawStateType.odPainted to odBackgroundPainted
git-svn-id: trunk@55304 -
2017-06-10 11:43:19 +00:00
zeljko
dc36528c42 LCL: Implemented ETO_RTLREADING for TCanvas.TextOut(). issue #30514
git-svn-id: trunk@53825 -
2017-01-01 12:04:11 +00:00
ondrej
c52584ecb0 WS, win32: add GetDpiForMonitor
git-svn-id: trunk@53686 -
2016-12-15 08:16:09 +00:00
ondrej
0b202568c5 lcl: lcltype: check for same nNumerator and nDenominator value in MulDiv.
git-svn-id: trunk@53579 -
2016-12-06 18:51:24 +00:00
juha
e3d76eb840 LCL: Simplify LCLType a little. Issue #30996, patch from AlexeyT.
git-svn-id: trunk@53434 -
2016-11-24 10:03:26 +00:00
ondrej
03766b3e7f lcl: use ssDouble, ssTriple and ssQuad in MouseUp handlers
git-svn-id: trunk@51570 -
2016-02-10 15:35:03 +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
16ca8935b5 lcl: added SM_LCLHasFormAlphaBlend to GetSystemMetrics, added OnDrawDockImage, when widgetset supports alphablend use a transparent hint window for dock (preview) image, patch #29426
git-svn-id: trunk@51340 -
2016-01-19 17:15:03 +00:00
mattias
4df64d0c65 lcl: changed tagBITMAPCOREHEADER and tagBITMAPINFOHEADER to packed, they are used to read .bmp files
git-svn-id: trunk@48567 -
2015-04-01 09:15:55 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
juha
54f7e2e148 IPro, TIpHtmlPanel: Support color printers. Issue #27420, patch from Michl.
git-svn-id: trunk@47652 -
2015-02-08 18:05:37 +00:00
bart
77aeb483c6 LCL: Implement TCustomCheckbox.Alignment (Windows only), partly resolves issue #0012343.
git-svn-id: trunk@46963 -
2014-11-22 14:38:26 +00:00
bart
409cedc9c4 LCL: Implement TCustomEdit.NumbersOnly property.
Currently only effective on Windows.

git-svn-id: trunk@43678 -
2014-01-09 13:36:11 +00:00
bart
5ee42804bb LCLType: Fix typo: MB_ICONASTERICK -> MB_ICONASTERISK
git-svn-id: trunk@43532 -
2013-12-10 21:59:45 +00:00
mattias
fe0a06d109 LCL: fixed check for unicode widestring, patch from FPK
git-svn-id: trunk@42308 -
2013-08-04 10:06:07 +00:00
juha
1552d8b462 LCL: define Windows compatible PInt in LCLType.
git-svn-id: trunk@42169 -
2013-07-21 19:46:33 +00:00
mattias
bf6d88f9ad LCL: comment
git-svn-id: trunk@41672 -
2013-06-10 22:57:50 +00:00
mattias
822ca4c2e1 LCL: changed INVALID_HANDLE_VALUE from 0 to LCLType.Handle(-1), -1 is the Windows value
git-svn-id: trunk@41517 -
2013-06-03 17:40:58 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
9c52d04a00 lcl: comment
git-svn-id: trunk@39578 -
2012-12-18 12:48:34 +00:00
mattias
68fe7a297a lcl: added mb_help
git-svn-id: trunk@38626 -
2012-09-12 21:52:59 +00:00
sekelsenmat
d2843b0d5c LCL-CustomDrawn-Android: Fixes a bug which prevented input of numbers in Android 4 and overall improves the key events for all devices
git-svn-id: trunk@37252 -
2012-05-11 07:54:39 +00:00
paul
d6e2a77af5 lcl:
- replace old SIZENORMAL, SIZEICONINC, ... constants with SIZE_RESTORED, SIZE_MINIMIZED
  - add new SIZE_FULLSCREEN constant to support wsFullScreen state

git-svn-id: trunk@36432 -
2012-03-30 01:05:10 +00:00
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
zeljko
3068129128 LCL: added SM_LCLMAXIMIZEDWIDTH and SM_LCLMAXIMIZEDHEIGHT to system metrics rules to get accurate size of maximized window until we fix difference between forms frame rect and client rect. issue #21119
git-svn-id: trunk@36106 -
2012-03-17 10:46:34 +00:00
sekelsenmat
179972fb78 Starts TCDComboBox implementation, with a native routine for an eventual native item choose popup/dialog
git-svn-id: trunk@35641 -
2012-03-01 15:30:26 +00:00
zeljko
41db03219e LCL: lcltype: added LVN_ODCACHEHINT,LVN_ODSTATECHANGED and LVN_ODFINDITEM to start proper implementation of TCustomListView.OwnerData
git-svn-id: trunk@35260 -
2012-02-09 08:38:45 +00:00
sekelsenmat
2ef6d922c8 Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
sekelsenmat
1b5dde8f63 Makes the decition to prefix all VK_ constants which are exclusive of the LCL with VK_LCL_
git-svn-id: trunk@34846 -
2012-01-21 17:09:21 +00:00
sekelsenmat
6be7642595 Android: Converts all key codes from the Android SDK. Adds more keys to the Android keyboard support
git-svn-id: trunk@34779 -
2012-01-18 15:11:04 +00:00
sekelsenmat
c532802420 Moves SendNotification to WSControls, moves all accessibility types to Controls, starts changing TTreeView to use selected text changed messages instead of child objects. TTreeView accessibility not yet working in Carbon
git-svn-id: trunk@34769 -
2012-01-18 08:29:35 +00:00
sekelsenmat
07b94b092f Now connects setting the accessible fields to LCLIntf via TControl.SetAccessibleFields and starts the carbon accessibility fields implementation
git-svn-id: trunk@34689 -
2012-01-09 19:23:10 +00:00
sekelsenmat
5b98ba7981 Upgrades the Accessibility structure to support roles, name, description and more easily extensible notifications
git-svn-id: trunk@34678 -
2012-01-09 13:25:26 +00:00