Game Development Community

Gui Controls

by StormEc · in Torque Game Engine · 12/28/2006 (11:00 am) · 3 replies

Greetings

If anyone can help, heres where i need a nudge in the correct direction, searched to no avail.

For Example guiBitmapBorderCtrl.cc

When invoking this control, it draws the outline of the chat hud, now looking at this file i cant see any reference to the image file it uses and how its splits up the image.

Anyone have the link or can help me get in the correct dir, will be most grateful !!

#1
12/28/2006 (11:49 am)
Check this out:

sdk\example\common\ui\defaultProfiles.cs\

if(!isObject(GuiBitmapBorderProfile)) new GuiControlProfile(GuiBitmapBorderProfile)
{
[b]   bitmap = "./darkBorder";[/b]
   hasBitmapArray = true;
};
#2
12/28/2006 (11:58 am)
Thanx !!!!!

Much appreciated !!!
#3
12/28/2006 (12:09 pm)
Glad to have helped. . .