Game Development Community

How to make a -new- GUI control

by Ty Christopher · in Torque Game Engine Advanced · 01/17/2007 (2:12 pm) · 2 replies

So I started out with this page from the TDN:

tdn.garagegames.com/wiki/Code/How_do_I_make_a_GUI_control%3F

and found it a bit Spartan, but after a bit of work, I have been able to extend the "guiBitmapCtrl" in C++. Everything compiles nicely, but when run Torque, and F10 into the GUI editor, I can't see my new control in the drop-down list. I, think, I have searched all the code both in TorqueScript and C++, but I can't find anyplace that populates the drop-down.

I am obviously missing something. If anyone can offer any advice, I would appreciate it.

#1
01/17/2007 (2:37 pm)
Common\gui\profiles.cs look at this file
#2
01/17/2007 (3:12 pm)
Thanks for the reply, it turns out I was running the standard exe, when I had only compiled the debug exe... doh! C++ noob.