- New API: _detalhes:Msg (text) print a text to chat.

- Fixed a issue with default wallpaper which isn't on Fill align.
- Mode selection now are in a new order.
- Added a instruction to click to report a death.
- Added a 2 second delay before all raid equilize.
- Capture dont try any more to get from cloud if the capture is actived.
- Fixed a issue with statusbar color selection were it was changing instance color.
- Added GameCooltip:SetTitle (1 or 2, text)
This commit is contained in:
Tercio
2013-08-17 22:12:12 -03:00
parent 9665a92de0
commit 9351523612
17 changed files with 328 additions and 97 deletions
+4
View File
@@ -382,6 +382,8 @@ function gump:NewSwitch (parent, container, name, member, w, h, ltext, rtext, de
--> build frames
local slider = gump:NewSlider (parent, container, name, member, w, h, 1, 2, 1, defaultv)
slider:SetBackdrop ({edgeFile = "Interface\\Buttons\\UI-SliderBar-Border", edgeSize = 8,
bgFile = [[Interface\AddOns\Details\images\background]], insets = {left = 3, right = 3, top = 5, bottom = 5}})
slider:SetHook ("OnValueChange", function (self)
if (slider:GetValue() == 1) then
@@ -389,11 +391,13 @@ function gump:NewSwitch (parent, container, name, member, w, h, ltext, rtext, de
if (slider.OnSwitch) then
slider.OnSwitch (slider, slider.FixedValue, false)
end
slider:SetBackdropColor (1, 0, 0, 0.4)
else
slider.amt:SetText (rtext)
if (slider.OnSwitch) then
slider.OnSwitch (slider, slider.FixedValue, true)
end
slider:SetBackdropColor (0, 0, 1, 0.4)
end
return true
end)