\/ If you don't know what I mean \/ (Or if you're an idiot but still know how it works)
(Layers as in, for example; I made one image that has transparent spots, and I have another image in the same location. If the image with transparent spots is "over" the other image, then of course you wouldn't see the other image. You would however see the image "under" it because it has some transparent spots.)
Dialogs appear on top of each other in the order they were created last to first (last one on top, first one on bottom).
Within a dialog, dialog items (including images) appear on top of each other in the same order (last created on top, first created on bottom).
So, in order to put an image with transparent parts on top of another image, you would just create them both in the same dialog, and create the one with transparency second.
Or you could create them inside of a panel and then actually specify the render priority (which lets you specify which is on top).
Edit: Additionally, you could create transparency using the alpha channel property. (Or just build it into the image).
I only have experience in working with dialogs using triggers (both creating them and manipulating them). You can work with predefined xml-frames which is a bit different.
*
Dialogs consist of Dialogs and Dialog Items.
All dialog items (images, labels, buttons etc.) are placed inside Dialogs. The Dialog is clipping the images so that the stuff that won't fit will not be rendered. You can set the background of the dialog to an image with transparent pixels.
You can't create groups of dialog items and use them as layers. You will need custom scripting with a handle (variable or frame-id) for each item and then manipulate them one by one. When you create a new item and add it to a Dialog, it will be put on top. So start with the bottom and work your way up.
When you manipulate a Dialog, all it's contents (the dialog items) will be affected. Thus, this could be used as a layer-feature.
The transparency of Dialog Items can not be manipulated. However, the transparency of Dialogs can. So to dynamically manipulate the transparency of each image you will need to put them into a unique Dialog.
Also, note that black pixels sometimes counts as transparent, depending on how you choose to render the image. If the method of rendering is "additive" black pixels will be transparent too, since they will add the pixel values (0,0,0).
@Doubleclick123: Go
So, in order to put an image with transparent parts on top of another image, you would just create them both in the same dialog, and create the one with transparency second.
What if they were two different dialogs? (Both dialogs having an image but have a transparent background.)
And maybe you guys misinterpreted my question a bit. I already have transparent images, I'm just wondering how I would manipulate them to ensure that the image with no transparency appears "behind" the image that has transparency. I'm not asking for literal layers, just wondering how this works out.
So how do layers work in dialogs?
\/ If you don't know what I mean \/ (Or if you're an idiot but still know how it works) (Layers as in, for example; I made one image that has transparent spots, and I have another image in the same location. If the image with transparent spots is "over" the other image, then of course you wouldn't see the other image. You would however see the image "under" it because it has some transparent spots.)
Thanks in advance :D.
@Doubleclick123: Go
Dialogs appear on top of each other in the order they were created last to first (last one on top, first one on bottom).
Within a dialog, dialog items (including images) appear on top of each other in the same order (last created on top, first created on bottom).
So, in order to put an image with transparent parts on top of another image, you would just create them both in the same dialog, and create the one with transparency second.
Or you could create them inside of a panel and then actually specify the render priority (which lets you specify which is on top).
Edit: Additionally, you could create transparency using the alpha channel property. (Or just build it into the image).
@Doubleclick123: Go
I only have experience in working with dialogs using triggers (both creating them and manipulating them). You can work with predefined xml-frames which is a bit different.
*
Dialogs consist of Dialogs and Dialog Items.
All dialog items (images, labels, buttons etc.) are placed inside Dialogs. The Dialog is clipping the images so that the stuff that won't fit will not be rendered. You can set the background of the dialog to an image with transparent pixels.
You can't create groups of dialog items and use them as layers. You will need custom scripting with a handle (variable or frame-id) for each item and then manipulate them one by one. When you create a new item and add it to a Dialog, it will be put on top. So start with the bottom and work your way up.
When you manipulate a Dialog, all it's contents (the dialog items) will be affected. Thus, this could be used as a layer-feature.
The transparency of Dialog Items can not be manipulated. However, the transparency of Dialogs can. So to dynamically manipulate the transparency of each image you will need to put them into a unique Dialog.
Also, note that black pixels sometimes counts as transparent, depending on how you choose to render the image. If the method of rendering is "additive" black pixels will be transparent too, since they will add the pixel values (0,0,0).
What if they were two different dialogs? (Both dialogs having an image but have a transparent background.)
And maybe you guys misinterpreted my question a bit. I already have transparent images, I'm just wondering how I would manipulate them to ensure that the image with no transparency appears "behind" the image that has transparency. I'm not asking for literal layers, just wondering how this works out.
@Doubleclick123: Go
Just create the dialog that contains the transparent image last.
@MasterWrath: Go
Thanks :). Much appreciated