- solo mode will resize the frame if isn't on the correct size.

- new tutorials added to main frame and main frame gear meni.
- blizzard help system added to the frame work.
- added panic mode and max segments to save options.
- fixed a bug where wallpaper isn't change on apply to all.
- Vanguard frames are na resizables.
- Report button added to Vanguard avoindace info.
- Vanguard also now have better tooltips explaining things.
- New logo added to tiny threat.
- Fixed an issue with dropdowns where no options shown up.
This commit is contained in:
Tercio
2013-08-12 18:19:06 -03:00
parent f5358b7021
commit e2443dd8fa
15 changed files with 245 additions and 74 deletions
+23
View File
@@ -1,6 +1,7 @@
--> details main objects
local _detalhes = _G._detalhes
local gump = _detalhes.gump
local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" )
--> lua locals
local _rawset = rawset --> lua local
@@ -161,6 +162,28 @@ local APIFrameFunctions
------------------------------------------------------------------------------------------------------------
--> methods
--> right click to close
function PanelMetaFunctions:CreateRightClickLabel (textType, w, h)
local text
w = w or 20
h = h or 20
if (textType) then
textType = string.lower (textType)
if (textType == "short") then
text = Loc ["STRING_RIGHTCLICK_CLOSE_SHORT"]
elseif (textType == "medium") then
text = Loc ["STRING_RIGHTCLICK_CLOSE_MEDIUM"]
elseif (textType == "large") then
text = Loc ["STRING_RIGHTCLICK_CLOSE_LARGE"]
end
else
text = Loc ["STRING_RIGHTCLICK_CLOSE_SHORT"]
end
return gump:NewLabel (self, _, "$parentRightMouseToClose", nil, "|TInterface\\TUTORIALFRAME\\UI-TUTORIAL-FRAME:"..w..":"..h..":0:1:512:512:8:70:328:409|t " .. text)
end
--> show & hide
function PanelMetaFunctions:Show()
self.frame:Show()
+5
View File
@@ -530,6 +530,10 @@ local APISplitBarFunctions
frame.MyObject.container.isMoving = false
end
end
local OnSizeChanged = function (statusbar)
statusbar.MyObject.div:SetPoint ("left", statusbar, "left", statusbar:GetValue() * (statusbar:GetWidth()/100) - 18, 0)
end
------------------------------------------------------------------------------------------------------------
--> object constructor
@@ -623,6 +627,7 @@ function gump:NewSplitBar (parent, container, name, member, w, h)
SplitBarObject.statusbar:SetScript ("OnShow", OnShow)
SplitBarObject.statusbar:SetScript ("OnMouseDown", OnMouseDown)
SplitBarObject.statusbar:SetScript ("OnMouseUp", OnMouseUp)
SplitBarObject.statusbar:SetScript ("OnSizeChanged", OnSizeChanged)
_setmetatable (SplitBarObject, SplitBarMetaFunctions)