- Fixed an issue with the statistics sharing among guild members.

- Fixed an issue with Argus encounter where two segments were created.
- Fixed aura type images on the Create Aura Panel.
- Create Aura Panel can now be closed with Right Click.
- Framework updated to r60, plugins should be more stable now.
This commit is contained in:
Tercio
2017-12-08 18:09:20 -02:00
parent 32d03526da
commit 7f0ec0ce04
13 changed files with 362 additions and 260 deletions
+2 -1
View File
@@ -958,7 +958,8 @@ local encounter_is_current_tier = function (encounterID)
if (OnlyFromCurrentRaidTier) then
local mapID = _detalhes:GetInstanceIdFromEncounterId (encounterID)
if (mapID) then
if (_detalhes.current_raid_tier_mapid ~= mapID) then
--> if isn'y the mapID in the table to save data
if (not _detalhes.InstancesToStoreData [mapID]) then
return false
end
end
+12 -1
View File
@@ -454,13 +454,24 @@
LibWindow.SavePosition (f)
--> menu background
local menuBackground = CreateFrame ("frame", nil, f)
local menuBackground = CreateFrame ("frame", "$parentMenuFrame", f)
_detalhes:FormatBackground (menuBackground)
--> point
menuBackground:SetPoint ("topright", f, "topleft", -2, 0)
menuBackground:SetPoint ("bottomright", f, "bottomleft", -2, 0)
menuBackground:SetWidth (f.MenuButtonWidth + 6)
local bigdog = _detalhes.gump:NewImage (menuBackground, [[Interface\MainMenuBar\UI-MainMenuBar-EndCap-Human]], 180*0.7, 200*0.7, "overlay", {0, 1, 0, 1}, "backgroundBigDog", "$parentBackgroundBigDog")
bigdog:SetPoint ("bottomleft", custom_window, "bottomleft", 0, 1)
bigdog:SetAlpha (0.3)
local bigdogRow = menuBackground:CreateTexture (nil, "artwork")
bigdogRow:SetPoint ("bottomleft", menuBackground, "bottomleft", 1, 1)
bigdogRow:SetPoint ("bottomright", menuBackground, "bottomright", -1, 1)
bigdogRow:SetHeight (20)
bigdogRow:SetColorTexture (.5, .5, .5, .1)
bigdogRow:Hide()
--> plugins menu title bar
local titlebar_plugins = CreateFrame ("frame", nil, menuBackground)
+4 -4
View File
@@ -1192,7 +1192,7 @@
end
DetailsRaidHistoryWindow.Initialized = true
local f = DetailsRaidHistoryWindow or CreateFrame ("frame", "DetailsRaidHistoryWindow", UIParent) --, "ButtonFrameTemplate"
f:SetPoint ("center", UIParent, "center")
f:SetFrameStrata ("HIGH")
@@ -1228,9 +1228,9 @@
titlebar:SetBackdropBorderColor (0, 0, 0, 1)
--> menu title
local titleLabel = _detalhes.gump:NewLabel (titlebar, titlebar, nil, "titulo", "Statistics", "GameFontHighlightLeft", 12, {227/255, 186/255, 4/255})
local titleLabel = _detalhes.gump:NewLabel (titlebar, titlebar, nil, "titulo", "Details! " .. Loc ["STRING_STATISTICS"], "GameFontNormal", 12) --{227/255, 186/255, 4/255}
titleLabel:SetPoint ("center", titlebar , "center")
titleLabel:SetPoint ("top", titlebar , "top", 0, -5)
titleLabel:SetPoint ("top", titlebar , "top", 0, -4)
--> close button
f.Close = CreateFrame ("button", "$parentCloseButton", f)
@@ -1254,7 +1254,7 @@
insets = {left = 0, right = 0, top = 0, bottom = 0}, edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize=1})
tutorialFrame:SetBackdropColor (0, 0, 0, 1)
tutorialFrame.Title = _detalhes.gump:CreateLabel (tutorialFrame, Loc ["STRING_MODE_OPENGUILDDAMAGERANK"], 12, "orange")
tutorialFrame.Title = _detalhes.gump:CreateLabel (tutorialFrame, "Statistics" , 12, "orange") --curse localization isn't adding new strings (and I deleted the old one)
tutorialFrame.Title:SetPoint ("top", tutorialFrame, "top", 0, -5)
tutorialFrame.Desc = _detalhes.gump:CreateLabel (tutorialFrame, Loc ["STRING_GUILDDAMAGERANK_TUTORIAL_DESC"], 12)