Open Raid Library update

This commit is contained in:
Tercio Jose
2022-10-18 10:31:05 -03:00
parent 399756d6d1
commit fd801fa69f
47 changed files with 2559 additions and 915 deletions
@@ -400,7 +400,7 @@ local function CreatePluginFrames (data)
alert:SetFrameLevel(302)
alert.label = "Click here (on the skull icon) to bring the Encounter Breakdown panel"
alert.Text:SetSpacing (4)
alert:SetClampedToScreen (true)
alert:SetClampedToScreen(true)
MicroButtonAlert_SetText (alert, alert.label)
alert:SetPoint("bottom", EncounterDetails.ToolbarButton, "top", 0, 22)
alert.CloseButton:HookScript ("OnClick", hook_AlertButtonCloseButton)
@@ -1300,8 +1300,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
local barra = container.barras [index]
if (not barra) then
barra = EncounterDetails:CreateRow (index, container, 1, 0, -1)
_detalhes:SetFontSize (barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize (barra.lineText4, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText4, CONST_FONT_SIZE)
barra.TTT = "damage_taken" -- tool tip type --damage taken
barra.report_text = Loc ["STRING_PLUGIN_NAME"].."! "..Loc ["STRING_DAMAGE_TAKEN_REPORT"]
end
@@ -1520,8 +1520,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
barra = EncounterDetails:CreateRow (index, container, 1, 0, -1)
barra.TTT = "habilidades_inimigas" -- tool tip type --enemy abilities
barra.report_text = Loc ["STRING_PLUGIN_NAME"].."! " .. Loc ["STRING_ABILITY_DAMAGE"]
_detalhes:SetFontSize (barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize (barra.lineText4, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText4, CONST_FONT_SIZE)
barra.t:SetVertexColor(1, .8, .8, .8)
end
@@ -1809,8 +1809,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
barra.lineText1:SetPoint("left", add_damage_done, "right", 2, 0)
barra.textura:SetStatusBarTexture(nil)
_detalhes:SetFontSize (barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize (barra.lineText4, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText4, CONST_FONT_SIZE)
barra.TTT = "add"
add_damage_done.TTT = "add"
@@ -1896,8 +1896,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
local barra = container.barras [index]
if (not barra) then
barra = EncounterDetails:CreateRow (index, container, 3, 0, -6)
_detalhes:SetFontSize (barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize (barra.lineText4, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText4, CONST_FONT_SIZE)
barra.TTT = "total_interrupt" -- tool tip type
barra.report_text = "Details! ".. Loc ["STRING_INTERRUPTS_OF"]
barra:SetWidth(155)
@@ -2010,8 +2010,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
local barra = container.barras [index]
if (not barra) then
barra = EncounterDetails:CreateRow (index, container, 3, 3, -6)
_detalhes:SetFontSize (barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize (barra.lineText4, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText4, CONST_FONT_SIZE)
barra.TTT = "dispell" -- tool tip type
barra.report_text = "Details! ".. Loc ["STRING_DISPELLS_OF"]
barra:SetWidth(160)
@@ -2072,8 +2072,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
barra = EncounterDetails:CreateRow (index, container, 3, 0, 1)
barra.TTT = "morte" -- tool tip type
barra.report_text = "Details! " .. Loc ["STRING_DEAD_LOG"]
_detalhes:SetFontSize (barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize (barra.lineText4, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText1, CONST_FONT_SIZE)
_detalhes:SetFontSize(barra.lineText4, CONST_FONT_SIZE)
barra:SetWidth(169)
local overlayTexture = barra:CreateTexture(nil, "overlay")
+10 -10
View File
@@ -956,7 +956,7 @@ _detalhes.EncounterDetailsTempWindow = function(EncounterDetails)
end
end
table.insert (self.Data, 1, {Points=data;Color=color})
table.insert(self.Data, 1, {Points=data;Color=color})
self.NeedsUpdate=true
end
@@ -2381,13 +2381,13 @@ local ScrollCreateLine = function(self, index)
icon:SetSize(ScrollLineHeight, ScrollLineHeight)
local name = statusBar:CreateFontString("$parentName", "overlay", "GameFontNormal")
_detalhes.gump:SetFontSize (name, 10)
_detalhes.gump:SetFontSize(name, 10)
icon:SetPoint("left", line, "left", 2, 0)
name:SetPoint("left", icon, "right", 2, 0)
_detalhes.gump:SetFontColor(name, "white")
local done = statusBar:CreateFontString("$parentDone", "overlay", "GameFontNormal")
_detalhes.gump:SetFontSize (done, 10)
_detalhes.gump:SetFontSize(done, 10)
_detalhes.gump:SetFontColor(done, "white")
done:SetPoint("right", line, "right", -2, 0)
@@ -2457,9 +2457,9 @@ for i = 1, 10 do
icon:SetSize(16, 16)
icon:SetTexture([[Interface\AddOns\Details\images\clock]])
local name = line:CreateFontString("$parentName", "overlay", "GameFontNormal")
_detalhes.gump:SetFontSize (name, 10)
_detalhes.gump:SetFontSize(name, 10)
local done = line:CreateFontString("$parentDone", "overlay", "GameFontNormal")
_detalhes.gump:SetFontSize (done, 10)
_detalhes.gump:SetFontSize(done, 10)
icon:SetPoint("left", line, "left", 2, 0)
name:SetPoint("left", icon, "right", 2, 0)
@@ -2485,11 +2485,11 @@ for i = 1, 20 do
line:SetBackdropColor(unpack(BGColorDefault))
line:Hide()
local name = line:CreateFontString("$parentName", "overlay", "GameFontNormal")
_detalhes.gump:SetFontSize (name, 9)
_detalhes.gump:SetFontSize(name, 9)
name:SetPoint("left", line, "left", 2, 0)
local done = line:CreateFontString("$parentDone", "overlay", "GameFontNormal")
_detalhes.gump:SetFontSize (done, 9)
_detalhes.gump:SetFontSize(done, 9)
done:SetPoint("right", line, "right", -2, 0)
line.name = name
@@ -2546,7 +2546,7 @@ function PhaseFrame:UpdatePhaseBars()
for index, phase in ipairs(timers) do
local timer = hash [phase]
PhaseFrame.PhasesBars [i].name:SetText("|cFFC0C0C0Phase:|r |cFFFFFFFF" .. phase)
PhaseFrame.PhasesBars [i].done:SetText(_detalhes.gump:IntegerToTimer (timer))
PhaseFrame.PhasesBars [i].done:SetText(_detalhes.gump:IntegerToTimer(timer))
PhaseFrame.PhasesBars [i].phase = phase
PhaseFrame.PhasesBars [i]:Show()
i = i + 1
@@ -2571,12 +2571,12 @@ function PhaseFrame:UpdateSegmentCompareBars (phase)
if (segment ~= segmentTable) then
bar.name:SetText("Segment " .. i .. ":")
_detalhes.gump:SetFontColor(bar.name, "orange")
bar.done:SetText(_detalhes.gump:IntegerToTimer (timers [phase]))
bar.done:SetText(_detalhes.gump:IntegerToTimer(timers [phase]))
_detalhes.gump:SetFontColor(bar.done, "orange")
else
bar.name:SetText("Segment " .. i .. ":")
_detalhes.gump:SetFontColor(bar.name, "white")
bar.done:SetText(_detalhes.gump:IntegerToTimer (timers [phase]))
bar.done:SetText(_detalhes.gump:IntegerToTimer(timers [phase]))
_detalhes.gump:SetFontColor(bar.done, "white")
end
else
@@ -207,7 +207,7 @@ local function CreatePluginFrames()
SOF:EnableMouse(true)
SOF:SetMovable(true)
SOF:SetResizable(true)
SOF:SetClampedToScreen (true)
SOF:SetClampedToScreen(true)
pcall(function()
if (DetailsFramework.IsDragonflight()) then
@@ -566,7 +566,7 @@ local function CreatePluginFrames()
end
--CastStart from the cast_send
table.insert (StreamOverlay.battle_content, 1, {icon1, text1, color1, icon2, icon2coords, text2, color2, backgroundcolor, bordercolor, CastID = ID, CastStart = CastStart, startTime = startTime, endTime = endTime})
table.insert(StreamOverlay.battle_content, 1, {icon1, text1, color1, icon2, icon2coords, text2, color2, backgroundcolor, bordercolor, CastID = ID, CastStart = CastStart, startTime = startTime, endTime = endTime})
table.remove (StreamOverlay.battle_content, StreamOverlay.total_lines+1)
if (StreamOverlay.db.use_square_mode) then
@@ -681,8 +681,8 @@ local function CreatePluginFrames()
row:SetPoint("topright", SOF, "topright", 0, h)
end
StreamOverlay:SetFontSize (row.text1, StreamOverlay.db.font_size)
StreamOverlay:SetFontSize (row.text2, StreamOverlay.db.font_size)
StreamOverlay:SetFontSize(row.text1, StreamOverlay.db.font_size)
StreamOverlay:SetFontSize(row.text2, StreamOverlay.db.font_size)
local font = SharedMedia:Fetch ("font", StreamOverlay.db.font_face)
StreamOverlay:SetFontFace (row.text1, font)
@@ -1630,7 +1630,7 @@ function StreamOverlay:UpdateDpsHpsFrameConfig (PluginDisabled)
local db = StreamOverlay.db.per_second
StreamOverlay:SetFontSize (screen_frame.text, db.size)
StreamOverlay:SetFontSize(screen_frame.text, db.size)
StreamOverlay:SetFontOutline (screen_frame.text, db.font_shadow)
screen_frame:SetScale(db.scale)
@@ -2458,7 +2458,7 @@ function StreamOverlay:OnEvent (_, event, ...)
icon:SetTexture([[Interface\MINIMAP\MOVIERECORDINGICON]])
local title = welcomeWindow:CreateFontString(nil, "overlay", "GameFontNormal")
title:SetText("Details!: Action Tracker (plugin)")
StreamOverlay:SetFontSize (title, 20)
StreamOverlay:SetFontSize(title, 20)
local youtubeTwitchIcons = welcomeWindow:CreateTexture(nil, "overlay")
youtubeTwitchIcons:SetTexture([[Interface\AddOns\Details\images\icons2]])