//---------------------------------------------------------------------------------------------
// Torque Game Builder
// Copyright (C) GarageGames.com, Inc.
//---------------------------------------------------------------------------------------------
//
// This is the file you should define your custom gui profiles that are to be used
// in the editor.
//

// ---------- gui audio -----------------


$SoundsAudioType = 4;  // channel 4

new AudioDescription(SoundEFX)
{
volume = 1.0;
isLooping= false;
is3D = false;
isStreaming = false;
type = $SoundsAudioType;
};


new AudioProfile(generalClick)  
{
filename = "game/data/audio/guiEFX/buttonClick.ogg";
description = "SoundEFX";
preload = false;
};

new AudioProfile(mouseOver)  
{
filename = "game/data/audio/guiEFX/mouseover_03.ogg";
description = "SoundEFX";
preload = false;
};

new AudioProfile(buttonPress)
{
filename = "game/data/audio/guiEFX/buttonClick.ogg";
description = "SoundEFX";
preload = false;
};

// -------------------------------------------------------------------



if(!isObject(GuiShortWindowProfile)) new GuiControlProfile (GuiShortWindowProfile)
{
   opaque = 0;
   border = 0;
   fillColor = "211 211 211 0.2";
   fillColorHL = "190 255 255 0";
   fillColorNA = "255 255 255 0";

   text = "untitled";
   bitmap = "game/gui/images/shortWindow";
   textOffset = "5 5";
   hasBitmapArray = true;
   justify = "center";
};

/* ----------------------Default-------------------------------

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

   // fill color
   opaque = false;
   fillColor = "211 211 211";
   fillColorHL = "244 244 244";
   fillColorNA = "244 244 244";

   // border color
   border = 1;
   borderColor   = "40 40 40 100";
   borderColorHL = "128 128 128";
   borderColorNA = "64 64 64";

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

   fontColor = "0 0 0";
   fontColorHL = "32 100 100";
   fontColorNA = "0 0 0";
   fontColorSEL= "200 200 200";

   // bitmap information
   bitmap = "./images/window";
   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(ExampleWindowProfile)) new GuiControlProfile(ExampleWindowProfile)
{
   opaque = true;
   border = 1;
   fillColor = "211 211 211";
   fillColorHL = "190 255 255";
   fillColorNA = "255 255 255";
   fontColor = "0 0 0";
   fontColorHL = "200 200 200";
   text = "untitled";
   bitmap = "common/gui/images/window";
   textOffset = "5 5";
   hasBitmapArray = true;
   justify = "center";
};

if(!isObject(ExampleScrollProfile)) new GuiControlProfile (ExampleScrollProfile)
{
   opaque = true;
   fillColor = "255 255 255";
   border = 1;
   borderThickness = 2;
   bitmap = "common/gui/images/scrollBar";
   hasBitmapArray = true;
};

if(!isObject(ExampleButtonProfile)) new GuiControlProfile(ExampleButtonProfile)
{
   opaque = true;
   border = -1;
   fontColor = "0 0 0";
   fontColorHL = "32 100 100";
   fixedExtent = true;
   justify = "center";
   canKeyFocus = false;
   bitmap = "common/gui/images/button";
};

if(!isObject(ExampleTextProfile)) new GuiControlProfile(ExampleTextProfile)
{
   fontType = "Arial";
   fontSize = 16;
   fontColor = "0 0 0";
};

exec("game/gui/customprofiles.cs");