home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / FCData / Scripts.pak / Scripts / UIScreens / Skin.lua < prev    next >
Encoding:
Text File  |  2004-10-28  |  4.4 KB  |  171 lines

  1. UI.skins=
  2. {    
  3.     SuperButton=
  4.     {
  5.         classname = "superbutton",
  6.         
  7.         left = 272, top = 350,
  8.         width = 256, height = 64,
  9.         
  10.         color = "96 96 96 255",
  11.         
  12.         bordersize = 0,
  13.         bordercolor = UI.szBorderColor,
  14.         
  15.         --textureover = System:LoadImage("textures/gui/Menu/Menu_selected.dds"),
  16.     },
  17.     
  18.     ActionButton=
  19.     {
  20.         classname = "button",
  21.         
  22.         left = 580, top = 520,
  23.         width = 160, height = 32,
  24.         
  25.         --color = "96 96 96 255",
  26.         color = "99 125 132 255",
  27.         
  28.         bordersize = 0,
  29.         bordercolor = UI.szBorderColor,
  30.     },
  31.     
  32.     CheckBox=
  33.     {
  34.         classname = "checkbox",
  35.         width = 28, height = 28,
  36. --        color="255 255 255 255",
  37.         color="0 0 0 255",
  38.                 
  39.         bordersize = 1,
  40.         bordercolor = UI.szBorderColor,
  41.         
  42.         --checkcolor = "121 186 128 255",
  43.         checkcolor = UI.szBorderColor,
  44.         
  45. --        style = UISTYLE_TRANSPARENT,
  46.         
  47.         OnGotFocus = DefOnGotFocus,
  48.         OnLostFocus = DefOnLostFocus,
  49.         OnMouseEnter = DefOnMouseEnter,
  50.         OnMouseLeave = DefOnMouseLeave,        
  51.     },
  52.     
  53.     ComboBox=
  54.     {
  55.         classname = "combobox",
  56.         width = 166, height = 28,
  57.  
  58.         bordersize = 1,
  59.         bordercolor = UI.szBorderColor,
  60.         
  61.         buttontexture = System:LoadImage("textures/gui/buttons.dds"),
  62.         downbuttontexture = System:LoadImage("textures/gui/buttons_down.dds"),
  63.         overbuttontexture = System:LoadImage("textures/gui/buttons_over.dds"),
  64.         buttontexrect = "2 3 25 25",
  65.         
  66.         itembgcolor = "0 0 0 255",
  67.         
  68.         leftspacing = 6,
  69.         buttonsize = 28,
  70.     },
  71.  
  72.     EditBox=
  73.     {
  74.         classname = "editbox",
  75.         width = 166, height = 28,
  76.  
  77.         bordersize = 1,
  78.         bordercolor = UI.szBorderColor,
  79.         
  80. --        style = UISTYLE_TRANSPARENT,
  81.         
  82.         leftspacing = 4,
  83.         rightspacing = 4,
  84.         
  85.         cursorcolor = "255 255 255 255",
  86.         selectioncolor = UI.szSelectionColor,
  87.         color="0 0 0 255",
  88.     },
  89.  
  90.     ListView=
  91.     {
  92.         classname = "listview",
  93.         width = 680, height = 480,
  94.         bordersize = 1,
  95.         bordercolor = UI.szBorderColor,
  96.         color="0 0 0 0",
  97.         headerheight = 22,
  98.         cellpadding = 4,
  99.  
  100.         sortcolumntextcolor = "255 255 255 255",
  101.         sortcolumncolor = "181 246 188 255",
  102.         selectioncolor = UI.szSelectionColor,    
  103.     },
  104.     
  105.     Label=
  106.     {
  107.         classname = "static",
  108.         style = UISTYLE_TRANSPARENT,
  109.         halign = UIALIGN_RIGHT,
  110.         height = 28,
  111.         
  112.         leftspacing = 6,
  113.     },
  114.  
  115.     VScrollBar=
  116.     {
  117.         classname = "scrollbar",
  118.         --color = "255 255 255 255",
  119.         color = UI.szBorderColor,
  120.         
  121.         bordersize = 1,
  122.         bordercolor = UI.szBorderColor,
  123.         
  124.         pathtexture = System:LoadImage("textures/gui/buttons.dds"),
  125.         downpathtexture = System:LoadImage("textures/gui/buttons_down.dds"),
  126.         overpathtexture = System:LoadImage("textures/gui/buttons_over.dds"),
  127.         pathtexrect = "2 2 1 1",
  128.         slidertexture = System:LoadImage("textures/gui/buttons.dds"),
  129.         downslidertexture = System:LoadImage("textures/gui/buttons_down.dds"),
  130.         overslidertexture = System:LoadImage("textures/gui/buttons_over.dds"),
  131.         slidertexrect = "59 30 24 27",
  132.         minustexture = System:LoadImage("textures/gui/buttons.dds"),
  133.         downminustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  134.         overminustexture = System:LoadImage("textures/gui/buttons_over.dds"),
  135.         minustexrect = "31 3 24 24",
  136.         plustexture = System:LoadImage("textures/gui/buttons.dds"),
  137.         downplustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  138.         overplustexture = System:LoadImage("textures/gui/buttons_over.dds"),    
  139.         plustexrect = "3 3 24 24",
  140.         
  141.         width = 20, height = 200,
  142.     },
  143.  
  144.     HScrollBar=
  145.     {
  146.         classname = "scrollbar",
  147.         color = "255 255 255 255",
  148.         
  149.         bordersize = 1,
  150.         bordercolor = UI.szBorderColor,
  151.         
  152.         pathtexture = System:LoadImage("textures/gui/buttons.dds"),
  153.         downpathtexture = System:LoadImage("textures/gui/buttons_down.dds"),
  154.         overpathtexture = System:LoadImage("textures/gui/buttons_over.dds"),
  155.         pathtexrect = "2 2 1 1",    
  156.         slidertexture = System:LoadImage("textures/gui/buttons.dds"),
  157.         downslidertexture = System:LoadImage("textures/gui/buttons_down.dds"),
  158.         overslidertexture = System:LoadImage("textures/gui/buttons_over.dds"),
  159.         slidertexrect = "58 31 26 24",
  160.         minustexture = System:LoadImage("textures/gui/buttons.dds"),
  161.         downminustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  162.         overminustexture = System:LoadImage("textures/gui/buttons_over.dds"),
  163.         minustexrect = "3 31 24 24",
  164.         plustexture = System:LoadImage("textures/gui/buttons.dds"),
  165.         downplustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  166.         overplustexture = System:LoadImage("textures/gui/buttons_over.dds"),    
  167.         plustexrect = "31 31 24 24",
  168.         
  169.         width = 200, height = 20,
  170.     },
  171. };