Commit Graph

122 Commits

Author SHA1 Message Date
wp_xyz
654245a39e LCL/ImageList: Fix update of images after reloading. Issue #41386, based on patch by Massimo Magnano. 2025-02-03 12:45:20 +01:00
wp_xyz
d941c2cddb LCL/ImageList, TCustomImageListResolution: Change visibility of some fields and methods. Merge request !429 by Massimo Magnano. 2025-01-29 00:53:46 +01:00
Juha
c7c643a472 LCL: Restore Handle to TCustomImageList. 2024-02-22 13:36:09 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +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
Maxim Ganetsky
79f7f1bbf2 LCL: Made TCustomImageList more extensible. Based on idea from merge request !202.
1. MarkAsChanged method (protected) is added, which sets FChanged to
true.
2. Virtual DoAfterUpdateStarted and DoBeforeUpdateEnded methods
(protected) are added. They are called in first BeginUpdate and last
EndUpdate respectively.
2023-06-19 16:11:00 +03:00
Ondrej Pokorny
a3b65673ed LCL: image list: AddMultipleResolutions with TRasterImage overload 2022-09-28 16:22:54 +02: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
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
ondrej
8c5aa34fba LCL: TLCLGlyphs: fix loading images. Issue #33826
git-svn-id: trunk@58131 -
2018-06-05 07:31:39 +00:00
ondrej
c560db1304 LCL: TLCLGlyphs: use gmrIgnoreAll as default MissingResources
git-svn-id: trunk@58130 -
2018-06-05 07:10:54 +00:00
ondrej
50dc18646e LCL: TLCLGlyphs: more options for missing resources. Use gmrOneMustExist as default.
git-svn-id: trunk@58106 -
2018-06-04 00:55:11 +00:00
ondrej
b3b0591355 LCL: imglist: introduce TScaledImageListResolution.Valid
git-svn-id: trunk@57886 -
2018-05-10 19:12:44 +00:00
ondrej
26213f037c lcl: TLCLGlyphs: fix rounding error when calculating suffixes
git-svn-id: trunk@57864 -
2018-05-09 01:36:25 +00:00
ondrej
b62e11282f LCL: imglist: improve GetDefaultGlyph - support various image formats
git-svn-id: trunk@57861 -
2018-05-09 00:41:51 +00:00
ondrej
56ba252d91 LCL: LCLGlyphs: Suffix100Scale
git-svn-id: trunk@57856 -
2018-05-08 23:02:58 +00:00
ondrej
7932ab234f LCL: LCLGlyphs: fix loading images
git-svn-id: trunk@57851 -
2018-05-08 21:39:58 +00:00
ondrej
970e191a45 LCL: LCLGlyphs: add IgnoreMissingResources
git-svn-id: trunk@57849 -
2018-05-08 20:50:40 +00:00
ondrej
2f9cdb4f2d LCL: move+rename Buttons.LCLBtnGlyphs to ImgList.LCLGlyphs
git-svn-id: trunk@57761 -
2018-05-01 13:53:54 +00:00
ondrej
6aeda4ec09 LCL: grids: use LCLBtnGlyphs for checkbox images
git-svn-id: trunk@57746 -
2018-04-30 10:59:23 +00:00
ondrej
136d996374 LCL: imglist: fix source rect handling, add slice helper functions
git-svn-id: trunk@57716 -
2018-04-26 07:42:31 +00:00
ondrej
47acd45957 LCL: image list: make TCustomImageListResolution.Draw virtual
git-svn-id: trunk@57275 -
2018-02-08 20:00:43 +00:00
ondrej
9127e92d95 lcl: image list: better scaling
git-svn-id: trunk@57247 -
2018-02-04 01:14:30 +00:00
ondrej
557b843294 LCL: high-dpi image list: support retina (for now Cocoa only)
git-svn-id: trunk@57240 -
2018-02-03 22:58:50 +00:00
ondrej
5ed36d2fae LCL: image list: add AddMultipleResolutions method
git-svn-id: trunk@57225 -
2018-02-03 10:26:00 +00:00
ondrej
a04254b3c1 LCL: image list: Replace default AllResolutions=True
git-svn-id: trunk@57224 -
2018-02-03 10:12:44 +00:00
ondrej
5493650684 lcl: imagelist: add TCustomImageList.AddSlice function. Issue #33114
git-svn-id: trunk@57207 -
2018-02-01 16:59:15 +00:00
ondrej
13e218e448 lcl: imagelist: add TCustomImageList.AddSliced function. Issue #33105
git-svn-id: trunk@57205 -
2018-02-01 13:54:08 +00:00
ondrej
215cce41c2 LCL: imglist: make TCustomImageListResolution.FData private
git-svn-id: trunk@57203 -
2018-02-01 12:38:56 +00:00
ondrej
545a00f620 LCL: image list: fix adding icons (correct size)
git-svn-id: trunk@57179 -
2018-01-29 09:43:46 +00:00
ondrej
03097f6650 LCL: High-DPI ImageList: default scaled false
git-svn-id: branches/HiDPIImageList@57163 -
2018-01-27 18:07:41 +00:00
ondrej
83f35c60b3 LCL: High-DPI ImageList: add scaled property
git-svn-id: branches/HiDPIImageList@57160 -
2018-01-27 15:51:02 +00:00
ondrej
3616a087a8 LCL: High-DPI ImageList: support compression in streaming/LFM
git-svn-id: branches/HiDPIImageList@57087 -
2018-01-14 07:23:10 +00:00
ondrej
039c7ea1bf LCL: High-DPI ImageList: reload WS image lists on resolution handle destruction (TPageControl, TListView)
git-svn-id: branches/HiDPIImageList@57073 -
2018-01-13 12:01:07 +00:00
ondrej
9f890e6f52 LCL: High-DPI ImageList: don't stream auto generated resolution
git-svn-id: branches/HiDPIImageList@57070 -
2018-01-13 07:02:30 +00:00
ondrej
454fc69b9e LCL: High-DPI ImageList: rename *ForImagePPI to *ForPPI
git-svn-id: branches/HiDPIImageList@57068 -
2018-01-13 04:25:01 +00:00
ondrej
fb66dcdbac LCL: High-DPI ImageList: don't create resolution for new image in add/insert/replace
git-svn-id: branches/HiDPIImageList@57057 -
2018-01-11 13:53:58 +00:00
ondrej
61f7a6bd86 LCL: High-DPI ImageList: fix replace methods
git-svn-id: branches/HiDPIImageList@57056 -
2018-01-11 13:22:32 +00:00
ondrej
ad9612efd5 LCL: High-DPI ImageList: imglist fixes
git-svn-id: branches/HiDPIImageList@57054 -
2018-01-11 13:16:27 +00:00
ondrej
ba1c5e5fd4 LCL: High-DPI ImageList: fix TDragImageList HotSpot
git-svn-id: branches/HiDPIImageList@57047 -
2018-01-11 05:20:17 +00:00
ondrej
9091957623 LCL: High-DPI ImageList: add TCustomImageList.RegisterResolutions method.
git-svn-id: branches/HiDPIImageList@57041 -
2018-01-10 13:13:15 +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
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
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
mattias
5c566f9437 LCL: TTreeView: set overlay if none is set
git-svn-id: trunk@42882 -
2013-09-19 18:23:23 +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
paul
62cc1885af lcl: add overlay support to imagelist and treeview (based on patch of David Jenkins, issue #0021754)
git-svn-id: trunk@36805 -
2012-04-16 05:16:43 +00:00
paul
d0ced34a84 lcl: implement TCustomImageList.GetIcon() for delphi compatibility
git-svn-id: trunk@36662 -
2012-04-09 06:58:30 +00:00
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00