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 04-08-2006, 07:51 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Everyone hates GUIs! Profile screwed.

Blahblablah GUI controls suck.

I'm trying to make a custom pop up menu.
I had no idea what the bitmap it used for the main profile was, so I checked it.
It gave me 'defaultwindow.png'
I put my window profile in. Nothing showed up.
I put the window profile's image in with useownprofile. Nothing showed up.
Wtf is wrong?

PHP Code:
    new GuiPopUpMenuCtrl(SomeList) {
      
profile "MyWindowProfile";
      
scrollprofile "MyScrollProfile";
      
6;
      
6;
      
width MainWindow.width 12;
      
height 22;
    } 
Reply With Quote
  #2  
Old 04-11-2006, 02:41 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
you suck

Are you sure the profile is getting initialised before you create the control? How are you making the profile? Some profile-creation code would be nice
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #3  
Old 04-11-2006, 04:37 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 Yen
Blahblablah GUI controls suck.

I'm trying to make a custom pop up menu.
I had no idea what the bitmap it used for the main profile was, so I checked it.
It gave me 'defaultwindow.png'
I put my window profile in. Nothing showed up.
I put the window profile's image in with useownprofile. Nothing showed up.
Wtf is wrong?

PHP Code:
    new GuiPopUpMenuCtrl(SomeList) {
      
profile "MyWindowProfile";
      
scrollprofile "MyScrollProfile";
      
6;
      
6;
      
width MainWindow.width 12;
      
height 22;
    } 
I had this problem with GuiPopUpMenuCtrls a while ago, I'm not sure if they are bugged or not.
__________________
Skyld
Reply With Quote
  #4  
Old 04-12-2006, 01:33 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by ApothiX
you suck

Are you sure the profile is getting initialised before you create the control? How are you making the profile? Some profile-creation code would be nice
It's being initialized, it changes parts of the control. However, it doesn't show the 'box' with your selection and the dropdown arrow.

And I've got the profiles in a class, which I join to NPCs that need to use them.
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 04:48 PM.


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