Canvas Background

You need some new stunning features ? Tell us here.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Canvas Background

Post by Danilo »

How about adding the possibility of background images to ContainerGadget?

Code: Select all

SetGadgetAttribute(containerGadget,#PB_Container_Image,ImageID)
This gadget supports the SetGadgetColor() and GetGadgetColor() functions with #PB_Gadget_BackColor as type to change the gadget background.
Adding optional background image support could help with some application skinning, as the container allows to have Gadgets inside the container.

If possible, the same for ScrollAreaGadget background?

Code: Select all

SetGadgetAttribute(scrollAreaGadget,#PB_ScrollArea_Image,ImageID)
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Canvas Background

Post by IdeasVacuum »

Yes, I have used ContainerGadgets() for this type of thing too - added advantage is being able to Hide/UnHide 'tool sets' depending on the context of User actions.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply