View Single Post
Old 14 February 2018, 18:51   #2139
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Quote:
Originally Posted by Akira View Post
take the bitmap data and display them on whatever screen ...
Yes, do_Gadget.GadgetRender and do_Gadget.SelectRender are image structures with a data pointer to the joined image planes. You can simply create a bitmap structure and append the plane pointers (with their offsets) to that bitmap. If you want to use BltMaskBitMapRastport() to make the icon transparent over the background then call IconControlA() before with a tag ICONCTRLA_GetImageMask1/2.

PS. I'm not sure if ImageMask2 would be available without calling GetImage2 first or using my command NoDelayedImage2. (Only WB is affected)

Last edited by PeterK; 14 February 2018 at 21:18.
PeterK is offline  
 
Page generated in 0.04163 seconds with 11 queries