Merging Seal of Command on Wrath classic

This commit is contained in:
Tercio Jose
2022-10-10 16:51:56 -03:00
parent 1ed29008aa
commit 69899679e7
63 changed files with 1655 additions and 1638 deletions
+2 -2
View File
@@ -289,7 +289,7 @@ function _detalhes.PlayBestDamageOnGuild (damage)
----------------------------------------------
local NewDamageRecord = DetailsNewDamageRecord:CreateFontString ("NewDamageRecordFontString", "OVERLAY")
local NewDamageRecord = DetailsNewDamageRecord:CreateFontString("NewDamageRecordFontString", "OVERLAY")
NewDamageRecord:SetFont ([=[Fonts\FRIZQT__.TTF]=], 12, "OUTLINE")
NewDamageRecord:SetText("Damage Record!")
NewDamageRecord:SetDrawLayer ("OVERLAY", 0)
@@ -328,7 +328,7 @@ function _detalhes.PlayBestDamageOnGuild (damage)
----------------------------------------------
local DamageAmount = DetailsNewDamageRecord:CreateFontString ("DamageAmountFontString", "OVERLAY")
local DamageAmount = DetailsNewDamageRecord:CreateFontString("DamageAmountFontString", "OVERLAY")
DamageAmount:SetFont ([=[Fonts\FRIZQT__.TTF]=], 12, "THICKOUTLINE")
DamageAmount:SetText(_detalhes:comma_value (damage))
DamageAmount:SetDrawLayer ("OVERLAY", 0)
+3 -3
View File
@@ -7,7 +7,7 @@ local CreateFrame = CreateFrame
local GetTime = GetTime
local GetCursorPosition = GetCursorPosition
local GameTooltip = GameTooltip
local _select = select
local select = select
local _detalhes = _G._detalhes
local gump = _detalhes.gump
@@ -17,7 +17,7 @@ function gump:NewLabel2 (parent, container, member, text, font, size, color)
font = font or "GameFontHighlightSmall"
local newFontString = parent:CreateFontString (nil, "OVERLAY", font)
local newFontString = parent:CreateFontString(nil, "OVERLAY", font)
if (member) then
container [member] = newFontString
end
@@ -71,7 +71,7 @@ function gump:NewDetailsButton (parent, container, instancia, func, param1, para
new_button:SetDisabledTexture (pic_disabled)
new_button:SetHighlightTexture(pic_highlight, "ADD")
local new_text = new_button:CreateFontString (nil, "OVERLAY", "GameFontNormal")
local new_text = new_button:CreateFontString(nil, "OVERLAY", "GameFontNormal")
new_text:SetPoint("center", new_button, "center")
new_button.text = new_text
+1 -1
View File
@@ -56,7 +56,7 @@ local libwindow = LibStub("LibWindow-1.1")
f.Close:SetScript("OnClick", function() f:Hide() end)
--title
f.Title = f.TitleBar:CreateFontString ("$parentTitle", "overlay", "GameFontNormal")
f.Title = f.TitleBar:CreateFontString("$parentTitle", "overlay", "GameFontNormal")
f.Title:SetPoint("center", f.TitleBar, "center")
f.Title:SetTextColor (.8, .8, .8, 1)
f.Title:SetText("Details! Benchmark")
+3 -3
View File
@@ -464,7 +464,7 @@ function Details:CreateCurrentDpsFrame(parent, name)
rightOrnamentTexture:SetAlpha(0.6)
--title bar
local TitleString = f:CreateFontString (nil, "overlay", "GameFontNormal")
local TitleString = f:CreateFontString(nil, "overlay", "GameFontNormal")
TitleString:SetPoint("top", f, "top", 0, -5)
TitleString:SetText("Details! Arena Real Time DPS Tracker")
DF:SetFontSize (TitleString, 9)
@@ -498,12 +498,12 @@ function Details:CreateCurrentDpsFrame(parent, name)
end
--labels for mythic dungeon / group party
local labelGroupDamage = f:CreateFontString (nil, "overlay", "GameFontNormal")
local labelGroupDamage = f:CreateFontString(nil, "overlay", "GameFontNormal")
labelGroupDamage:SetText("Real Time Group DPS")
DF:SetFontSize (labelGroupDamage, 14)
DF:SetFontOutline (labelGroupDamage, "NONE")
local labelGroupDamage_DPS = f:CreateFontString (nil, "overlay", "GameFontNormal")
local labelGroupDamage_DPS = f:CreateFontString(nil, "overlay", "GameFontNormal")
labelGroupDamage_DPS:SetText("0")
labelGroupDamage:SetPoint("center", f, "center", 0, 10)
+5 -5
View File
@@ -16,16 +16,16 @@
local _math_ceil = math.ceil --lua local
local _math_floor = math.floor --lua local
local ipairs = ipairs --lua local
local _pairs = pairs --lua local
local pairs = pairs --lua local
local _string_lower = string.lower --lua local
local _table_sort = table.sort --lua local
local _table_insert = table.insert --lua local
local tinsert = table.insert --lua local
local _unpack = unpack --lua local
local _setmetatable = setmetatable --lua local
local _GetSpellInfo = _detalhes.getspellinfo --api local
local _CreateFrame = CreateFrame --api local
local _GetTime = GetTime --api local
local GetTime = GetTime --api local
local _GetCursorPosition = GetCursorPosition --api local
local _GameTooltip = GameTooltip --api local
local UIParent = UIParent --api local
@@ -1014,7 +1014,7 @@
button.icon:SetTexture([[Interface\AddOns\Details\images\custom_icones]])
button.icon:SetTexCoord (p*(i-1), p*(i), 0, 1)
button.text = button:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
button.text = button:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
button.text:SetPoint("left", button.icon, "right", 4, 0)
button.text:SetText(attributes [i] and attributes [i].label or "")
button.text:SetTextColor (.9, .9, .9, 1)
@@ -1733,7 +1733,7 @@
local script = code_editor:GetText()
local func, errortext = loadstring (script)
if (not func) then
local firstLine = strsplit ("\n", script, 2)
local firstLine = strsplit("\n", script, 2)
errortext = errortext:gsub (firstLine, "")
errortext = errortext:gsub ("%[string \"", "")
errortext = errortext:gsub ("...\"]:", "")
+3 -3
View File
@@ -362,11 +362,11 @@ function Details:CreateEventTrackerFrame(parent, name)
local righticon = statusbar:CreateTexture("$parentRightIcon", "overlay")
righticon:SetPoint("right", line, "right", 0, 0)
local lefttext = statusbar:CreateFontString ("$parentLeftText", "overlay", "GameFontNormal")
local lefttext = statusbar:CreateFontString("$parentLeftText", "overlay", "GameFontNormal")
DF:SetFontSize (lefttext, 9)
lefttext:SetPoint("left", lefticon, "right", 2, 0)
local righttext = statusbar:CreateFontString ("$parentRightText", "overlay", "GameFontNormal")
local righttext = statusbar:CreateFontString("$parentRightText", "overlay", "GameFontNormal")
DF:SetFontSize (righttext, 9)
righttext:SetPoint("right", righticon, "left", -2, 0)
@@ -591,7 +591,7 @@ function Details:CreateEventTrackerFrame(parent, name)
end
--title text
local TitleString = f:CreateFontString (nil, "overlay", "GameFontNormal")
local TitleString = f:CreateFontString(nil, "overlay", "GameFontNormal")
TitleString:SetPoint("top", f, "top", 0, -3)
TitleString:SetText("Details!: Event Tracker")
local TitleBackground = f:CreateTexture(nil, "artwork")
+15 -15
View File
@@ -61,7 +61,7 @@ function Details:OpenForge()
end
if (not have_plugins_enabled and false) then
local nopluginLabel = f:CreateFontString (nil, "overlay", "GameFontNormal")
local nopluginLabel = f:CreateFontString(nil, "overlay", "GameFontNormal")
local nopluginIcon = f:CreateTexture(nil, "overlay")
nopluginIcon:SetPoint("bottomleft", f, "bottomleft", 10, 10)
nopluginIcon:SetSize(16, 16)
@@ -164,7 +164,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_PLAYERNAME"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeAllPlayersNameFilter")
@@ -228,7 +228,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_PETNAME"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeAllPetsNameFilter")
@@ -236,7 +236,7 @@ function Details:OpenForge()
entry:SetPoint("left", label, "right", 2, 0)
entry:SetTemplate(Details.gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE"))
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_OWNERNAME"] .. ": ")
label:SetPoint("left", entry.widget, "right", 20, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeAllPetsOwnerFilter")
@@ -315,7 +315,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_ENEMYNAME"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeAllEnemiesNameFilter")
@@ -412,7 +412,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_SPELLNAME"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeAllSpellsNameFilter")
@@ -420,7 +420,7 @@ function Details:OpenForge()
entry:SetPoint("left", label, "right", 2, 0)
entry:SetTemplate(Details.gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE"))
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_CASTERNAME"] .. ": ")
label:SetPoint("left", entry.widget, "right", 20, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeAllSpellsCasterFilter")
@@ -542,7 +542,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_SPELLNAME"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeEncounterSpellsNameFilter")
@@ -550,7 +550,7 @@ function Details:OpenForge()
entry:SetPoint("left", label, "right", 2, 0)
entry:SetTemplate(Details.gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE"))
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_CASTERNAME"] .. ": ")
label:SetPoint("left", entry.widget, "right", 20, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeEncounterSpellsCasterFilter")
@@ -558,7 +558,7 @@ function Details:OpenForge()
entry:SetPoint("left", label, "right", 2, 0)
entry:SetTemplate(Details.gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE"))
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_ENCOUNTERNAME"] .. ": ")
label:SetPoint("left", entry.widget, "right", 20, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeEncounterSpellsEncounterFilter")
@@ -702,7 +702,7 @@ function Details:OpenForge()
npcIdFrame:SetSize(600, 20)
npcIdFrame:SetPoint("topleft", f, "topleft", 164, -40)
local filterSpellNameLabel = npcIdFrame:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local filterSpellNameLabel = npcIdFrame:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
filterSpellNameLabel:SetText(L["STRING_FORGE_FILTER_SPELLNAME"] .. ": ")
filterSpellNameLabel:SetPoint("left", npcIdFrame, "left", 5, 0)
@@ -797,7 +797,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_BARTEXT"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeDBMBarsTextFilter")
@@ -805,7 +805,7 @@ function Details:OpenForge()
entry:SetPoint("left", label, "right", 2, 0)
entry:SetTemplate(Details.gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE"))
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_ENCOUNTERNAME"] .. ": ")
label:SetPoint("left", entry.widget, "right", 20, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeDBMBarsEncounterFilter")
@@ -928,7 +928,7 @@ function Details:OpenForge()
w:SetSize(600, 20)
w:SetPoint("topleft", f, "topleft", 164, -40)
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_BARTEXT"] .. ": ")
label:SetPoint("left", w, "left", 5, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeBigWigsBarsTextFilter")
@@ -936,7 +936,7 @@ function Details:OpenForge()
entry:SetPoint("left", label, "right", 2, 0)
entry:SetTemplate(Details.gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE"))
--
local label = w:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local label = w:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
label:SetText(L["STRING_FORGE_FILTER_ENCOUNTERNAME"] .. ": ")
label:SetPoint("left", entry.widget, "right", 20, 0)
local entry = fw:CreateTextEntry (w, nil, 120, 20, "entry", "DetailsForgeBWBarsEncounterFilter")
+3 -3
View File
@@ -16,7 +16,7 @@ local abs = _G.abs
local unpack = unpack
--api locals
local CreateFrame = CreateFrame
local _GetTime = GetTime
local GetTime = GetTime
local _GetCursorPosition = GetCursorPosition
local UIParent = UIParent
local _IsAltKeyDown = IsAltKeyDown
@@ -1933,7 +1933,7 @@ local lineScript_Onmousedown = function(self, button)
self._instance:HandleTextsOnMouseClick (self, "down")
self.mouse_down = _GetTime()
self.mouse_down = GetTime()
self.button = button
local x, y = _GetCursorPosition()
self.x = floor(x)
@@ -1964,7 +1964,7 @@ local lineScript_Onmouseup = function(self, button)
x = floor(x)
y = floor(y)
if (self.mouse_down and (self.mouse_down+0.4 > _GetTime() and (x == self.x and y == self.y)) or (x == self.x and y == self.y)) then
if (self.mouse_down and (self.mouse_down+0.4 > GetTime() and (x == self.x and y == self.y)) or (x == self.x and y == self.y)) then
if (self.button == "LeftButton" or self.button == "MiddleButton") then
if (self._instance.atributo == 5 or is_shift_down) then
--report
+2 -2
View File
@@ -4889,13 +4889,13 @@ do
tinsert(_G.UISpecialFrames, "DetailsLoadWallpaperImage")
local t = f:CreateFontString (nil, "overlay", "GameFontNormal")
local t = f:CreateFontString(nil, "overlay", "GameFontNormal")
t:SetText(Loc ["STRING_OPTIONS_WALLPAPER_LOAD_EXCLAMATION"])
t:SetPoint("topleft", f, "topleft", 15, -25)
t:SetJustifyH("left")
f.t = t
local filename = f:CreateFontString (nil, "overlay", "GameFontHighlightLeft")
local filename = f:CreateFontString(nil, "overlay", "GameFontHighlightLeft")
filename:SetPoint("topleft", f, "topleft", 15, -128)
filename:SetText(Loc ["STRING_OPTIONS_WALLPAPER_LOAD_FILENAME"])
+115 -115
View File
@@ -10,11 +10,11 @@ local _
--local _string_len = string.len
local _math_floor = math.floor
local ipairs = ipairs
local _pairs = pairs
local pairs = pairs
local type = type
--api locals
local _CreateFrame = CreateFrame
local _GetTime = GetTime
local GetTime = GetTime
local _GetSpellInfo = _detalhes.getspellinfo
local _GetCursorPosition = GetCursorPosition
local _unpack = unpack
@@ -619,12 +619,12 @@ function gump:CriaDetalheInfo (index)
info.bg:SetValue(100)
info.bg:SetSize(320, 47)
info.nome = info.bg:CreateFontString (nil, "OVERLAY", "GameFontNormal")
info.nome2 = info.bg:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
info.dano = info.bg:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
info.dano_porcento = info.bg:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
info.dano_media = info.bg:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
info.dano_dps = info.bg:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
info.nome = info.bg:CreateFontString(nil, "OVERLAY", "GameFontNormal")
info.nome2 = info.bg:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
info.dano = info.bg:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
info.dano_porcento = info.bg:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
info.dano_media = info.bg:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
info.dano_dps = info.bg:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
info.bg.overlay = info.bg:CreateTexture("DetailsPlayerDetailsWindow_DetalheInfoBG_Overlay" .. index, "ARTWORK")
info.bg.overlay:SetTexture("Interface\\AddOns\\Details\\images\\overlay_detalhes")
@@ -815,19 +815,19 @@ end
--cria os textos em geral da janela info
------------------------------------------------------------------------------------------------------------------------------
local function cria_textos (este_gump, SWW)
este_gump.nome = este_gump:CreateFontString (nil, "OVERLAY", "QuestFont_Large")
este_gump.nome = este_gump:CreateFontString(nil, "OVERLAY", "QuestFont_Large")
este_gump.nome:SetPoint("TOPLEFT", este_gump, "TOPLEFT", 105, -54)
este_gump.atributo_nome = este_gump:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
este_gump.atributo_nome = este_gump:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
este_gump.targets = SWW:CreateFontString (nil, "OVERLAY", "QuestFont_Large")
este_gump.targets = SWW:CreateFontString(nil, "OVERLAY", "QuestFont_Large")
este_gump.targets:SetPoint("TOPLEFT", este_gump, "TOPLEFT", 24, -273)
este_gump.targets:SetText(Loc ["STRING_TARGETS"] .. ":")
este_gump.avatar = este_gump:CreateTexture(nil, "overlay")
este_gump.avatar_bg = este_gump:CreateTexture(nil, "overlay")
este_gump.avatar_attribute = este_gump:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
este_gump.avatar_nick = este_gump:CreateFontString (nil, "overlay", "QuestFont_Large")
este_gump.avatar_attribute = este_gump:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
este_gump.avatar_nick = este_gump:CreateFontString(nil, "overlay", "QuestFont_Large")
este_gump.avatar:SetDrawLayer ("overlay", 3)
este_gump.avatar_bg:SetDrawLayer ("overlay", 2)
este_gump.avatar_nick:SetDrawLayer ("overlay", 4)
@@ -1728,12 +1728,12 @@ function gump:CriaJanelaInfo()
este_gump.apoio_icone_direito:SetHeight(13)
este_gump.topright_text1 = este_gump:CreateFontString (nil, "overlay", "GameFontNormal")
este_gump.topright_text1 = este_gump:CreateFontString(nil, "overlay", "GameFontNormal")
este_gump.topright_text1:SetPoint("bottomright", este_gump, "topright", -18 - (94 * (1-1)), -36)
este_gump.topright_text1:SetJustifyH("right")
_detalhes.gump:SetFontSize (este_gump.topright_text1, 10)
este_gump.topright_text2 = este_gump:CreateFontString (nil, "overlay", "GameFontNormal")
este_gump.topright_text2 = este_gump:CreateFontString(nil, "overlay", "GameFontNormal")
este_gump.topright_text2:SetPoint("bottomright", este_gump, "topright", -18 - (94 * (1-1)), -48)
este_gump.topright_text2:SetJustifyH("right")
_detalhes.gump:SetFontSize (este_gump.topright_text2, 10)
@@ -1811,7 +1811,7 @@ function gump:CriaJanelaInfo()
este_gump.no_targets:SetTexCoord (0.015625, 1, 0.01171875, 0.390625)
este_gump.no_targets:SetDesaturated(true)
este_gump.no_targets:SetAlpha(.7)
este_gump.no_targets.text = SWW:CreateFontString (nil, "overlay", "GameFontNormal")
este_gump.no_targets.text = SWW:CreateFontString(nil, "overlay", "GameFontNormal")
este_gump.no_targets.text:SetPoint("center", este_gump.no_targets, "center")
este_gump.no_targets.text:SetText(Loc ["STRING_NO_TARGET_BOX"])
este_gump.no_targets.text:SetTextColor (1, 1, 1, .4)
@@ -1959,7 +1959,7 @@ function gump:CriaJanelaInfo()
local avoidance_create = function(tab, frame)
--Percent Desc
local percent_desc = frame:CreateFontString (nil, "artwork", "GameFontNormal")
local percent_desc = frame:CreateFontString(nil, "artwork", "GameFontNormal")
percent_desc:SetText("Percent values are comparisons with the previous try.")
percent_desc:SetPoint("bottomleft", frame, "bottomleft", 13, 13 + PLAYER_DETAILS_STATUSBAR_HEIGHT)
percent_desc:SetTextColor (.5, .5, .5, 1)
@@ -1974,19 +1974,19 @@ function gump:CriaJanelaInfo()
local y = -5
local padding = 16
local summary_text = summaryBox:CreateFontString (nil, "artwork", "GameFontNormal")
local summary_text = summaryBox:CreateFontString(nil, "artwork", "GameFontNormal")
summary_text:SetText("Summary")
summary_text :SetPoint("topleft", summaryBox, "topleft", 5, y)
y = y - padding
--total damage received
local damagereceived = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local damagereceived = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
damagereceived:SetPoint("topleft", summaryBox, "topleft", 15, y)
damagereceived:SetText("Total Damage Taken:") --localize-me
damagereceived:SetTextColor (.8, .8, .8, 1)
local damagereceived_amt = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local damagereceived_amt = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
damagereceived_amt:SetPoint("left", damagereceived, "right", 2, 0)
damagereceived_amt:SetText("0")
tab.damagereceived = damagereceived_amt
@@ -1994,11 +1994,11 @@ function gump:CriaJanelaInfo()
y = y - padding
--per second
local damagepersecond = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local damagepersecond = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
damagepersecond:SetPoint("topleft", summaryBox, "topleft", 20, y)
damagepersecond:SetText("Per Second:") --localize-me
local damagepersecond_amt = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local damagepersecond_amt = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
damagepersecond_amt:SetPoint("left", damagepersecond, "right", 2, 0)
damagepersecond_amt:SetText("0")
tab.damagepersecond = damagepersecond_amt
@@ -2006,12 +2006,12 @@ function gump:CriaJanelaInfo()
y = y - padding
--total absorbs
local absorbstotal = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local absorbstotal = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
absorbstotal:SetPoint("topleft", summaryBox, "topleft", 15, y)
absorbstotal:SetText("Total Absorbs:") --localize-me
absorbstotal:SetTextColor (.8, .8, .8, 1)
local absorbstotal_amt = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local absorbstotal_amt = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
absorbstotal_amt:SetPoint("left", absorbstotal, "right", 2, 0)
absorbstotal_amt:SetText("0")
tab.absorbstotal = absorbstotal_amt
@@ -2019,11 +2019,11 @@ function gump:CriaJanelaInfo()
y = y - padding
--per second
local absorbstotalpersecond = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local absorbstotalpersecond = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
absorbstotalpersecond:SetPoint("topleft", summaryBox, "topleft", 20, y)
absorbstotalpersecond:SetText("Per Second:") --localize-me
local absorbstotalpersecond_amt = summaryBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local absorbstotalpersecond_amt = summaryBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
absorbstotalpersecond_amt:SetPoint("left", absorbstotalpersecond, "right", 2, 0)
absorbstotalpersecond_amt:SetText("0")
tab.absorbstotalpersecond = absorbstotalpersecond_amt
@@ -2038,29 +2038,29 @@ function gump:CriaJanelaInfo()
meleeBox:SetPoint("topleft", summaryBox, "bottomleft", 0, -5)
meleeBox:SetSize(200, 160)
local melee_text = meleeBox:CreateFontString (nil, "artwork", "GameFontNormal")
local melee_text = meleeBox:CreateFontString(nil, "artwork", "GameFontNormal")
melee_text:SetText("Melee")
melee_text :SetPoint("topleft", meleeBox, "topleft", 5, y)
y = y - padding
--dodge
local dodge = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local dodge = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
dodge:SetPoint("topleft", meleeBox, "topleft", 15, y)
dodge:SetText("Dodge:") --localize-me
dodge:SetTextColor (.8, .8, .8, 1)
local dodge_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local dodge_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
dodge_amt:SetPoint("left", dodge, "right", 2, 0)
dodge_amt:SetText("0")
tab.dodge = dodge_amt
y = y - padding
local dodgepersecond = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local dodgepersecond = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
dodgepersecond:SetPoint("topleft", meleeBox, "topleft", 20, y)
dodgepersecond:SetText("Per Second:") --localize-me
local dodgepersecond_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local dodgepersecond_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
dodgepersecond_amt:SetPoint("left", dodgepersecond, "right", 2, 0)
dodgepersecond_amt:SetText("0")
tab.dodgepersecond = dodgepersecond_amt
@@ -2068,21 +2068,21 @@ function gump:CriaJanelaInfo()
y = y - padding
-- parry
local parry = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local parry = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
parry:SetPoint("topleft", meleeBox, "topleft", 15, y)
parry:SetText("Parry:") --localize-me
parry:SetTextColor (.8, .8, .8, 1)
local parry_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local parry_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
parry_amt:SetPoint("left", parry, "right", 2, 0)
parry_amt:SetText("0")
tab.parry = parry_amt
y = y - padding
local parrypersecond = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local parrypersecond = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
parrypersecond:SetPoint("topleft", meleeBox, "topleft", 20, y)
parrypersecond:SetText("Per Second:") --localize-me
local parrypersecond_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local parrypersecond_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
parrypersecond_amt:SetPoint("left", parrypersecond, "right", 2, 0)
parrypersecond_amt:SetText("0")
tab.parrypersecond = parrypersecond_amt
@@ -2090,31 +2090,31 @@ function gump:CriaJanelaInfo()
y = y - padding
-- block
local block = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local block = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
block:SetPoint("topleft", meleeBox, "topleft", 15, y)
block:SetText("Block:") --localize-me
block:SetTextColor (.8, .8, .8, 1)
local block_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local block_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
block_amt:SetPoint("left", block, "right", 2, 0)
block_amt:SetText("0")
tab.block = block_amt
y = y - padding
local blockpersecond = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local blockpersecond = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
blockpersecond:SetPoint("topleft", meleeBox, "topleft", 20, y)
blockpersecond:SetText("Per Second:") --localize-me
local blockpersecond_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local blockpersecond_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
blockpersecond_amt:SetPoint("left", blockpersecond, "right", 2, 0)
blockpersecond_amt:SetText("0")
tab.blockpersecond = blockpersecond_amt
y = y - padding
local blockeddamage = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local blockeddamage = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
blockeddamage:SetPoint("topleft", meleeBox, "topleft", 20, y)
blockeddamage:SetText("Damage Blocked:") --localize-me
local blockeddamage_amt = meleeBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local blockeddamage_amt = meleeBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
blockeddamage_amt:SetPoint("left", blockeddamage, "right", 2, 0)
blockeddamage_amt:SetText("0")
tab.blockeddamage_amt = blockeddamage_amt
@@ -2129,18 +2129,18 @@ function gump:CriaJanelaInfo()
absorbsBox:SetPoint("topleft", summaryBox, "topright", 10, 0)
absorbsBox:SetSize(200, 160)
local absorb_text = absorbsBox:CreateFontString (nil, "artwork", "GameFontNormal")
local absorb_text = absorbsBox:CreateFontString(nil, "artwork", "GameFontNormal")
absorb_text:SetText("Absorb")
absorb_text :SetPoint("topleft", absorbsBox, "topleft", 5, y)
y = y - padding
--full absorbs
local fullsbsorbed = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local fullsbsorbed = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
fullsbsorbed:SetPoint("topleft", absorbsBox, "topleft", 20, y)
fullsbsorbed:SetText("Full Absorbs:") --localize-me
fullsbsorbed:SetTextColor (.8, .8, .8, 1)
local fullsbsorbed_amt = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local fullsbsorbed_amt = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
fullsbsorbed_amt:SetPoint("left", fullsbsorbed, "right", 2, 0)
fullsbsorbed_amt:SetText("0")
tab.fullsbsorbed = fullsbsorbed_amt
@@ -2148,11 +2148,11 @@ function gump:CriaJanelaInfo()
y = y - padding
--partially absorbs
local partiallyabsorbed = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local partiallyabsorbed = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
partiallyabsorbed:SetPoint("topleft", absorbsBox, "topleft", 20, y)
partiallyabsorbed:SetText("Partially Absorbed:") --localize-me
partiallyabsorbed:SetTextColor (.8, .8, .8, 1)
local partiallyabsorbed_amt = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local partiallyabsorbed_amt = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
partiallyabsorbed_amt:SetPoint("left", partiallyabsorbed, "right", 2, 0)
partiallyabsorbed_amt:SetText("0")
tab.partiallyabsorbed = partiallyabsorbed_amt
@@ -2160,10 +2160,10 @@ function gump:CriaJanelaInfo()
y = y - padding
--partially absorbs per second
local partiallyabsorbedpersecond = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local partiallyabsorbedpersecond = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
partiallyabsorbedpersecond:SetPoint("topleft", absorbsBox, "topleft", 25, y)
partiallyabsorbedpersecond:SetText("Average:") --localize-me
local partiallyabsorbedpersecond_amt = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local partiallyabsorbedpersecond_amt = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
partiallyabsorbedpersecond_amt:SetPoint("left", partiallyabsorbedpersecond, "right", 2, 0)
partiallyabsorbedpersecond_amt:SetText("0")
tab.partiallyabsorbedpersecond = partiallyabsorbedpersecond_amt
@@ -2171,11 +2171,11 @@ function gump:CriaJanelaInfo()
y = y - padding
--no absorbs
local noabsorbs = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local noabsorbs = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
noabsorbs:SetPoint("topleft", absorbsBox, "topleft", 20, y)
noabsorbs:SetText("No Absorption:") --localize-me
noabsorbs:SetTextColor (.8, .8, .8, 1)
local noabsorbs_amt = absorbsBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local noabsorbs_amt = absorbsBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
noabsorbs_amt:SetPoint("left", noabsorbs, "right", 2, 0)
noabsorbs_amt:SetText("0")
tab.noabsorbs = noabsorbs_amt
@@ -2190,18 +2190,18 @@ function gump:CriaJanelaInfo()
healingBox:SetPoint("topleft", absorbsBox, "bottomleft", 0, -5)
healingBox:SetSize(200, 160)
local healing_text = healingBox:CreateFontString (nil, "artwork", "GameFontNormal")
local healing_text = healingBox:CreateFontString(nil, "artwork", "GameFontNormal")
healing_text:SetText("Healing")
healing_text :SetPoint("topleft", healingBox, "topleft", 5, y)
y = y - padding
--self healing
local selfhealing = healingBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local selfhealing = healingBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
selfhealing:SetPoint("topleft", healingBox, "topleft", 20, y)
selfhealing:SetText("Self Healing:") --localize-me
selfhealing:SetTextColor (.8, .8, .8, 1)
local selfhealing_amt = healingBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local selfhealing_amt = healingBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
selfhealing_amt:SetPoint("left", selfhealing, "right", 2, 0)
selfhealing_amt:SetText("0")
tab.selfhealing = selfhealing_amt
@@ -2209,10 +2209,10 @@ function gump:CriaJanelaInfo()
y = y - padding
--self healing per second
local selfhealingpersecond = healingBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local selfhealingpersecond = healingBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
selfhealingpersecond:SetPoint("topleft", healingBox, "topleft", 25, y)
selfhealingpersecond:SetText("Per Second:") --localize-me
local selfhealingpersecond_amt = healingBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local selfhealingpersecond_amt = healingBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
selfhealingpersecond_amt:SetPoint("left", selfhealingpersecond, "right", 2, 0)
selfhealingpersecond_amt:SetText("0")
tab.selfhealingpersecond = selfhealingpersecond_amt
@@ -2220,11 +2220,11 @@ function gump:CriaJanelaInfo()
y = y - padding
for i = 1, 5 do
local healer = healingBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local healer = healingBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
healer:SetPoint("topleft", healingBox, "topleft", 20, y + ((i-1)*15)*-1)
healer:SetText("healer name:") --localize-me
healer:SetTextColor (.8, .8, .8, 1)
local healer_amt = healingBox:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local healer_amt = healingBox:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
healer_amt:SetPoint("left", healer, "right", 2, 0)
healer_amt:SetText("0")
tab ["healer" .. i] = {healer, healer_amt}
@@ -2242,7 +2242,7 @@ function gump:CriaJanelaInfo()
spellsBox:SetPoint("topleft", absorbsBox, "topright", 10, 0)
spellsBox:SetSize(346, 160 * 2 + 5)
local spells_text = spellsBox:CreateFontString (nil, "artwork", "GameFontNormal")
local spells_text = spellsBox:CreateFontString(nil, "artwork", "GameFontNormal")
spells_text:SetText("Spells")
spells_text :SetPoint("topleft", spellsBox, "topleft", 5, y)
@@ -2279,12 +2279,12 @@ function gump:CriaJanelaInfo()
icon:SetSize(14, 14)
icon:SetPoint("left", frame_tooltip, "left")
local spell = frame_tooltip:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local spell = frame_tooltip:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
spell:SetPoint("left", icon, "right", 2, 0)
spell:SetText("spell name:") --localize-me
spell:SetTextColor (.8, .8, .8, 1)
local spell_amt = frame_tooltip:CreateFontString (nil, "artwork", "GameFontHighlightSmall")
local spell_amt = frame_tooltip:CreateFontString(nil, "artwork", "GameFontHighlightSmall")
spell_amt:SetPoint("left", spell, "right", 2, 0)
spell_amt:SetText("0")
@@ -2738,10 +2738,10 @@ function gump:CriaJanelaInfo()
local icon = line:CreateTexture("$parentIcon", "overlay")
icon:SetSize(scroll_line_height -2 , scroll_line_height - 2)
local name = line:CreateFontString ("$parentName", "overlay", "GameFontNormal")
local uptime = line:CreateFontString ("$parentName", "overlay", "GameFontNormal")
local apply = line:CreateFontString ("$parentName", "overlay", "GameFontNormal")
local refresh = line:CreateFontString ("$parentName", "overlay", "GameFontNormal")
local name = line:CreateFontString("$parentName", "overlay", "GameFontNormal")
local uptime = line:CreateFontString("$parentName", "overlay", "GameFontNormal")
local apply = line:CreateFontString("$parentName", "overlay", "GameFontNormal")
local refresh = line:CreateFontString("$parentName", "overlay", "GameFontNormal")
--local waButton = DF:CreateButton(line, wa_button, 18, 18)
--waButton:SetIcon ([[Interface\AddOns\WeakAuras\Media\Textures\icon]])
@@ -3020,7 +3020,7 @@ function gump:CriaJanelaInfo()
if (player_2) then
local player_2_target = player_2.targets
player_2_target_pool = {}
for target_name, amount in _pairs(player_2_target) do
for target_name, amount in pairs(player_2_target) do
player_2_target_pool [#player_2_target_pool+1] = {target_name, amount}
end
table.sort (player_2_target_pool, _detalhes.Sort2)
@@ -3039,7 +3039,7 @@ function gump:CriaJanelaInfo()
if (player_3) then
local player_3_target = player_3.targets
player_3_target_pool = {}
for target_name, amount in _pairs(player_3_target) do
for target_name, amount in pairs(player_3_target) do
player_3_target_pool [#player_3_target_pool+1] = {target_name, amount}
end
table.sort (player_3_target_pool, _detalhes.Sort2)
@@ -3253,7 +3253,7 @@ function gump:CriaJanelaInfo()
--main player skills
local spells_sorted = {}
for spellid, spelltable in _pairs(player.spells._ActorTable) do
for spellid, spelltable in pairs(player.spells._ActorTable) do
spells_sorted [#spells_sorted+1] = {spelltable, spelltable.total}
end
@@ -3261,7 +3261,7 @@ function gump:CriaJanelaInfo()
for petIndex, petName in ipairs(player:Pets()) do
local petActor = info.instancia.showing [player.tipo]:PegarCombatente (nil, petName)
if (petActor) then
for _spellid, _skill in _pairs(petActor:GetActorSpells()) do
for _spellid, _skill in pairs(petActor:GetActorSpells()) do
spells_sorted [#spells_sorted+1] = {_skill, _skill.total, petName}
end
end
@@ -3289,14 +3289,14 @@ function gump:CriaJanelaInfo()
player_2_spells_sorted = {}
--player 2 spells
for spellid, spelltable in _pairs(other_players [1].spells._ActorTable) do
for spellid, spelltable in pairs(other_players [1].spells._ActorTable) do
player_2_spells_sorted [#player_2_spells_sorted+1] = {spelltable, spelltable.total}
end
--player 2 pets
for petIndex, petName in ipairs(other_players [1]:Pets()) do
local petActor = info.instancia.showing [player.tipo]:PegarCombatente (nil, petName)
if (petActor) then
for _spellid, _skill in _pairs(petActor:GetActorSpells()) do
for _spellid, _skill in pairs(petActor:GetActorSpells()) do
player_2_spells_sorted [#player_2_spells_sorted+1] = {_skill, _skill.total, petName}
end
end
@@ -3331,14 +3331,14 @@ function gump:CriaJanelaInfo()
if (other_players [2]) then
--player 3 spells
for spellid, spelltable in _pairs(other_players [2].spells._ActorTable) do
for spellid, spelltable in pairs(other_players [2].spells._ActorTable) do
player_3_spells_sorted [#player_3_spells_sorted+1] = {spelltable, spelltable.total}
end
--player 3 pets
for petIndex, petName in ipairs(other_players [2]:Pets()) do
local petActor = info.instancia.showing [player.tipo]:PegarCombatente (nil, petName)
if (petActor) then
for _spellid, _skill in _pairs(petActor:GetActorSpells()) do
for _spellid, _skill in pairs(petActor:GetActorSpells()) do
player_3_spells_sorted [#player_3_spells_sorted+1] = {_skill, _skill.total, petName}
end
end
@@ -3594,7 +3594,7 @@ function gump:CriaJanelaInfo()
--player 1 targets
local my_targets = self.tab.player.targets
local target_pool = {}
for target_name, amount in _pairs(my_targets) do
for target_name, amount in pairs(my_targets) do
target_pool [#target_pool+1] = {target_name, amount}
end
table.sort (target_pool, _detalhes.Sort2)
@@ -3668,8 +3668,8 @@ function gump:CriaJanelaInfo()
-- player 1
local player_1_skills = {}
for spellid, spell in _pairs(player_1.spells._ActorTable) do
for name, amount in _pairs(spell.targets) do
for spellid, spell in pairs(player_1.spells._ActorTable) do
for name, amount in pairs(spell.targets) do
if (name == target_name) then
player_1_skills [#player_1_skills+1] = {spellid, amount}
end
@@ -3684,8 +3684,8 @@ function gump:CriaJanelaInfo()
local player_2_skills = {}
local player_2_top
if (player_2) then
for spellid, spell in _pairs(player_2.spells._ActorTable) do
for name, amount in _pairs(spell.targets) do
for spellid, spell in pairs(player_2.spells._ActorTable) do
for name, amount in pairs(spell.targets) do
if (name == target_name) then
player_2_skills [#player_2_skills+1] = {spellid, amount}
end
@@ -3700,8 +3700,8 @@ function gump:CriaJanelaInfo()
local player_3_skills = {}
local player_3_top
if (player_3) then
for spellid, spell in _pairs(player_3.spells._ActorTable) do
for name, amount in _pairs(spell.targets) do
for spellid, spell in pairs(player_3.spells._ActorTable) do
for name, amount in pairs(spell.targets) do
if (name == target_name) then
player_3_skills [#player_3_skills+1] = {spellid, amount}
end
@@ -3969,7 +3969,7 @@ function gump:CriaJanelaInfo()
else
local spellname = GetSpellInfo(spellid)
local extra_search_found
for casted_spellid, amount in _pairs(player1_misc.spell_cast or {}) do
for casted_spellid, amount in pairs(player1_misc.spell_cast or {}) do
local casted_spellname = GetSpellInfo(casted_spellid)
if (casted_spellname == spellname) then
frame1.tooltip.casts_label3:SetText(amount)
@@ -4133,7 +4133,7 @@ function gump:CriaJanelaInfo()
local amt_casts = player2_misc.spell_cast and player2_misc.spell_cast [spellid]
if (not amt_casts) then
local spellname = GetSpellInfo(spellid)
for casted_spellid, amount in _pairs(player2_misc.spell_cast or {}) do
for casted_spellid, amount in pairs(player2_misc.spell_cast or {}) do
local casted_spellname = GetSpellInfo(casted_spellid)
if (casted_spellname == spellname) then
amt_casts = amount
@@ -4310,7 +4310,7 @@ function gump:CriaJanelaInfo()
local amt_casts = player3_misc.spell_cast and player3_misc.spell_cast [spellid]
if (not amt_casts) then
local spellname = GetSpellInfo(spellid)
for casted_spellid, amount in _pairs(player3_misc.spell_cast or {}) do
for casted_spellid, amount in pairs(player3_misc.spell_cast or {}) do
local casted_spellname = GetSpellInfo(casted_spellid)
if (casted_spellname == spellname) then
amt_casts = amount
@@ -4418,7 +4418,7 @@ function gump:CriaJanelaInfo()
bar:SetScript("OnLeave", on_leave)
end
bar.lefttext = bar:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
bar.lefttext = bar:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
local _, size, flags = bar.lefttext:GetFont()
local font = SharedMedia:Fetch ("font", "Arial Narrow")
@@ -4435,7 +4435,7 @@ function gump:CriaJanelaInfo()
bar.lefttext:SetWidth(110)
end
bar.righttext = bar:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
bar.righttext = bar:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
local _, size, flags = bar.righttext:GetFont()
local font = SharedMedia:Fetch ("font", "Arial Narrow")
@@ -4445,7 +4445,7 @@ function gump:CriaJanelaInfo()
bar.righttext:SetJustifyH("right")
bar.righttext:SetTextColor (1, 1, 1, 1)
bar.righttext2 = bar:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
bar.righttext2 = bar:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
local _, size, flags = bar.righttext2:GetFont()
local font = SharedMedia:Fetch ("font", "Arial Narrow")
@@ -4479,67 +4479,67 @@ function gump:CriaJanelaInfo()
background:SetPoint("topleft", tooltip, "topleft", 0, 0)
background:SetPoint("bottomright", tooltip, "bottomright", 0, 0)
tooltip.casts_label = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.casts_label = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.casts_label:SetPoint("topleft", tooltip, "topleft", x_start, -2 + (y*0))
tooltip.casts_label:SetText("Total Casts:")
tooltip.casts_label:SetJustifyH("left")
tooltip.casts_label2 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.casts_label2 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.casts_label2:SetPoint("topright", tooltip, "topright", -x_start, -2 + (y*0))
tooltip.casts_label2:SetText("0")
tooltip.casts_label2:SetJustifyH("right")
tooltip.casts_label3 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.casts_label3 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.casts_label3:SetPoint("topright", tooltip, "topright", -x_start - 46, -2 + (y*0))
tooltip.casts_label3:SetText("0")
tooltip.casts_label3:SetJustifyH("right")
tooltip.hits_label = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.hits_label = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.hits_label:SetPoint("topleft", tooltip, "topleft", x_start, -14 + (y*1))
tooltip.hits_label:SetText("Total Hits:")
tooltip.hits_label:SetJustifyH("left")
tooltip.hits_label2 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.hits_label2 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.hits_label2:SetPoint("topright", tooltip, "topright", -x_start, -14 + (y*1))
tooltip.hits_label2:SetText("0")
tooltip.hits_label2:SetJustifyH("right")
tooltip.hits_label3 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.hits_label3 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.hits_label3:SetPoint("topright", tooltip, "topright", -x_start - 46, -14 + (y*1))
tooltip.hits_label3:SetText("0")
tooltip.hits_label3:SetJustifyH("right")
tooltip.average_label = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.average_label = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.average_label:SetPoint("topleft", tooltip, "topleft", x_start, -26 + (y*2))
tooltip.average_label:SetText("Average:")
tooltip.average_label:SetJustifyH("left")
tooltip.average_label2 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.average_label2 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.average_label2:SetPoint("topright", tooltip, "topright", -x_start, -26 + (y*2))
tooltip.average_label2:SetText("0")
tooltip.average_label2:SetJustifyH("right")
tooltip.average_label3 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.average_label3 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.average_label3:SetPoint("topright", tooltip, "topright", -x_start - 46, -26 + (y*2))
tooltip.average_label3:SetText("0")
tooltip.average_label3:SetJustifyH("right")
tooltip.crit_label = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.crit_label = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.crit_label:SetPoint("topleft", tooltip, "topleft", x_start, -38 + (y*3))
tooltip.crit_label:SetText("Critical:")
tooltip.crit_label:SetJustifyH("left")
tooltip.crit_label2 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.crit_label2 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.crit_label2:SetPoint("topright", tooltip, "topright", -x_start, -38 + (y*3))
tooltip.crit_label2:SetText("0")
tooltip.crit_label2:SetJustifyH("right")
tooltip.crit_label3 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.crit_label3 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.crit_label3:SetPoint("topright", tooltip, "topright", -x_start - 46, -38 + (y*3))
tooltip.crit_label3:SetText("0")
tooltip.crit_label3:SetJustifyH("right")
tooltip.uptime_label = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.uptime_label = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.uptime_label:SetPoint("topleft", tooltip, "topleft", x_start, -50 + (y*4))
tooltip.uptime_label:SetText("Uptime:")
tooltip.uptime_label:SetJustifyH("left")
tooltip.uptime_label2 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.uptime_label2 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.uptime_label2:SetPoint("topright", tooltip, "topright", -x_start, -50 + (y*4))
tooltip.uptime_label2:SetText("0")
tooltip.uptime_label2:SetJustifyH("right")
tooltip.uptime_label3 = tooltip:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
tooltip.uptime_label3 = tooltip:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
tooltip.uptime_label3:SetPoint("topright", tooltip, "topright", -x_start - 46, -50 + (y*4))
tooltip.uptime_label3:SetText("0")
tooltip.uptime_label3:SetJustifyH("right")
@@ -4617,7 +4617,7 @@ function gump:CriaJanelaInfo()
bar:SetHeight(14)
bar.icon = spellicon
bar.lefttext = bar:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
bar.lefttext = bar:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
local _, size, flags = bar.lefttext:GetFont()
local font = SharedMedia:Fetch ("font", "Arial Narrow")
bar.lefttext:SetFont (font, 11)
@@ -4633,7 +4633,7 @@ function gump:CriaJanelaInfo()
bar.lefttext:SetWidth(80)
end
bar.righttext = bar:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
bar.righttext = bar:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
local _, size, flags = bar.righttext:GetFont()
local font = SharedMedia:Fetch ("font", "Arial Narrow")
bar.righttext:SetFont (font, 11)
@@ -4641,7 +4641,7 @@ function gump:CriaJanelaInfo()
bar.righttext:SetJustifyH("right")
bar.righttext:SetTextColor (1, 1, 1, 1)
bar.righttext2 = bar:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
bar.righttext2 = bar:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
local _, size, flags = bar.righttext2:GetFont()
local font = SharedMedia:Fetch ("font", "Arial Narrow")
bar.righttext2:SetFont (font, 11)
@@ -4693,7 +4693,7 @@ function gump:CriaJanelaInfo()
frame1.tooltip = create_tooltip ("DetailsPlayerComparisonBox1Tooltip")
frame1.tooltip:SetWidth(spell_compare_frame_width[1])
local playername1 = frame1:CreateFontString (nil, "overlay", "GameFontNormal")
local playername1 = frame1:CreateFontString(nil, "overlay", "GameFontNormal")
playername1:SetPoint("bottomleft", frame1, "topleft", 2, 0)
playername1:SetText("Player 1")
frame1.name_label = playername1
@@ -4745,17 +4745,17 @@ function gump:CriaJanelaInfo()
frame2.tooltip = create_tooltip ("DetailsPlayerComparisonBox2Tooltip")
frame2.tooltip:SetWidth(spell_compare_frame_width[2])
local playername2 = frame2:CreateFontString (nil, "overlay", "GameFontNormal")
local playername2 = frame2:CreateFontString(nil, "overlay", "GameFontNormal")
playername2:SetPoint("bottomleft", frame2, "topleft", 2, 0)
playername2:SetText("Player 2")
frame2.name_label = playername2
local playername2_percent = frame2:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local playername2_percent = frame2:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
playername2_percent:SetPoint("bottomright", frame2, "topright", -2, 0)
playername2_percent:SetText("Player 1 %")
playername2_percent:SetTextColor (.6, .6, .6)
local noPLayersToShow = frame2:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local noPLayersToShow = frame2:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
noPLayersToShow:SetPoint("center")
noPLayersToShow:SetText("There's no more players to compare (with the same class/spec)")
noPLayersToShow:SetSize(spell_compare_frame_width[2] - 10, spell_compare_frame_height)
@@ -4807,19 +4807,19 @@ function gump:CriaJanelaInfo()
frame3.tooltip = create_tooltip ("DetailsPlayerComparisonBox3Tooltip")
frame3.tooltip:SetWidth(spell_compare_frame_width[3])
local playername3 = frame3:CreateFontString (nil, "overlay", "GameFontNormal")
local playername3 = frame3:CreateFontString(nil, "overlay", "GameFontNormal")
playername3:SetPoint("bottomleft", frame3, "topleft", 2, 0)
playername3:SetText("Player 3")
frame3.name_label = playername3
local playername3_percent = frame3:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local playername3_percent = frame3:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
playername3_percent:SetPoint("bottomright", frame3, "topright", -2, 0)
playername3_percent:SetText("Player 1 %")
playername3_percent:SetTextColor (.6, .6, .6)
frame3.name_label_percent = playername3_percent
local noPLayersToShow = frame3:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local noPLayersToShow = frame3:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
noPLayersToShow:SetPoint("center")
noPLayersToShow:SetText("There's no more players to compare (with the same class/spec)")
noPLayersToShow:SetSize(spell_compare_frame_width[2] - 10, spell_compare_frame_height)
@@ -4877,7 +4877,7 @@ function gump:CriaJanelaInfo()
local my_spells = {}
local my_spells_total = 0
--build my spell list
for spellid, _ in _pairs(playerObject.spells._ActorTable) do
for spellid, _ in pairs(playerObject.spells._ActorTable) do
my_spells [spellid] = true
my_spells_total = my_spells_total + 1
end
@@ -4894,7 +4894,7 @@ function gump:CriaJanelaInfo()
if (actor.classe == class and actor ~= playerObject) then
local same_spells = 0
for spellid, _ in _pairs(actor.spells._ActorTable) do
for spellid, _ in pairs(actor.spells._ActorTable) do
if (my_spells [spellid]) then
same_spells = same_spells + 1
end
@@ -5513,7 +5513,7 @@ local row_on_mousedown = function(self, button)
return
end
self.mouse_down = _GetTime()
self.mouse_down = GetTime()
local x, y = _GetCursorPosition()
self.x = _math_floor(x)
self.y = _math_floor(y)
@@ -5540,7 +5540,7 @@ local row_on_mouseup = function(self, button)
local x, y = _GetCursorPosition()
x = _math_floor(x)
y = _math_floor(y)
if ((self.mouse_down+0.4 > _GetTime() and (x == self.x and y == self.y)) or (x == self.x and y == self.y)) then
if ((self.mouse_down+0.4 > GetTime() and (x == self.x and y == self.y)) or (x == self.x and y == self.y)) then
--setar os textos
if (self.isMain) then --se no for uma barra de alvo
@@ -5688,7 +5688,7 @@ local target_on_enter = function(self)
end
--add and sort
for target_name, amount in _pairs(ActorTargetsContainer) do
for target_name, amount in pairs(ActorTargetsContainer) do
--print(target_name, amount)
ActorTargetsSortTable [#ActorTargetsSortTable+1] = {target_name, amount or 0}
total = total + (amount or 0)
+2 -2
View File
@@ -34,11 +34,11 @@ function Details:OpenProfiler()
logo:SetPoint("center", f, "center", 0, 0)
logo:SetPoint("top", f, "top", 20, 20)
local string_profiler = f:CreateFontString (nil, "artwork", "GameFontNormal")
local string_profiler = f:CreateFontString(nil, "artwork", "GameFontNormal")
string_profiler:SetPoint("top", logo, "bottom", -20, 10)
string_profiler:SetText("Profiler!")
local string_profiler = f:CreateFontString (nil, "artwork", "GameFontNormal")
local string_profiler = f:CreateFontString(nil, "artwork", "GameFontNormal")
string_profiler:SetPoint("topleft", f, "topleft", 10, -130)
string_profiler:SetText(L["STRING_OPTIONS_PROFILE_SELECTEXISTING"])
string_profiler:SetWidth(230)
+1 -1
View File
@@ -81,7 +81,7 @@ function Details.OpenRunCodeWindow()
local script = code_editor:GetText()
local func, errortext = loadstring (script, "Q")
if (not func) then
local firstLine = strsplit ("\n", script, 2)
local firstLine = strsplit("\n", script, 2)
errortext = errortext:gsub (firstLine, "")
errortext = errortext:gsub ("%[string \"", "")
errortext = errortext:gsub ("...\"]:", "")
+1 -1
View File
@@ -189,7 +189,7 @@ function Details:OpenRaidHistoryWindow (_raid, _boss, _difficulty, _role, _guild
local rotation = DF:CreateAnimation(animationHub, "ROTATION", 1, 3, -360)
rotation:SetTarget (f.SyncTextureCircle)
f.SyncText = workingFrame:CreateFontString (nil, "border", "GameFontNormal")
f.SyncText = workingFrame:CreateFontString(nil, "border", "GameFontNormal")
f.SyncText:SetPoint("right", f.SyncTextureBackground, "left", 0, 0)
f.SyncText:SetText("working")
+3 -3
View File
@@ -188,7 +188,7 @@ do
texture_highlight_frame.texture = button.texture
texture_highlight_frame.MainFrame = button
button.text = button:CreateFontString (nil, "overlay", "GameFontNormal")
button.text = button:CreateFontString(nil, "overlay", "GameFontNormal")
button.text:SetPoint("left", button.texture, "right", 2, 0)
button.attribute = attribute
button.sub_attribute = sub_attribute
@@ -225,7 +225,7 @@ do
title_icon:SetTexture(texture)
title_icon:SetTexCoord (l, r, t, b)
title_icon:SetSize(18, 18)
local title_str = allDisplaysFrame:CreateFontString (nil, "overlay", "GameFontNormal")
local title_str = allDisplaysFrame:CreateFontString(nil, "overlay", "GameFontNormal")
title_str:SetPoint("left", title_icon, "right", 2, 0)
title_str:SetText(loc_attribute_name)
@@ -266,7 +266,7 @@ do
title_icon:SetTexCoord(412/512, 441/512, 43/512, 79/512)
title_icon:SetVertexColor(.7, .6, .5, 1)
title_icon:SetSize(16, 16)
local title_str = allDisplaysFrame:CreateFontString (nil, "overlay", "GameFontNormal")
local title_str = allDisplaysFrame:CreateFontString(nil, "overlay", "GameFontNormal")
title_str:SetPoint("left", title_icon, "right", 2, 0)
title_str:SetText("Scripts")
+1 -1
View File
@@ -2039,7 +2039,7 @@ function _detalhes:OpenAuraPanel (spellid, spellname, spellicon, encounterid, tr
f.Close:SetScript("OnClick", function() f:Hide() end)
--title
f.Title = f.TitleBar:CreateFontString ("$parentTitle", "overlay", "GameFontNormal")
f.Title = f.TitleBar:CreateFontString("$parentTitle", "overlay", "GameFontNormal")
f.Title:SetPoint("center", f.TitleBar, "center")
f.Title:SetText("Details! Create Aura")
+31 -31
View File
@@ -65,7 +65,7 @@ function _detalhes:OpenWelcomeWindow()
cancel:GetNormalTexture():SetDesaturated(true)
cancel:Disable()
local cancelText = cancel:CreateFontString (nil, "overlay", "GameFontNormal")
local cancelText = cancel:CreateFontString(nil, "overlay", "GameFontNormal")
cancelText:SetTextColor (1, 1, 1)
cancelText:SetPoint("left", cancel, "right", 2, 0)
cancelText:SetText(Loc ["STRING_WELCOME_69"])
@@ -243,7 +243,7 @@ local window_openned_at = time()
angel:SetHeight(256)
angel:SetAlpha(.2)
local texto1 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto1 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto1:SetPoint("topleft", window, "topleft", 13, -220)
texto1:SetText(Loc ["STRING_WELCOME_1"])
texto1:SetJustifyH("left")
@@ -265,11 +265,11 @@ local window_openned_at = time()
bg55:SetAlpha(.05)
bg55:SetTexCoord (1, 0, 0, 1)
local texto55 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto55 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto55:SetPoint("topleft", window, "topleft", 20, -80)
texto55:SetText(Loc ["STRING_WELCOME_42"])
local texto555 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto555 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto555:SetText(Loc ["STRING_WELCOME_45"])
texto555:SetTextColor (1, 1, 1, 1)
@@ -278,7 +278,7 @@ local window_openned_at = time()
window.changemind55Label:SetPoint("bottom", window, "bottom", 0, 19)
window.changemind55Label.align = "|"
local texto_appearance = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_appearance = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_appearance:SetPoint("topleft", window, "topleft", 30, -110)
texto_appearance:SetText(Loc ["STRING_WELCOME_43"])
texto_appearance:SetWidth(460)
@@ -329,7 +329,7 @@ local window_openned_at = time()
--alphabet selection
local texto_alphabet = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_alphabet = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_alphabet:SetPoint("topleft", window, "topleft", 30, -110)
texto_alphabet:SetText(Loc ["STRING_WELCOME_73"]) --"Select the Alphabet or Region:"
texto_alphabet:SetJustifyH("left")
@@ -704,7 +704,7 @@ local window_openned_at = time()
window.changemindNumeralLabel:SetPoint("bottom", window, "bottom", 0, 19)
window.changemindNumeralLabel.align = "|"
local texto2Numeral = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto2Numeral = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto2Numeral:SetPoint("topleft", window, "topleft", 20, -80)
texto2Numeral:SetText(Loc ["STRING_NUMERALSYSTEM_DESC"] .. ":")
@@ -757,7 +757,7 @@ local window_openned_at = time()
thedude2:SetTexCoord (0, 1, 0, 1)
thedude2:SetDrawLayer ("overlay", 3)
local NumeralType1_text = window:CreateFontString (nil, "overlay", "GameFontNormal")
local NumeralType1_text = window:CreateFontString(nil, "overlay", "GameFontNormal")
NumeralType1_text:SetText("1K = 1.000 |cFFFFCC00| |r10K = 10.000 |cFFFFCC00| |r100K = 100.000 |cFFFFCC00| |r1M = 1.000.000")
NumeralType1_text:SetWidth(500)
NumeralType1_text:SetHeight(40)
@@ -766,7 +766,7 @@ local window_openned_at = time()
NumeralType1_text:SetTextColor (.8, .8, .8, 1)
NumeralType1_text:SetPoint("topleft", window, "topleft", 40, -150)
local NumeralType2_text = window:CreateFontString (nil, "overlay", "GameFontNormal")
local NumeralType2_text = window:CreateFontString(nil, "overlay", "GameFontNormal")
local asian1K, asian10K, asian1B = _detalhes.gump:GetAsianNumberSymbols()
@@ -823,7 +823,7 @@ local window_openned_at = time()
window.changemind2Label:SetPoint("bottom", window, "bottom", 0, 19)
window.changemind2Label.align = "|"
local texto2 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto2 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto2:SetPoint("topleft", window, "topleft", 20, -80)
texto2:SetText(Loc ["STRING_WELCOME_3"])
@@ -876,7 +876,7 @@ local window_openned_at = time()
thedude:SetTexCoord (0, 1, 0, 1)
thedude:SetDrawLayer ("overlay", 3)
local chronometer_text = window:CreateFontString (nil, "overlay", "GameFontNormal")
local chronometer_text = window:CreateFontString(nil, "overlay", "GameFontNormal")
chronometer_text:SetText(Loc ["STRING_WELCOME_6"])
chronometer_text:SetWidth(360)
chronometer_text:SetHeight(40)
@@ -885,7 +885,7 @@ local window_openned_at = time()
chronometer_text:SetTextColor (.8, .8, .8, 1)
chronometer_text:SetPoint("topleft", window.ChronometerLabel.widget, "topright", 20, 0)
local continuous_text = window:CreateFontString (nil, "overlay", "GameFontNormal")
local continuous_text = window:CreateFontString(nil, "overlay", "GameFontNormal")
continuous_text:SetText(Loc ["STRING_WELCOME_7"])
continuous_text:SetWidth(340)
continuous_text:SetHeight(40)
@@ -902,7 +902,7 @@ local window_openned_at = time()
continuous:SetValue(true)
end
local pleasewait = window:CreateFontString (nil, "overlay", "GameFontHighlightSmall")
local pleasewait = window:CreateFontString(nil, "overlay", "GameFontHighlightSmall")
pleasewait:SetPoint("bottomright", forward, "topright")
local free_frame3 = CreateFrame("frame", nil, window)
@@ -963,11 +963,11 @@ local window_openned_at = time()
window.changemind4Label:SetPoint("bottom", window, "bottom", 0, 19)
window.changemind4Label.align = "|"
local texto4 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto4 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto4:SetPoint("topleft", window, "topleft", 20, -80)
texto4:SetText(Loc ["STRING_WELCOME_41"])
local interval_text = window:CreateFontString (nil, "overlay", "GameFontNormal")
local interval_text = window:CreateFontString(nil, "overlay", "GameFontNormal")
interval_text:SetText(Loc ["STRING_WELCOME_12"])
interval_text:SetWidth(460)
interval_text:SetHeight(40)
@@ -976,7 +976,7 @@ local window_openned_at = time()
interval_text:SetTextColor (1, 1, 1, .9)
interval_text:SetPoint("topleft", window, "topleft", 30, -110)
local dance_text = window:CreateFontString (nil, "overlay", "GameFontNormal")
local dance_text = window:CreateFontString(nil, "overlay", "GameFontNormal")
dance_text:SetText("") --loc removed
dance_text:SetWidth(460)
dance_text:SetHeight(40)
@@ -1125,11 +1125,11 @@ local window_openned_at = time()
bg6:SetAlpha(.1)
bg6:SetTexCoord (1, 0, 0, 1)
local texto5 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto5 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto5:SetPoint("topleft", window, "topleft", 20, -80)
texto5:SetText(Loc ["STRING_WELCOME_26"])
local texto_stretch = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_stretch = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_stretch:SetPoint("topleft", window, "topleft", 181, -105)
texto_stretch:SetText(Loc ["STRING_WELCOME_27"])
texto_stretch:SetWidth(310)
@@ -1183,11 +1183,11 @@ local window_openned_at = time()
bg6:SetAlpha(.1)
bg6:SetTexCoord (1, 0, 0, 1)
local texto6 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto6 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto6:SetPoint("topleft", window, "topleft", 20, -80)
texto6:SetText(Loc ["STRING_WELCOME_28"])
local texto_instance_button = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_instance_button = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_instance_button:SetPoint("topleft", window, "topleft", 25, -105)
texto_instance_button:SetText(Loc ["STRING_WELCOME_29"])
texto_instance_button:SetWidth(270)
@@ -1239,11 +1239,11 @@ local window_openned_at = time()
bg7:SetAlpha(.1)
bg7:SetTexCoord (1, 0, 0, 1)
local texto7 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto7 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto7:SetPoint("topleft", window, "topleft", 20, -80)
texto7:SetText(Loc ["STRING_WELCOME_30"])
local texto_shortcut = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_shortcut = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_shortcut:SetPoint("topleft", window, "topleft", 25, -105)
texto_shortcut:SetText(Loc ["STRING_WELCOME_31"])
texto_shortcut:SetWidth(290)
@@ -1274,7 +1274,7 @@ local window_openned_at = time()
local desc_anchor_bottomleft = _detalhes.gump:NewImage (bookmark_frame, [[Interface\AddOns\Details\images\options_window]], 75, 106, "artwork", {0.2724609375, 0.19921875, 0.783203125, 0.6796875}, "descAnchorTopLeftImage", "$parentDescAnchorTopLeftImage") --204 696 279 802
desc_anchor_bottomleft:SetPoint("bottomright", bookmark_frame, "bottomright", 5, -5)
local bmf_string = bookmark_frame:CreateFontString ("overlay", nil, "GameFontNormal")
local bmf_string = bookmark_frame:CreateFontString("overlay", nil, "GameFontNormal")
bmf_string:SetPoint("center", bookmark_frame, "center")
bmf_string:SetText(Loc ["STRING_WELCOME_65"])
@@ -1308,11 +1308,11 @@ local window_openned_at = time()
bg77:SetAlpha(.1)
bg77:SetTexCoord (1, 0, 0, 1)
local texto77 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto77 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto77:SetPoint("topleft", window, "topleft", 20, -80)
texto77:SetText(Loc ["STRING_WELCOME_32"])
local texto_snap = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_snap = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_snap:SetPoint("topleft", window, "topleft", 25, -101)
texto_snap:SetText(Loc ["STRING_WELCOME_66"])
texto_snap:SetWidth(160)
@@ -1354,11 +1354,11 @@ local window_openned_at = time()
bg88:SetAlpha(.1)
bg88:SetTexCoord (1, 0, 0, 1)
local texto88 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto88 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto88:SetPoint("topleft", window, "topleft", 20, -80)
texto88:SetText(Loc ["STRING_WELCOME_34"])
local texto_micro_display = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_micro_display = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_micro_display:SetPoint("topleft", window, "topleft", 25, -101)
texto_micro_display:SetText(Loc ["STRING_WELCOME_67"])
texto_micro_display:SetWidth(300)
@@ -1477,11 +1477,11 @@ local window_openned_at = time()
bg11:SetAlpha(.1)
bg11:SetTexCoord (1, 0, 0, 1)
local texto11 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto11 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto11:SetPoint("topleft", window, "topleft", 20, -80)
texto11:SetText(Loc ["STRING_WELCOME_36"])
local texto_plugins = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto_plugins = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto_plugins:SetPoint("topleft", window, "topleft", 25, -101)
texto_plugins:SetText(Loc ["STRING_WELCOME_68"])
texto_plugins:SetWidth(220)
@@ -1516,11 +1516,11 @@ local window_openned_at = time()
bg8:SetAlpha(.1)
bg8:SetTexCoord (1, 0, 0, 1)
local texto8 = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto8 = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto8:SetPoint("topleft", window, "topleft", 20, -80)
texto8:SetText(Loc ["STRING_WELCOME_38"])
local texto = window:CreateFontString (nil, "overlay", "GameFontNormal")
local texto = window:CreateFontString(nil, "overlay", "GameFontNormal")
texto:SetPoint("topleft", window, "topleft", 25, -110)
texto:SetText(Loc ["STRING_WELCOME_39"])
texto:SetWidth(410)