home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / demo / client / ui / customProfiles.cs < prev    next >
Encoding:
Text File  |  2005-11-23  |  3.7 KB  |  175 lines

  1. //-----------------------------------------------------------------------------
  2. // Torque Game Engine 
  3. // Copyright (c) 2002 GarageGames.Com
  4. //-----------------------------------------------------------------------------
  5.  
  6. new GuiControlProfile (GuiDefaultProfile)
  7. {
  8.    tab = false;
  9.    canKeyFocus = false;
  10.    hasBitmapArray = false;
  11.    mouseOverSelected = false;
  12.  
  13.    // fill color
  14.    opaque = false;
  15.    fillColor = "127 136 153";
  16.    fillColorHL = "197 202 211";
  17.    fillColorNA = "144 154 171";
  18.  
  19.    // border color
  20.    border = false;
  21.    borderColor   = "0 0 0"; 
  22.    borderColorHL = "197 202 211";
  23.    borderColorNA = "91 101 119";
  24.    
  25.    bevelColorHL = "255 255 255";
  26.    bevelColorLL = "0 0 0";
  27.  
  28.    // font
  29.    fontType = "Arial";
  30.    fontSize = 14;
  31.    fontCharset = CHINESEBIG5;
  32.  
  33.    fontColor = "0 0 0";
  34.    fontColorHL = "73 82 97";
  35.    fontColorNA = "0 0 0";
  36.    fontColorSEL= "226 237 255";
  37.  
  38.    // bitmap information
  39.    bitmap = "./demoWindow";
  40.    bitmapBase = "";
  41.    textOffset = "0 0";
  42.  
  43.    // used by guiTextControl
  44.    modal = true;
  45.    justify = "left";
  46.    autoSizeWidth = false;
  47.    autoSizeHeight = false;
  48.    returnTab = false;
  49.    numbersOnly = false;
  50.    cursorColor = "0 0 0 255";
  51.  
  52.    // sounds
  53.    soundButtonDown = "";
  54.    soundButtonOver = "";
  55. };
  56.  
  57. new GuiControlProfile (TooltipProfile)
  58. {
  59.    fillColor = "255 255 225";
  60.    border = true;
  61.    borderColor = "0 0 0";
  62.    fontSize = 14;
  63.    fontType = "Arial";
  64.    fontColor = "0 0 0";
  65. };
  66.  
  67. new GuiControlProfile (GuiWindowProfile)
  68. {
  69.    opaque = true;
  70.    border = 2;
  71.    fillColor = "145 154 171";
  72.    fillColorHL = "221 202 173";
  73.    fillColorNA = "221 202 173";
  74.    fontColor = "255 255 255";
  75.    fontColorHL = "255 255 255";
  76.    text = "GuiWindowCtrl test";
  77.    bitmap = "./demoWindow";
  78.    textOffset = "6 6";
  79.    hasBitmapArray = true;
  80.    justify = "center";
  81. };
  82.  
  83. new GuiControlProfile (GuiScrollProfile)
  84. {
  85.    opaque = true;
  86.    fillColor = "255 255 255";
  87.    border = 3;
  88.    borderThickness = 2;
  89.    borderColor = "0 0 0";
  90.    bitmap = "./demoScroll";
  91.    hasBitmapArray = true;
  92. };
  93.  
  94. $fontColorHL = "55 64 78";
  95. new GuiControlProfile (GuiButtonProfile)
  96. {
  97.    opaque = true;
  98.    border = true;
  99.    fontColor = "0 0 0";
  100.    fontColorHL = $fontColorHL;
  101.    fixedExtent = true;
  102.    justify = "center";
  103.     canKeyFocus = false;
  104. };
  105.  
  106. new GuiControlProfile (GuiOkayButtonProfile)
  107. {
  108.    opaque = true;
  109.    border = true;
  110.    fontColor = "0 0 0";
  111.    fontColorHL = $fontColorHL;
  112.    fontSize = 24;
  113.    fixedExtent = true;
  114.    justify = "center";
  115.     canKeyFocus = false;
  116. };
  117.  
  118. new GuiControlProfile (GuiCheckBoxProfile)
  119. {
  120.    opaque = false;
  121.    fillColor = "0 0 0";
  122.    border = false;
  123.    borderColor = "0 0 0";
  124.    fontSize = 14;
  125.    fontColor = "0 0 0";
  126.    fontColorHL = $fontColorHL;
  127.    fixedExtent = true;
  128.    justify = "left";
  129.    bitmap = "./demoCheck";
  130.    hasBitmapArray = true;
  131. };
  132.  
  133. new GuiControlProfile (GuiRadioProfile)
  134. {
  135.    fontSize = 14;
  136.    fillColor = "0 0 0";
  137.    fontColorHL = $fontColorHL;
  138.    fixedExtent = true;
  139.    bitmap = "./demoRadio";
  140.    hasBitmapArray = true;
  141. };
  142.  
  143. new GuiControlProfile (GuiTitleProfile)
  144. {
  145.    opaque = false;
  146.    fontType = "Arial Bold";
  147.    fontSize = 32;
  148.    fontColor = "255 255 255";
  149.    fontColorHL = "255 255 255";
  150.    justify = "right";
  151. };
  152.  
  153. new GuiControlProfile (GuiPopUpTextProfile)
  154. {
  155.    fontType = "Arial";
  156.    fontSize = 14;
  157.    fontColor = "255 255 255";
  158.    fontColorHL = "255 255 255";
  159.    fontColorLink = "255 96 96";
  160.    fontColorLinkHL = "0 0 255";
  161. };
  162.  
  163. new GuiControlProfile (GuiEditorsTextProfile)
  164. {
  165.    fontType = "Arial Bold";
  166.    fontSize = 19;
  167.    fontColor = "255 255 255";
  168.    fontColorHL = "255 255 255";
  169.    fontColorLink = "255 96 96";
  170.    fontColorLinkHL = "0 0 255";
  171. };
  172.  
  173.  
  174.  
  175.