From 12b79cfbb0e15976dc68ffb858a2bb74f7c696d4 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 7 Oct 2020 23:40:22 +0000 Subject: [PATCH] IDE, IDEImages: Add comment on how to use git-svn-id: trunk@63966 - --- components/ideintf/ideimagesintf.pas | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/ideintf/ideimagesintf.pas b/components/ideintf/ideimagesintf.pas index 65f12d4b10..2840a2bebd 100644 --- a/components/ideintf/ideimagesintf.pas +++ b/components/ideintf/ideimagesintf.pas @@ -72,6 +72,13 @@ type function GetImageIndex(ImageSize: Integer; ImageName: String): Integer; deprecated 'Use the other overload instead.'; function GetImageIndex(ImageName: String; ImageSize: Integer = 16): Integer; + (* Images_nn + Each list contains images according to their default size at 96 PPI. + Any specific image is ONLY present in one of the Lists (and that list also has all the scaled versions of that image) + To use an image, either + - assign IdeImages.Images_nn to the ImageList property of a component + - IdeImages.Images_nn.ResolutionForControl[NN, Control].Draw(...) // where NN is the same as nn + *) property Images_12: TLCLGlyphs read GetImages_12; property Images_16: TLCLGlyphs read GetImages_16; property Images_24: TLCLGlyphs read GetImages_24;