Commit Graph

465 Commits

Author SHA1 Message Date
Sven Barth
9766005317 * 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).

(cherry picked from commit 53fe133e43)
2021-11-16 00:40:47 +03:00
Marc
be59761cc4 LCL: Return TSharedCustomBitmap as shared image class. TCustomBitmap assumes this as a descendant
(cherry picked from commit 4918dc89b0)
2021-10-12 22:15:35 +02:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
mattias
f3603ca4db lcl: less warnings
git-svn-id: trunk@64087 -
2020-10-29 22:31:29 +00:00
juha
6a5c733584 LCL: Fix FPC_FullVersion text for FPC 3.0.4. Now 30004, was 30400.
git-svn-id: trunk@62703 -
2020-03-07 20:31:32 +00:00
ondrej
a1a3a98062 LCL: Graphics: DefFontData is to be changed, declare it as var
git-svn-id: trunk@62554 -
2020-01-14 16:37:10 +00:00
ondrej
cb399a6260 revert r62550 #e254ce3acb
git-svn-id: trunk@62553 -
2020-01-14 16:32:58 +00:00
ondrej
e254ce3acb LCL: move IsFontNameDefault from LCLProc to Graphics to resolve the default font name dependency
git-svn-id: trunk@62550 -
2020-01-14 14:37:28 +00:00
juha
b46b72fb2b LCL: Remove deprecated function FontCanUTF8. All widgetsets returned True, including GTK(2) and QT(5). Not implementing it caused bugs.
git-svn-id: trunk@62425 -
2019-12-20 17:45:44 +00:00
wp
07e7174b8d LCL: Fix Delphi compatibility of PolyBezier (default value of Continuous argument). Issue #36442, patch by CudaText man).
git-svn-id: trunk@62404 -
2019-12-15 22:55:36 +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
wp
9deac7b246 LCL: Fix compilation issue with fpc 3.0.2 (TJpegImage.GrayScale).
git-svn-id: trunk@59059 -
2018-09-17 23:41:41 +00:00
wp
4d63f89b51 LCL: Activate TJpegImage.ProgressiveEncoding and .Smoothing (issue #30408, patch by Nur Cholif Murtadho).
git-svn-id: trunk@59055 -
2018-09-17 22:27:03 +00:00
wp
5ba5831cbe LCL: Activate TJpegImage.MinHeight and .MinWidth (issue #30408, patch by Nur Cholif Murtadho)
git-svn-id: trunk@59054 -
2018-09-17 21:50:15 +00:00
wp
e10a3065f6 LCL: Activate fast reading of scaled jpeg images (issue #30408, patch by Nur Cholif Murtadho)
git-svn-id: trunk@59053 -
2018-09-17 21:32:19 +00:00
wp
17269a3edf LCL: Activate writing of grayscale JPEG images. (Issue #30408, patch by Nur Cholif Murtadho)
git-svn-id: trunk@59052 -
2018-09-17 21:27:13 +00:00
wp
c0c477a971 LCL: Changeable jpeg compression quality, add TJpegImage.Compress (issue #30408, patch by Nur Cholif Murtadho)
git-svn-id: trunk@59051 -
2018-09-17 21:19:59 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
mattias
f26b2705cf lcl: removed comment
git-svn-id: trunk@57749 -
2018-04-30 16:39:45 +00:00
mattias
735db56c27 lcl: graphics: removed comment, too similar to Kylix
git-svn-id: trunk@57688 -
2018-04-23 12:26:32 +00:00
mattias
03aaab4158 lcl: graphics: removed comment, too similar to Kylix
git-svn-id: trunk@57687 -
2018-04-23 12:13:43 +00:00
ondrej
de98dc8a6f LCL: Icon: sort
git-svn-id: trunk@57178 -
2018-01-29 09:29:42 +00:00
mattias
f1f6d63834 LCL: added flag -dDisableLCLPNM
git-svn-id: trunk@56919 -
2018-01-02 11:22:01 +00:00
mattias
67369fd401 LCL: added flag -dDisableLCLPNM
git-svn-id: trunk@56918 -
2018-01-02 11:12:59 +00:00
mattias
9f704743c9 LCL: added flag -dDisableLCLGIF
git-svn-id: trunk@56917 -
2018-01-02 11:09:37 +00:00
mattias
4973871dad LCL: added flag -dDisableLCLTIFF
git-svn-id: trunk@56916 -
2018-01-02 11:07:49 +00:00
mattias
b89efa53dc LCL: added flag -dDisableLCLJPEG
git-svn-id: trunk@56915 -
2018-01-02 11:06:27 +00:00
ondrej
ddc1dcd643 lcl: graphics: make FindGraphicClassWithFileExt class function
git-svn-id: trunk@55100 -
2017-05-26 12:08:52 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
ondrej
1b57bc9ee8 LCL: TFont: add TFont.PixelsPerInch setter - the Height/Size ratio wasn't correct after change of PixelsPerInch.
git-svn-id: trunk@54209 -
2017-02-20 13:53:32 +00:00
bart
f5c261f560 LCL: start implementing AllocPatternBitmap function (Delphi compatibility). Resolves Issue #0010587.
git-svn-id: trunk@53926 -
2017-01-11 13:30:07 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
sekelsenmat
ff2d42d829 Some time ago we decided (in the mailling list) against using reference instead of handle
git-svn-id: trunk@52715 -
2016-07-19 13:21:51 +00:00
juha
d16215576d LCL: Change the TFontStyle item order to match with Delphi. Issue #30224.
git-svn-id: trunk@52437 -
2016-06-04 09:12:28 +00:00
mattias
2b3e6ffe55 LCL: deprecated hint
git-svn-id: trunk@47824 -
2015-02-16 11:54:18 +00:00
mattias
3c23ec9722 lcl: TGraphic: unicode file names
git-svn-id: trunk@46811 -
2014-11-12 18:54:56 +00:00
juha
54e3e1bcf2 LCL: Implement TCursorImage.SetHotSpot. Issue #26945, patch from Denis Kozlov.
git-svn-id: trunk@46685 -
2014-10-26 20:36:37 +00:00
juha
27f7ed9453 LCL: Implement TCanvas.AngleArc. Issue #7290, patch from ocean.
git-svn-id: trunk@46262 -
2014-09-20 08:37:15 +00:00
juha
97c1246eea LCL: Add ArcTo function to TCanvas class. Issue #7230, patch from Howard Page-Clark
git-svn-id: trunk@46246 -
2014-09-17 16:30:32 +00:00
mattias
fe227ded7f LCL: fixed GetDefaultColor for TStaticText, TNoteBook, TTabSheet, TGroupBox, bug #26535
git-svn-id: trunk@46021 -
2014-08-06 16:54:36 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
paul
2dd21044bd lcl: a trial to fix wince compilation (issue #0025512)
git-svn-id: trunk@43697 -
2014-01-11 03:25:31 +00:00
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00
paul
bf7f0f68bf lcl: add overload for TPicture.LoadFromResourceName which allows to skip graphic class
git-svn-id: trunk@43126 -
2013-10-06 13:35:00 +00:00
paul
4152533519 lcl: create TCustomBitmap from resource according to stream format instead of PNG only
git-svn-id: trunk@43069 -
2013-10-04 15:19:40 +00:00
paul
a6e05fc24b lcl: simplify code
git-svn-id: trunk@43068 -
2013-10-04 14:56:44 +00:00
paul
b49be32350 lcl: add an ability to create a TGraphic from resource which at the moment supports Bmp, Png, Ico and Cur resources, add an ability to add an ImageList element from resource
git-svn-id: trunk@42983 -
2013-09-27 11:46:02 +00:00
paul
102a858398 lcl, ide: redo LoadGlypFromResource to LoadGlyphFromResourceName with ability to pass an Instance handle
git-svn-id: trunk@42972 -
2013-09-27 08:44:38 +00:00
paul
449c561861 lcl: move dialog icons from Lazarus to FPC resources
git-svn-id: trunk@42962 -
2013-09-27 03:38:18 +00:00