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.bak < prev    next >
Encoding:
Text File  |  2004-08-30  |  4.4 KB  |  170 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.         texture     = System:LoadImage("textures/gui/Menu/Menu_unselected.dds"),
  16.         texrect     = "0 0 256 64",
  17.         --textureover = System:LoadImage("textures/gui/Menu/Menu_selected.dds"),
  18.     },
  19.     
  20.     ActionButton=
  21.     {
  22.         classname = "button",
  23.         
  24.         left = 580, top = 520,
  25.         width = 160, height = 32,
  26.         
  27.         color = "96 96 96 255",
  28.         
  29.         bordersize = 0,
  30.         bordercolor = UI.szBorderColor,
  31.     },
  32.     
  33.     CheckBox=
  34.     {
  35.         classname = "checkbox",
  36.         width = 28, height = 28,
  37. --        color="255 255 255 255",
  38.         color="0 0 0 255",
  39.                 
  40.         bordersize = 1,
  41.         bordercolor = UI.szBorderColor,
  42.         
  43.         checkcolor = "121 186 128 255",
  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.         
  120.         bordersize = 1,
  121.         bordercolor = UI.szBorderColor,
  122.         
  123.         pathtexture = System:LoadImage("textures/gui/buttons.dds"),
  124.         downpathtexture = System:LoadImage("textures/gui/buttons_down.dds"),
  125.         overpathtexture = System:LoadImage("textures/gui/buttons_over.dds"),
  126.         pathtexrect = "2 2 1 1",
  127.         slidertexture = System:LoadImage("textures/gui/buttons.dds"),
  128.         downslidertexture = System:LoadImage("textures/gui/buttons_down.dds"),
  129.         overslidertexture = System:LoadImage("textures/gui/buttons_over.dds"),
  130.         slidertexrect = "59 30 24 27",
  131.         minustexture = System:LoadImage("textures/gui/buttons.dds"),
  132.         downminustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  133.         overminustexture = System:LoadImage("textures/gui/buttons_over.dds"),
  134.         minustexrect = "31 3 24 24",
  135.         plustexture = System:LoadImage("textures/gui/buttons.dds"),
  136.         downplustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  137.         overplustexture = System:LoadImage("textures/gui/buttons_over.dds"),    
  138.         plustexrect = "3 3 24 24",
  139.         
  140.         width = 20, height = 200,
  141.     },
  142.  
  143.     HScrollBar=
  144.     {
  145.         classname = "scrollbar",
  146.         color = "255 255 255 255",
  147.         
  148.         bordersize = 1,
  149.         bordercolor = UI.szBorderColor,
  150.         
  151.         pathtexture = System:LoadImage("textures/gui/buttons.dds"),
  152.         downpathtexture = System:LoadImage("textures/gui/buttons_down.dds"),
  153.         overpathtexture = System:LoadImage("textures/gui/buttons_over.dds"),
  154.         pathtexrect = "2 2 1 1",    
  155.         slidertexture = System:LoadImage("textures/gui/buttons.dds"),
  156.         downslidertexture = System:LoadImage("textures/gui/buttons_down.dds"),
  157.         overslidertexture = System:LoadImage("textures/gui/buttons_over.dds"),
  158.         slidertexrect = "58 31 26 24",
  159.         minustexture = System:LoadImage("textures/gui/buttons.dds"),
  160.         downminustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  161.         overminustexture = System:LoadImage("textures/gui/buttons_over.dds"),
  162.         minustexrect = "3 31 24 24",
  163.         plustexture = System:LoadImage("textures/gui/buttons.dds"),
  164.         downplustexture = System:LoadImage("textures/gui/buttons_down.dds"),
  165.         overplustexture = System:LoadImage("textures/gui/buttons_over.dds"),    
  166.         plustexrect = "31 31 24 24",
  167.         
  168.         width = 200, height = 20,
  169.     },
  170. };