Share Pastebin
Guest
Public paste!

Katae

By: a guest | Nov 22nd, 2009 | Syntax: Lua | Size: 0.74 KB | Hits: 48 | Expires: Never
Copy text to clipboard
  1. {       name = "StatContainer",
  2.         anchor_to = "TOP",
  3.         x_off = 0, y_off = -40,
  4.         width = 480, height = 20,
  5.         bg_alpha = 0,
  6.         OnLoad = function(self) self:SetAlpha(0) end,
  7.         OnEnter = function(self) self:SetAlpha(1) end,
  8.         OnLeave = function(self)
  9.          if not strmatch(GetMouseFocus():GetName(),"^LP_") then
  10.                 self:SetAlpha(0)
  11.          end
  12.         end,
  13. },
  14. {       name = "BoxL", parent = "StatContainer",
  15.         anchor_to = "LEFT",
  16.         width = "50%", height = "100%",
  17.         gradient = "H",
  18.         bg_color = "CLASS", gradient_color = "CLASS",
  19.         bg_alpha = 0, gradient_alpha = 0.2,
  20. },     
  21. {       name = "BoxR", parent = "StatContainer",
  22.         anchor_to = "RIGHT",
  23.         width = "50%", height = "100%",
  24.         gradient = "H",
  25.         bg_color = "CLASS", gradient_color = "CLASS",
  26.         bg_alpha = 0.2, gradient_alpha = 0,
  27. },