Gui custom buttons
by Joseph Euan · in Torque Game Engine · 10/24/2004 (11:58 pm) · 5 replies
Sorry if this is the wrong place to ask but....
How do I add my own button images to the main menu gui?
Thanks
Joseph
How do I add my own button images to the main menu gui?
Thanks
Joseph
About the author
#2
10/25/2004 (12:16 am)
I tried the guibitmapbutton thing, but when I add the path to the image nothig shows up.
#3
10/25/2004 (2:19 am)
This is because the guibitmapbutton append an _n, _h, _d,_i to your image to represent the states of the button, so you have to pass your image like "button01" but the file name must be button01_n, button01_h etc, if you want to see something at least button01_n must exist. Just for your knowledge n:NORMAL h:Hilight d:Depressed i:Inactive the states that a button can have
#4
10/25/2004 (2:28 am)
So in the image path I need to have starter.fps/data/client/ui/button01_n ?
#5
10/25/2004 (6:17 am)
Think I sorted it now, thanks all
Torque Owner Lonnie Bruton