Thread: Graal3 GUI
View Single Post
  #19  
Old 10-03-2005, 05:53 PM
Torankusu_2002 Torankusu_2002 is offline
'been round.
Torankusu_2002's Avatar
Join Date: Nov 2001
Posts: 1,246
Torankusu_2002 is on a distinguished road
Quote:
Originally Posted by Stefan
Update for profiles:
You can change the color of a gui object without creating a new profile now:

PHP Code:
new GuiTextCtrl("MyText") {
  
100;
  
profile "GuiTextProfile";
  
useownprofile true;
  
profile.fontColor = {0,0,255};

When setting "useownprofile = true" then the gui object will create a new profile, copying the existing profile you have specified. All further profile modifications will only affect the current gui object. In this example it is setting the font color to "blue".
Sorry, this is almost a month old, but, your example breaks down like this:

-new GuiTextCtrl("the text file the player has edited goes here") ?
profile = "GuiTextProfile"; --this is where you specify the profile to copy?

Do you have to create the new profile.txt, or will it just take the existing one and use it, but replace the images?

Where do you put these images and .txt files online and offline?
__________________
torankusu's
Reply With Quote