Game Development Community

ToolTipProfile in HEAD yet?

by Flybynight Studios · in Torque Game Engine · 12/02/2007 (1:12 am) · 2 replies

Was the tooltip profile added in TGE 1.5? I see there is a resource for it for 1.4 which I can add but I dont want to mess with it if I dont have to. Thanks.

#1
12/02/2007 (5:40 am)
It's in there.
example/common/ui/defaultProfiles.cs:
if(!isObject(GuiToolTipProfile)) new GuiControlProfile (GuiToolTipProfile)
{
   tab = false;
   canKeyFocus = false;
   hasBitmapArray = false;
   mouseOverSelected = false;

   // fill color
   opaque = true;
   fillColor = "255 255 225";

   // border color
   border = true;
   borderColor   = "0 0 0";
   
   fontColor = "0 0 0";
   fontColorHL = "0 0 0";
   fontColorNA = "0 0 0";
   

   // used by guiTextControl
   modal = true;
   justify = "left";
   autoSizeWidth = false;
   autoSizeHeight = false;
   returnTab = false;
   numbersOnly = false;
   cursorColor = "0 0 0 255";

};

Is it what you are looking for?

Yes, the profile is not assigned automatically when making a new GUI control (that's can be changed in C++ easily), but the profile is included in TGE1.5.
#2
12/02/2007 (9:59 am)
Thanks Bank. I wont mess with the 1.4 stuff then. Appreciate the response.