//-----------------------------------------------------------------------------
// Torque Game Engine Advanced
// Copyright (c) 2002 GarageGames.Com
//-----------------------------------------------------------------------------

if (isObject(GuiDefaultProfile)) GuiDefaultProfile.delete();
new GuiControlProfile (GuiDefaultProfile)
{
   tab = false;
   canKeyFocus = false;
   hasBitmapArray = false;
   mouseOverSelected = false;

   // fill color
   opaque = false;
   fillColor = "127 136 153";
   fillColorHL = "197 202 211";
   fillColorNA = "144 154 171";

   // border color
   border = false;
   borderColor   = "0 0 0"; 
   borderColorHL = "197 202 211";
   borderColorNA = "91 101 119";
   
   bevelColorHL = "255 255 255";
   bevelColorLL = "0 0 0";

   // font
   fontType = "Arial";
   fontSize = 14;
   fontCharset = ANSI;

   fontColor = "0 0 0";
   fontColorHL = "73 82 97";
   fontColorNA = "0 0 0";
   fontColorSEL= "226 237 255";

   // bitmap information
   bitmap = "scriptsAndAssets/data/ui/demoWindow";
   bitmapBase = "";
   textOffset = "0 0";

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

   // sounds
   soundButtonDown = "";
   soundButtonOver = "";
};

if (isObject(TooltipProfile)) TooltipProfile.delete();
new GuiControlProfile (TooltipProfile)
{
   fillColor = "255 255 225";
   border = true;
   borderColor = "0 0 0";
   fontSize = 14;
   fontType = "Arial";
   fontColor = "0 0 0";
};

if (isObject(GuiWindowProfile)) GuiWindowProfile.delete();
new GuiControlProfile (GuiWindowProfile)
{
   opaque = true;
   border = 2;
   fillColor = "145 154 171";
   fillColorHL = "221 202 173";
   fillColorNA = "221 202 173";
   fontColor = "255 255 255";
   fontColorHL = "255 255 255";
   text = "GuiWindowCtrl test";
   bitmap = "scriptsAndAssets/data/ui/demoWindow";
   textOffset = "6 6";
   hasBitmapArray = true;
   justify = "center";
};

if (isObject(GuiScrollProfile)) GuiScrollProfile.delete();
new GuiControlProfile (GuiScrollProfile)
{
   opaque = true;
   fillColor = "255 255 255";
   border = 3;
   borderThickness = 2;
   borderColor = "0 0 0";
   bitmap = "scriptsAndAssets/data/ui/demoScroll";
   hasBitmapArray = true;
};

$fontColorHL = "55 64 78";

if (isObject(GuiButtonProfile)) GuiButtonProfile.delete();
new GuiControlProfile (GuiButtonProfile)
{
   opaque = true;
   border = true;
   fontColor = "0 0 0";
   fontColorHL = $fontColorHL;
   fixedExtent = true;
   justify = "center";
	canKeyFocus = false;
	hasBitmapArray = false;
};

if (isObject(GuiOkayButtonProfile)) GuiOkayButtonProfile.delete();
new GuiControlProfile (GuiOkayButtonProfile)
{
   opaque = true;
   border = true;
   fontColor = "0 0 0";
   fontColorHL = $fontColorHL;
   fontSize = 24;
   fixedExtent = true;
   justify = "center";
	canKeyFocus = false;
};

if (isObject(GuiCheckBoxProfile)) GuiCheckBoxProfile.delete();
new GuiControlProfile (GuiCheckBoxProfile)
{
   opaque = false;
   fillColor = "0 0 0";
   border = false;
   borderColor = "0 0 0";
   fontSize = 14;
   fontColor = "0 0 0";
   fontColorHL = $fontColorHL;
   fixedExtent = true;
   justify = "left";
   bitmap = "scriptsAndAssets/data/ui/demoCheck";
   hasBitmapArray = true;
};

if (isObject(GuiRadioProfile)) GuiRadioProfile.delete();
new GuiControlProfile (GuiRadioProfile)
{
   fontSize = 14;
   fillColor = "0 0 0";
   fontColorHL = $fontColorHL;
   fixedExtent = true;
   bitmap = "scriptsAndAssets/data/ui/demoRadio";
   hasBitmapArray = true;
};

if (isObject(GuiTitleProfile)) GuiTitleProfile.delete();
new GuiControlProfile (GuiTitleProfile)
{
   opaque = false;
   fontType = "Arial Bold";
//   fontSize = 23;
   fontSize = 21;
   fontColor = "255 255 255";
   fontColorHL = "255 255 255";
   justify = "right";
};

if (isObject(GuiTitle2Profile)) GuiTitle2Profile.delete();
new GuiControlProfile (GuiTitle2Profile)
{
   opaque = false;
   fontType = "Arial";
//   fontSize = 20;
   fontSize = 17;
   fontColor = "255 255 255";
   fontColorHL = "255 255 255";
   justify = "right";
};

if (isObject(GuiPopUpTextProfile)) GuiPopUpTextProfile.delete();
new GuiControlProfile (GuiPopUpTextProfile)
{
   fontType = "Arial";
   fontSize = 14;
   fontColor = "255 255 255";
   fontColorHL = "255 255 255";
   fontColorLink = "255 96 96";
   fontColorLinkHL = "0 0 255";
};

