Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   GuiBackgroundCtrl (https://forums.graalonline.com/forums/showthread.php?t=65075)

projectigi 03-30-2006 10:43 PM

GuiBackgroundCtrl
 
Hi,

how to use it?
NPC Code:

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



dont works...

Ajira 04-01-2006 09:23 PM

Maybe profile should be "GuiBackgroundProfile"...?

ApothiX 04-02-2006 09: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 09:57 AM

No I don't. But on the Name I would say Background eh?

Warcaptain 04-03-2006 07:47 PM

Is it possible this is for backtile images, ie: behind the GraalControl?

Skyld 04-03-2006 08:41 PM

Quote:

Originally Posted by Warcaptain
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 09:44 PM

Hmn, maybe it would allow transparency or alpha on layer 0

Er1c 04-04-2006 12:15 AM

NPC Code:

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 05:09 AM

The thread was about GuiBACKGROUNDctrl
noob <3

Er1c 04-05-2006 02:13 AM

I dont read so good


All times are GMT +2. The time now is 08:19 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.