GUI Profile -- making it available to GUI editor?
by Vern Jensen · in Torque Game Builder · 04/16/2008 (11:28 am) · 2 replies
I'm trying to follow this tutorial to add profiles to my GUIs:
http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIIntroToProfiles
Simple enough. But when I add code to my initializeProject() function in main.cs (I'm doing this instead of a new file just for profiles since it's quicker for testing purposes) the new profile doesn't show up in the GUI editor when I go to edit my dialog box. There are only 5 profiles available:
ExampleButtonProfile
ExampleScrollProfile
ExampleTextProfile
ExampleWindowProfile
GuiDefaultProfile
I'm guessing something has changed since when this tutorial was written, and TGB 1.7.2 was released, which I'm using, and I must place my profile-creation code in some specific place in order for the GUI Builder in the editor to "see" it. If so, where is this place? (I'm guessing if I could find where the 5 profiles above are defined, that would tell me the place, but I can't find where this is.)
http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIIntroToProfiles
Simple enough. But when I add code to my initializeProject() function in main.cs (I'm doing this instead of a new file just for profiles since it's quicker for testing purposes) the new profile doesn't show up in the GUI editor when I go to edit my dialog box. There are only 5 profiles available:
ExampleButtonProfile
ExampleScrollProfile
ExampleTextProfile
ExampleWindowProfile
GuiDefaultProfile
I'm guessing something has changed since when this tutorial was written, and TGB 1.7.2 was released, which I'm using, and I must place my profile-creation code in some specific place in order for the GUI Builder in the editor to "see" it. If so, where is this place? (I'm guessing if I could find where the 5 profiles above are defined, that would tell me the place, but I can't find where this is.)
Associate Phillip O'Shea
Violent Tulip