home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / FCData / Scripts.pak / Scripts / OldUI / MainMenu / Skin.lua < prev    next >
Encoding:
Text File  |  2004-08-30  |  4.3 KB  |  168 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.         
  27.         bordersize = 0,
  28.         bordercolor = UI.szBorderColor,
  29.     },
  30.     
  31.     CheckBox=
  32.     {
  33.         classname = "checkbox",
  34.         width = 28, height = 28,
  35. --        color="255 255 255 255",
  36.         color="0 0 0 255",
  37.                 
  38.         bordersize = 1,
  39.         bordercolor = UI.szBorderColor,
  40.         
  41.         checkcolor = "121 186 128 255",
  42.         
  43. --        style = UISTYLE_TRANSPARENT,
  44.         
  45.         OnGotFocus = DefOnGotFocus,
  46.         OnLostFocus = DefOnLostFocus,
  47.         OnMouseEnter = DefOnMouseEnter,
  48.         OnMouseLeave = DefOnMouseLeave,        
  49.     },
  50.     
  51.     ComboBox=
  52.     {
  53.         classname = "combobox",
  54.         width = 166, height = 28,
  55.  
  56.         bordersize = 1,
  57.         bordercolor = UI.szBorderColor,
  58.         
  59.         buttontexture = System:LoadImage("textures/gui/buttons.dds"),
  60.         downbuttontexture = System:LoadImage("textures/gui/buttons_down.dds"),
  61.         overbuttontexture = System:LoadImage("textures/gui/buttons_over.dds"),
  62.         buttontexrect = "2 3 25 25",
  63.         
  64.         itembgcolor = "0 0 0 255",
  65.         
  66.         leftspacing = 6,
  67.         buttonsize = 28,
  68.     },
  69.  
  70.     EditBox=
  71.     {
  72.         classname = "editbox",
  73.         width = 166, height = 28,
  74.  
  75.         bordersize = 1,
  76.         bordercolor = UI.szBorderColor,
  77.         
  78. --        style = UISTYLE_TRANSPARENT,
  79.         
  80.         leftspacing = 4,
  81.         rightspacing = 4,
  82.         
  83.         cursorcolor = "255 255 255 255",
  84.         selectioncolor = UI.szSelectionColor,
  85.         color="0 0 0 255",
  86.     },
  87.  
  88.     ListView=
  89.     {
  90.         classname = "listview",
  91.         width = 680, height = 480,
  92.         bordersize = 1,
  93.         bordercolor = UI.szBorderColor,
  94.         color="0 0 0 0",
  95.         headerheight = 22,
  96.         cellpadding = 4,
  97.  
  98.         sortcolumntextcolor = "255 255 255 255",
  99.         sortcolumncolor = "181 246 188 255",
  100.         selectioncolor = UI.szSelectionColor,    
  101.     },
  102.     
  103.     Label=
  104.     {
  105.         classname = "static",
  106.         style = UISTYLE_TRANSPARENT,
  107.         halign = UIALIGN_RIGHT,
  108.         height = 28,
  109.         
  110.         leftspacing = 6,
  111.     },
  112.  
  113.     VScrollBar=
  114.     {
  115.         classname = "scrollbar",
  116.         color = "255 255 255 255",
  117.         
  118.         bordersize = 1,
  119.         bordercolor = UI.szBorderColor,
  120.         
  121.         pathtexture = System:LoadImage("textures/gui/buttons.dds"),
  122.         downpathtexture = System:LoadImage("textures/gui/buttons_down.dds"),
  123.         overpathtexture = System:LoadImage("textures/gui/buttons_over.dds"),
  124.         pathtexrect = "2 2 1 1",
  125.         slidertexture = System:LoadImage("textures/gui/buttons.dds"),
  126.         downslidertexture = System:LoadImage("textures/gui/buttons_down.dds"),
  127.         overslidertexture = System:LoadImage("textures/gui/buttons_over.dds"),
  128.         slidertexrect = "59 30 24 27",
  129.         minustexture = System:LoadImage("textures/gui/buttons.dds"),
  130.         downminustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  131.         overminustexture = System:LoadImage("textures/gui/buttons_over.dds"),
  132.         minustexrect = "31 3 24 24",
  133.         plustexture = System:LoadImage("textures/gui/buttons.dds"),
  134.         downplustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  135.         overplustexture = System:LoadImage("textures/gui/buttons_over.dds"),    
  136.         plustexrect = "3 3 24 24",
  137.         
  138.         width = 20, height = 200,
  139.     },
  140.  
  141.     HScrollBar=
  142.     {
  143.         classname = "scrollbar",
  144.         color = "255 255 255 255",
  145.         
  146.         bordersize = 1,
  147.         bordercolor = UI.szBorderColor,
  148.         
  149.         pathtexture = System:LoadImage("textures/gui/buttons.dds"),
  150.         downpathtexture = System:LoadImage("textures/gui/buttons_down.dds"),
  151.         overpathtexture = System:LoadImage("textures/gui/buttons_over.dds"),
  152.         pathtexrect = "2 2 1 1",    
  153.         slidertexture = System:LoadImage("textures/gui/buttons.dds"),
  154.         downslidertexture = System:LoadImage("textures/gui/buttons_down.dds"),
  155.         overslidertexture = System:LoadImage("textures/gui/buttons_over.dds"),
  156.         slidertexrect = "58 31 26 24",
  157.         minustexture = System:LoadImage("textures/gui/buttons.dds"),
  158.         downminustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  159.         overminustexture = System:LoadImage("textures/gui/buttons_over.dds"),
  160.         minustexrect = "3 31 24 24",
  161.         plustexture = System:LoadImage("textures/gui/buttons.dds"),
  162.         downplustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  163.         overplustexture = System:LoadImage("textures/gui/buttons_over.dds"),    
  164.         plustexrect = "31 31 24 24",
  165.         
  166.         width = 200, height = 20,
  167.     },
  168. };