Gui Editor: Profiles not available?
by Dave Young · in Torque Game Engine Advanced · 09/26/2008 (12:09 pm) · 4 replies
In the fabulous new GUI Editor in 1.7.1, I'm not seeing a dropdown box for Gui Profiles, only a text box. Typing in a profile to the box and hitting enter or tabbing out doesn't seem to do anything.
I haven't seen a bug report on this, is it just me?
I haven't seen a bug report on this, is it just me?
#2
So it's supposed to be a string and not the enum. This would be fine if we also had a profile list.
//addProtectedField("Profile", TypeGuiProfile, Offset(mProfile, GuiControl), &setProfileProt, &defaultProtectedGetFn, "");
addField("Profile", TypeString, Offset(mProfileName, GuiControl));
09/27/2008 (2:34 pm)
On further look, it was done explicitly here in guiControl.cppSo it's supposed to be a string and not the enum. This would be fine if we also had a profile list.
//addProtectedField("Profile", TypeGuiProfile, Offset(mProfile, GuiControl), &setProfileProt, &defaultProtectedGetFn, "");
addField("Profile", TypeString, Offset(mProfileName, GuiControl));
#3
Necessity is the mother of invention!
09/28/2008 (1:34 pm)
I coded up a guiProfile pallete so I can drag and drop a profile onto a guiControl in the guiEditor and have the profile updated live.Necessity is the mother of invention!
Torque 3D Owner Dave Young
Dave Young Games