Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-23-2011, 09:35 PM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Can anyone help me find a list of the GuiWindowCtrl and GuiBitmapBorderCtrl profiles?

The built-in ones I mean. And possibly how I can change the text color as well and use custom profiles?

I checked the wiki and these forums with no luck. I'm starting to hate the blue-text-on-blue-gui thing. It makes most text hard to read unless you move the GUI over on top of some dark-colored tiles.
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote
  #2  
Old 04-23-2011, 10:38 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
This is what you're looking for:
http://wiki.graal.net/index.php/Crea...g_GUI_Profiles

Creating a Profile Example:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
// Profiles only need to be created once.
  // Preferably in it's own -Profiles weapon. 
  // Make sure -Profiles is before other weapons that might use these profiles. 
  // (serveroptions: weaponorder=-Profiles,-System)
  
new GuiControlProfile("ZodiacButtonProfile") {
    
bitmap "zodiacguibutton.gif";
    
transparency 1;
    
opaque 1;
    
textoffset "0 -10";
    
align "center";
    
fontcolor "255 255 255";
    
fonttype "Arial";
    
fontsize 12;
    
fontstyle "cb";
    
fillcolor =  fillcolorhl fillcolorna "44 46 44";
  }

Use Own Profile Example:

PHP Code:
new GuiButtonCtrl("Example") {
  
width height 100;
  
profile ZodiacButtonProfile
  
useownprofile true;
  
profile.fontcolor "255 0 0"// Changes Font Color Red

__________________
Quote:
Reply With Quote
  #3  
Old 04-24-2011, 01:01 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
here is a list of the default profiles
profile = GuiBlueWindowProfile;
profile = GuiBluePopUpMenuProfile;
profile = GuiBlueTextEditProfile;
profile = GuiBlueTextProfile;
profile = GuiBlueButtonProfile;
profile = GuiBlueMLTextEditProfile
profile = GuiBlueRadioProfile;
scrollProfile = GuiBlueScrollProfile
textProfile = GuiBlueTextListProfile;
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



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 02:02 AM.


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