* replaced existing calls to create TLazIntfImage without description since it is set later (default works too, but might change).
* Enabled palette support for descriptions without palette
git-svn-id: trunk@17407 -
- don't create dummy mask for icon if image.MaskBitsPerPixel = 0
- win32: create dummy mask for icon if no mask is present since windows cannot live without any mask
- force Change at correct place of TIcon.AssignImage
- clear not only saved stream on TRasterImage.LoadFromStream but all handles too since they are not valid after loading another data to an image
git-svn-id: trunk@16397 -
- decrease visibility of Canvas property in TRasterImage from public to protected
- make property Canvas public to TCustomBitmap
git-svn-id: trunk@16293 -
- CreateCompatibleBitmaps
- separate MaskHandleNeeded of icon from BitmapHandleNeeded
- simplify TRasterImage.BitmapHandleNeeded
from me:
- fix TRawImageLineStarts.GetPosition
git-svn-id: trunk@16262 -
- MaskHandleNeeded create default mask now if TransparentMode = tmAuto and mask by color in case of TransparentMode = tmFixed
- BitmapHandleNeeded does not create mask if TransparentMode = tmFixed or MaskHandle is already present
This fixes some issues with changing of TransparentColor.
git-svn-id: trunk@16250 -
- moved some strings used in graphics to resources
- CreateDefaultBitmapHandle is not abstract and returns 0 now if not overrided.
git-svn-id: trunk@16178 -
- add RequestTransparentColor method which retrieves default transparent color from the rasterimage
- change TransparentMode setter. If mode = tmAuto then TransparentColor is changed to clDefault otherwise it requested from the rasterimage
- change TransparentColor getter. It should return real color (not clDefault) which will be used as transparent
- change TransparentColor setter. It will change TransparentMode to apropriate value depends on value of the passed color.
This all to be delphi compatible and to fix#0011903
git-svn-id: trunk@16154 -
* Fixed (un)sharing of images with incompatible share type (#11641)
* Added AssignImage to TIcon so a bitmap can be assigned to the current image. Format and dimention need to be the same
git-svn-id: trunk@16020 -