Please enable JavaScript to view this site.

KOL/MCK - User Guide

BkColor - background color, used for opaque drawing of transparent images from the list, in place of transparent areas;

BlendColor - the color that is blended with the color of the images, in the so-called "blended" drawing of the image;

DrawingStyle - style of drawing images from the list (built as a combination of possible flags "transparent", "by mask", "with 50% BlendColor blending", "25% BlendColor blending");

Draw(DC, X, Y, i) - draws an image with index i from the list to the specified DC context from the specified coordinate, while drawing the current drawing style DrawingStyle is used;

StretchDraw(DC, R, i) - similar to the previous one, but drawing is performed with scaling, and the image "fits" into the specified rectangle;

 

Running a little ahead, it should be said that the Mirror Classes Kit has a mirror component for representing a TImageList (the mirror is called TKOLImageList). You can put it on the form from the palette of components, and set its properties. As well as for the VCL TImageList component, double-clicking on this component calls its editor, where you can edit the list of images by loading the desired images from the image files.

 

An important feature of the mirrored TKOLImageList object is its ability to save application size. The general picture for the list of icons is saved in the application resources in the most compact format, in which all the colors present are preserved. That is, even if you used True Color for thumbnails, but the total number of colors does not exceed 256, 16 or 2, then the corresponding format 8, 4 or 2 bits per pixel will be used to store the final image (with a palette ). And if all the colors present contain 0 in the least significant bits (in 3 bits for the R and B channels, and in 2 bits for the G channel), then the 16 bits per point format will automatically be used.

 

KOL / MCK User Guide - Created by Carl Peeraer - Diamant Soft, based on the work of Vladimir Kladov - Artwerp.be

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC