Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-30-2006, 10:43 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
GuiBackgroundCtrl

Hi,

how to use it?
NPC Code:

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



dont works...
Reply With Quote
  #2  
Old 04-01-2006, 09:23 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Maybe profile should be "GuiBackgroundProfile"...?
__________________
Liek omigosh.

Reply With Quote
  #3  
Old 04-02-2006, 09:04 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
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";
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #4  
Old 04-02-2006, 09:57 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
No I don't. But on the Name I would say Background eh?
Reply With Quote
  #5  
Old 04-03-2006, 07:47 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Is it possible this is for backtile images, ie: behind the GraalControl?
Reply With Quote
  #6  
Old 04-03-2006, 08:41 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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.
__________________
Skyld
Reply With Quote
  #7  
Old 04-03-2006, 09:44 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Hmn, maybe it would allow transparency or alpha on layer 0
Reply With Quote
  #8  
Old 04-04-2006, 12:15 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
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.
__________________
Eric Kraft
Reply With Quote
  #9  
Old 04-04-2006, 05:09 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
The thread was about GuiBACKGROUNDctrl
noob <3
Reply With Quote
  #10  
Old 04-05-2006, 02:13 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
I dont read so good
__________________
Eric Kraft
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:26 AM.


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