if (isObject(GuiEditorsTextProfile)) GuiEditorsTextProfile.delete();
new GuiControlProfile (GuiEditorsTextProfile)
{
   fontType = "Arial Bold";
   fontSize = 19;
   fontColor = "255 255 255";
   fontColorHL = "255 255 255";
   fontColorLink = "255 96 96";
   fontColorLinkHL = "0 0 255";
};

// Centered big text (white) used in scoring (HarlenB)
if (isObject(GuiCenteredBigTextProfile)) GuiCenteredBigTextProfile.delete();
new GuiControlProfile (GuiCenteredBigTextProfile)
{  
   fontType = "Arial";  
   fontSize = 36;  
   fontColor = "255 255 255";  
   fixedExtent = true;  
   justify = "center";  
};  

// Centered big text (black) used in bubble text
if (isObject(GuiCenteredBigBlackTextProfile)) GuiCenteredBigBlackTextProfile.delete();
new GuiControlProfile (GuiCenteredBigBlackTextProfile)
{  
   fontType = "Arial";  
   fontSize = 36;  
   fontColor = "0 0 0 255";  
   fixedExtent = true;  
   justify = "center";  
};  

// Centered big text used in scoring (HarlenB)
if (isObject(GuiCenteredSmallTextProfile)) GuiCenteredSmallTextProfile.delete();
new GuiControlProfile (GuiCenteredSmallTextProfile)
{  
   fontType = "Arial";
   fontSize = 17;  
   fontColor = "0 0 0";  
   fixedExtent = true;  
   justify = "center";  
};  

// Left-aligned big text used in scoring (HarlenB)
if (isObject(GuiLeftBigTextProfile)) GuiLeftBigTextProfile.delete();
new GuiControlProfile (GuiLeftBigTextProfile)
{  
   fontType = "Arial";
   fontSize = 36;  
   fontColor = "255 255 255";  
   fixedExtent = true;  
   justify = "left";  
};  

/*
// Text used in new player text edit control (HarlenB)
if (isObject(GuiTextEditProfile)) GuiBigTextCtrlProfile.delete();
new GuiControlProfile (GuiBigTextCtrlProfile)
{  
   fontType = "Comic Sans MS Bold";  
   fontSize = 24;  
   fontColor = "0 0 0 255";  
   fixedExtent = true;  
   justify = "left";  
   
   numbersOnly = false;
   cursorColor = "0 0 0 255";
   
   // fill color
   opaque = false;
   fillColor = "127 136 153";
   fillColorHL = "197 202 211";
   fillColorNA = "144 154 171";
};  
*/

if(!isObject(GuiLCATextEditProfile)) 
new GuiControlProfile (GuiLCATextEditProfile)
{
   opaque = true;
   fillColor = "255 255 255 128";
   fillColorHL = "255 255 255 128";
   border = -2;
   bitmap = "";//"./images/textEdit";
   borderColor = "0 0 0 0";
   fontType = "Arial";
   fontSize = 32;  
   fontColor = "0 0 0";
   fontColorHL = "255 255 255";
   fontColorNA = "255 255 255";
   textOffset = "4 2";
   autoSizeWidth = false;
   autoSizeHeight = false;
   tab = true;
   canKeyFocus = true;
   justify = "center";   
   fixedExtent = true;  
};

if (isObject(GuiLCAButtonProfile)) GuiLCAButtonProfile.delete();
new GuiControlProfile (GuiLCAButtonProfile)
{
   opaque = true;
   border = false;
   fontColor = "255 255 255 255";
   fontColorHL = "255 255 128 255";
   fontType = "Arial";
   fontSize = 40;
   fixedExtent = true;
   justify = "left";
	canKeyFocus = false;
};

if (isObject(GuiLCAButtonProfile2)) GuiLCAButtonProfile2.delete();
new GuiControlProfile (GuiLCAButtonProfile2)
{
   opaque = true;
   border = false;
   fontColor = "245 86 104 255";
   fontColorHL = "255 255 128 255";
   fontType = "Arial";
   fontSize = 36;
   fixedExtent = true;
   justify = "left";
	canKeyFocus = false;
};

if (isObject(GuiLCAButtonProfileC)) GuiLCAButtonProfileC.delete();
new GuiControlProfile (GuiLCAButtonProfileC)
{
   opaque = true;
   border = false;
   fontColor = "255 255 255 255";
   fontColorHL = "255 255 128 255";
   fontType = "Arial";
   fontSize = 40;
   fixedExtent = true;
   justify = "center";
	canKeyFocus = false;
};

if (isObject(GuiLCAButtonProfile2C)) GuiLCAButtonProfile2C.delete();
new GuiControlProfile (GuiLCAButtonProfile2C)
{
   opaque = true;
   border = false;
   fontColor = "245 86 104 255";
   fontColorHL = "255 255 128 255";
   fontType = "Arial";
   fontSize = 36;
   fixedExtent = true;
   justify = "center";
	canKeyFocus = false;
};

if (isObject(GuiLCATextProfile)) GuiLCATextProfile.delete();
new GuiControlProfile (GuiLCATextProfile)
{  
   fontType = "Arial";
   fontSize = 36;  
   fontColor = "255 255 255 255";  
   fixedExtent = true;  
   justify = "left";  
};  

// A profile for ignoring mouse events 
if (isObject(GuiLCAPassThruProfile)) GuiLCAPassThruProfile.delete();
new GuiControlProfile (GuiLCAPassThruProfile)
{  
   modal = false;
};  