Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I have some existing code I am modifying which displays text alongside an image using an image static widget.

 

I have to modify it so that there is a background image behind the existing image. Each image is supplied as a .png, how do I layer one on top of the other to display using the image static widget?

 

(The background is not a background for all of the image static widget - just a background behind the existing image, which is a little smaller. There is no background behind the text).

You can get image widget portion of image static widget using IWidget_GetImageStaticImageWidget(), then sety BG image to it using IWidget_SetBGImage() and apply transparency using IWidget_SetTransparency() to make BG transparent.

You can get image widget portion of image static widget using IWidget_GetImageStaticImageWidget(), then sety BG image to it using IWidget_SetBGImage() and apply transparency using IWidget_SetTransparency() to make BG transparent.