PDA

View Full Version : GuiBackgroundCtrl


projectigi
03-30-2006, 11:43 PM
Hi,

how to use it?

[...]
new GuiBackgroundCtrl(FromBG){
profile="GuiControlProfile";
x=40;
y=30;
height=20;
width=60;
}
[...]


dont works...

Ajira
04-01-2006, 10:23 PM
Maybe profile should be "GuiBackgroundProfile"...?

ApothiX
04-02-2006, 10:04 AM
The way it's placed in scriptfunctions_client looks like it has to do with bitmaps. Are you even sure what kind of control it is? Try doing something like bitmap = "block.png";

projectigi
04-02-2006, 10:57 AM
No I don't. But on the Name I would say Background eh?

Warcaptain
04-03-2006, 08:47 PM
Is it possible this is for backtile images, ie: behind the GraalControl?

Skyld
04-03-2006, 09:41 PM
Is it possible this is for backtile images, ie: behind the GraalControl?
GuiBackgroundCtrl is used in the Scripted RC. I guess you could draw it behind the GraalControl to stop the unrefreshed area behind it from being displayed.

Warcaptain
04-03-2006, 10:44 PM
Hmn, maybe it would allow transparency or alpha on layer 0

Er1c
04-04-2006, 01:15 AM
new GuiBitmapCtrl(name) {
x = 0;
y = 0;
width = 200;
height = 100;
bitmap = "imageName.png/gif/mng/etc";
wrap = true;
}

Bitmap controls display an image the entire width/height of the control. If wrap is true, it tiles the image, if not, the image is stretched.

Warcaptain
04-04-2006, 06:09 AM
The thread was about GuiBACKGROUNDctrl
noob <3

Er1c
04-05-2006, 03:13 AM
I dont read so good