Advertisement
Superlative

Untitled

Aug 10th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local function UpdateBar(self, bar)
  2. local function MoveButtonBar(button, bar)
  3.  
  4. TukuiBar2Button:setScript("OnClick", function(self) UpdateBar(self, TukuiBar2) end)
  5. button:Point("BOTTOMRIGHT", TukuiBar1, "BOTTOMLEFT", -2, 0)
  6. TukuiBar2Button:setScript("OnClick", function(self) UpdateBar(self, TukuiBar3) end)
  7. button:Point("BOTTOMLEFT", TukuiBar1, "BOTTOMRIGHT", 2, 0)
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement