Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-15-2009, 02:29 AM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by Schetti View Post
Well
I have to learn how to use scrolls,
so I made it big eneugh for begin.
Correct me if I'm wrong but won't this make the gui scroll?

PHP Code:
new GuiScrollCtrl("MyGUI_MultiLine1_Scroll") {
      
profile GuiBlueScrollProfile;
      
height 800;
      
hscrollbar "dynamic";
      
vscrollbar "dynamic";
      
width 800;
      
1;

      new 
GuiMLTextCtrl("MyGUI_MultiLine1") {
        
profile GuiBlueMLTextProfile;
        
height 16;
        
horizsizing "width";
        
text " News here";                                        

        
width 518;
       }
      }; 
Reply With Quote
  #2  
Old 03-15-2009, 07:20 AM
Schetti Schetti is offline
SC2 Player
Schetti's Avatar
Join Date: Nov 2008
Location: Austria
Posts: 269
Schetti is on a distinguished road
Quote:
Originally Posted by cyan3 View Post
Correct me if I'm wrong but won't this make the gui scroll?

PHP Code:
new GuiScrollCtrl("MyGUI_MultiLine1_Scroll") {
      
profile GuiBlueScrollProfile;
      
height 800;
      
hscrollbar "dynamic";
      
vscrollbar "dynamic";
      
width 800;
      
1;

      new 
GuiMLTextCtrl("MyGUI_MultiLine1") {
        
profile GuiBlueMLTextProfile;
        
height 16;
        
horizsizing "width";
        
text " News here";                                        

        
width 518;
       }
      }; 
umm...
I dont think so.
I made a LOOOOONG text, and it just didnt show up anymore.

how to say ...

the text goes out of the news window and wont be showen.
__________________
“Peace cannot be kept by force. It can only be achieved by understanding.” – Albert Einstein
Reply With Quote
  #3  
Old 03-15-2009, 04:30 PM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
I don't think you guys are referring to the same thing.

(?)Angel_Light is referring to this as good practice:
PHP Code:
temp.foo temp.bar temp.yay 42
(?)and Ziro is referring to this as crappy styling:
PHP Code:
temp.foo     3;
temp.bar     7;
temp.yai     10;
temp.crapthisoneislongerthantherest 20;
temp.nowihavetoreadjustallofthepreviousspacing "frown"
Correct me if I'm wrong.
Reply With Quote
  #4  
Old 03-15-2009, 06:22 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by salesman View Post
I don't think you guys are referring to the same thing.

(?)Angel_Light is referring to this as good practice:
PHP Code:
temp.foo temp.bar temp.yay 42
(?)and Ziro is referring to this as crappy styling:
PHP Code:
temp.foo     3;
temp.bar     7;
temp.yai     10;
temp.crapthisoneislongerthantherest 20;
temp.nowihavetoreadjustallofthepreviousspacing "frown"
Correct me if I'm wrong.
That's what I'm talking about...
__________________
Deep into the Darkness peering...
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 09:06 AM.


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