Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Feature request
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-16-2007, 11:29 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Gui Style setting

Could we get a readable setting to show what gui style the player has selected? Something like $pref::graal::guistyle? If it already exists, someone update the wiki :P
Reply With Quote
  #2  
Old 10-16-2007, 11:42 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
As well as an event like onGuiStyleChange() or something, please.
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 10-16-2007, 12:28 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
*signs*
Yea, would be useful.
__________________
Reply With Quote
  #4  
Old 10-16-2007, 12:37 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
My bad. Exists in http://wiki.graal.net/index.php/Crea...side_Functions as $pref::video::defaultguistyle but not in http://wiki.graal.net/index.php/Crea.../Script/Client .
Reply With Quote
  #5  
Old 10-16-2007, 12:57 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
That's because I just updated that right now. To tired to add all the new things to Script/Client right now though. Will tomorrow maybe.

Still, would be nice to have that function. I notice that if I set style to that it will change it as soon as I change my style in options but onResize() and such aren't called to resize the child guis
__________________
Do it with a DON!
Reply With Quote
  #6  
Old 10-16-2007, 11:22 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Do something like this:

Graal Script Code:
//#CLIENTSIDE
function onCreated() {
  
// Create a new window and set attributes
  
new GuiWindowCtrl("MyWindow") {
    
// Use the default skin
    
style $pref::Video::defaultguistyle;

    
// Set the size of the window
    
clientrelative true;
    
clientextent = {320200};

    
// Set the position
    
120;
    
80;

    
// Set the title of the window
    
text "Hello Window";
  }
}

function 
onDefaultStyleChanges() {
  
MyWindow.style $pref::Video::defaultguistyle;

Reply With Quote
  #7  
Old 10-16-2007, 11:41 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
onDefaultStyleChanges()!
Thank you!
__________________
Do it with a DON!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 12:56 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.