Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Everyone hates GUIs! Profile screwed. (https://forums.graalonline.com/forums/showthread.php?t=65254)

Yen 04-08-2006 07:51 AM

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;
    } 


ApothiX 04-11-2006 02:41 PM

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 :)

Skyld 04-11-2006 04:37 PM

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.

Yen 04-12-2006 01:33 AM

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.


All times are GMT +2. The time now is 05:40 PM.

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