Disabled Bindings.xml to avoid taints in 10.0
This commit is contained in:
+2
-2
@@ -290,7 +290,7 @@ function _detalhes.PlayBestDamageOnGuild (damage)
|
||||
----------------------------------------------
|
||||
|
||||
local NewDamageRecord = DetailsNewDamageRecord:CreateFontString("NewDamageRecordFontString", "OVERLAY")
|
||||
NewDamageRecord:SetFont ([=[Fonts\FRIZQT__.TTF]=], 12, "OUTLINE")
|
||||
NewDamageRecord:SetFont([=[Fonts\FRIZQT__.TTF]=], 12, "OUTLINE")
|
||||
NewDamageRecord:SetText("Damage Record!")
|
||||
NewDamageRecord:SetDrawLayer("OVERLAY", 0)
|
||||
NewDamageRecord:SetPoint("center", DetailsNewDamageRecord, "center", 18, 7)
|
||||
@@ -329,7 +329,7 @@ function _detalhes.PlayBestDamageOnGuild (damage)
|
||||
----------------------------------------------
|
||||
|
||||
local DamageAmount = DetailsNewDamageRecord:CreateFontString("DamageAmountFontString", "OVERLAY")
|
||||
DamageAmount:SetFont ([=[Fonts\FRIZQT__.TTF]=], 12, "THICKOUTLINE")
|
||||
DamageAmount:SetFont([=[Fonts\FRIZQT__.TTF]=], 12, "THICKOUTLINE")
|
||||
DamageAmount:SetText(_detalhes:comma_value (damage))
|
||||
DamageAmount:SetDrawLayer("OVERLAY", 0)
|
||||
DamageAmount:SetPoint("center", DetailsNewDamageRecord, "center", 18, -7)
|
||||
|
||||
+1
-1
@@ -507,7 +507,7 @@ function gump:NewScrollBar2 (master, slave, x, y)
|
||||
slider_gump.thumb:SetSize(29, 30)
|
||||
slider_gump:SetThumbTexture (slider_gump.thumb)
|
||||
|
||||
slider_gump:SetOrientation ("VERTICAL")
|
||||
slider_gump:SetOrientation("VERTICAL")
|
||||
slider_gump:SetSize(16, 100)
|
||||
slider_gump:SetMinMaxValues(0, slider_gump.scrollMax)
|
||||
slider_gump:SetValue(0)
|
||||
|
||||
@@ -61,7 +61,7 @@ local libwindow = LibStub("LibWindow-1.1")
|
||||
f.Title:SetTextColor(.8, .8, .8, 1)
|
||||
f.Title:SetText("Details! Benchmark")
|
||||
|
||||
DF:InstallTemplate ("font", "DETAILS_BENCHMARK_NORMAL", {color = "white", size = 10, font = "Friz Quadrata TT"})
|
||||
DF:InstallTemplate("font", "DETAILS_BENCHMARK_NORMAL", {color = "white", size = 10, font = "Friz Quadrata TT"})
|
||||
|
||||
function f.CreateCombatObject()
|
||||
local t = {}
|
||||
@@ -93,8 +93,8 @@ local libwindow = LibStub("LibWindow-1.1")
|
||||
end
|
||||
|
||||
--events
|
||||
f:RegisterEvent ("PLAYER_REGEN_DISABLED")
|
||||
f:RegisterEvent ("PLAYER_REGEN_ENABLED")
|
||||
f:RegisterEvent("PLAYER_REGEN_DISABLED")
|
||||
f:RegisterEvent("PLAYER_REGEN_ENABLED")
|
||||
|
||||
f:SetScript("OnEvent", function(self, event, ...)
|
||||
if (event == "PLAYER_REGEN_DISABLED") then
|
||||
|
||||
@@ -17,7 +17,7 @@ function Details:OpenBrokerTextEditor()
|
||||
|
||||
local titleBar = DF:CreateTitleBar (panel, "Broker Text Editor")
|
||||
|
||||
local textentry = DF:NewSpecialLuaEditorEntry (panel, 650, 270, "editbox", "$parentEntry", true)
|
||||
local textentry = DF:NewSpecialLuaEditorEntry(panel, 650, 270, "editbox", "$parentEntry", true)
|
||||
textentry:SetPoint("topleft", panel, "topleft", 2, -25)
|
||||
|
||||
DF:ApplyStandardBackdrop(textentry)
|
||||
|
||||
@@ -13,7 +13,7 @@ do
|
||||
panel:SetFrameStrata("TOOLTIP")
|
||||
panel:SetPoint("center", UIParent, "center")
|
||||
panel.locked = false
|
||||
panel:SetToplevel (true)
|
||||
panel:SetToplevel(true)
|
||||
panel:SetMovable(true)
|
||||
panel:SetScript("OnMouseDown", function(self, button)
|
||||
if (self.isMoving) then
|
||||
|
||||
@@ -901,11 +901,11 @@ function Details:CreateCurrentDpsFrame(parent, name)
|
||||
end
|
||||
end
|
||||
|
||||
eventListener:RegisterEvent ("COMBAT_ARENA_START", "ArenaStarted")
|
||||
eventListener:RegisterEvent ("COMBAT_ARENA_END", "ArenaEnded")
|
||||
eventListener:RegisterEvent ("COMBAT_MYTHICDUNGEON_START", "MythicDungeonStarted")
|
||||
eventListener:RegisterEvent ("COMBAT_MYTHICDUNGEON_END", "MythicDungeonEnded")
|
||||
eventListener:RegisterEvent ("COMBAT_PLAYER_ENTER", "ResetBuffer")
|
||||
eventListener:RegisterEvent("COMBAT_ARENA_START", "ArenaStarted")
|
||||
eventListener:RegisterEvent("COMBAT_ARENA_END", "ArenaEnded")
|
||||
eventListener:RegisterEvent("COMBAT_MYTHICDUNGEON_START", "MythicDungeonStarted")
|
||||
eventListener:RegisterEvent("COMBAT_MYTHICDUNGEON_END", "MythicDungeonEnded")
|
||||
eventListener:RegisterEvent("COMBAT_PLAYER_ENTER", "ResetBuffer")
|
||||
|
||||
_detalhes.Broadcaster_CurrentDpsLoaded = true
|
||||
_detalhes.Broadcaster_CurrentDpsFrame = f
|
||||
|
||||
+12
-12
@@ -21,7 +21,7 @@
|
||||
local _table_sort = table.sort --lua local
|
||||
local tinsert = table.insert --lua local
|
||||
local _unpack = unpack --lua local
|
||||
local _setmetatable = setmetatable --lua local
|
||||
local setmetatable = setmetatable --lua local
|
||||
|
||||
local _GetSpellInfo = _detalhes.getspellinfo --api local
|
||||
local CreateFrame = CreateFrame --api local
|
||||
@@ -56,7 +56,7 @@
|
||||
local CONST_BUTTON_TEMPLATE = gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE")
|
||||
local CONST_TEXTENTRY_TEMPLATE = gump:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE")
|
||||
|
||||
gump:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BUTTONS",
|
||||
gump:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BUTTONS",
|
||||
{
|
||||
icon = {texture = [[Interface\BUTTONS\UI-GuildButton-PublicNote-Up]]},
|
||||
width = 160,
|
||||
@@ -64,24 +64,24 @@
|
||||
"DETAILS_PLUGIN_BUTTON_TEMPLATE"
|
||||
)
|
||||
|
||||
gump:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_REGULAR_BUTTON",
|
||||
gump:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_REGULAR_BUTTON",
|
||||
{
|
||||
width = 130,
|
||||
},
|
||||
"DETAILS_PLUGIN_BUTTON_TEMPLATE"
|
||||
)
|
||||
|
||||
gump:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX", {
|
||||
gump:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX", {
|
||||
backdrop = {edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true},
|
||||
backdropcolor = {.2, .2, .2, 0.6},
|
||||
backdropbordercolor = {0, 0, 0, 1},
|
||||
})
|
||||
gump:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_EXPANDED", {
|
||||
gump:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_EXPANDED", {
|
||||
backdrop = {edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true},
|
||||
backdropcolor = {.2, .2, .2, 1},
|
||||
backdropbordercolor = {0, 0, 0, 1},
|
||||
})
|
||||
gump:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_BUTTON", {
|
||||
gump:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_BUTTON", {
|
||||
backdrop = {edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true},
|
||||
backdropcolor = {.2, .2, .2, 1},
|
||||
backdropbordercolor = {0, 0, 0, 1},
|
||||
@@ -508,7 +508,7 @@
|
||||
}
|
||||
|
||||
tinsert(_detalhes.custom, new_custom_object)
|
||||
_setmetatable(new_custom_object, _detalhes.atributo_custom)
|
||||
setmetatable(new_custom_object, _detalhes.atributo_custom)
|
||||
new_custom_object.__index = _detalhes.atributo_custom
|
||||
_detalhes:Msg(Loc ["STRING_CUSTOM_CREATED"])
|
||||
end
|
||||
@@ -591,7 +591,7 @@
|
||||
end
|
||||
|
||||
tinsert(_detalhes.custom, new_custom_object)
|
||||
_setmetatable(new_custom_object, _detalhes.atributo_custom)
|
||||
setmetatable(new_custom_object, _detalhes.atributo_custom)
|
||||
new_custom_object.__index = _detalhes.atributo_custom
|
||||
_detalhes:Msg(Loc ["STRING_CUSTOM_CREATED"])
|
||||
end
|
||||
@@ -1725,7 +1725,7 @@
|
||||
box2:Hide()
|
||||
|
||||
--create the code editbox
|
||||
local code_editor = gump:NewSpecialLuaEditorEntry (custom_window, CONST_EDITBOX_WIDTH, CONST_EDITBOX_HEIGHT, "codeeditor", "$parentCodeEditor")
|
||||
local code_editor = gump:NewSpecialLuaEditorEntry(custom_window, CONST_EDITBOX_WIDTH, CONST_EDITBOX_HEIGHT, "codeeditor", "$parentCodeEditor")
|
||||
code_editor:SetPoint("topleft", custom_window, "topleft", CONST_MENU_X_POSITION, CONST_EDITBOX_Y_POSITION)
|
||||
code_editor:SetFrameLevel(custom_window:GetFrameLevel()+4)
|
||||
code_editor:SetBackdrop(nil)
|
||||
@@ -1754,7 +1754,7 @@
|
||||
code_editor.font_size = 11
|
||||
|
||||
local file, size, flags = code_editor.editbox:GetFont()
|
||||
code_editor.editbox:SetFont (file, 11, flags)
|
||||
code_editor.editbox:SetFont(file, 11, flags)
|
||||
|
||||
local expand_func = function()
|
||||
if (code_editor.expanded) then
|
||||
@@ -1778,11 +1778,11 @@
|
||||
if (increase) then
|
||||
local file, size, flags = code_editor.editbox:GetFont()
|
||||
code_editor.font_size = code_editor.font_size + 1
|
||||
code_editor.editbox:SetFont (file, code_editor.font_size, flags)
|
||||
code_editor.editbox:SetFont(file, code_editor.font_size, flags)
|
||||
else
|
||||
local file, size, flags = code_editor.editbox:GetFont()
|
||||
code_editor.font_size = code_editor.font_size - 1
|
||||
code_editor.editbox:SetFont (file, code_editor.font_size, flags)
|
||||
code_editor.editbox:SetFont(file, code_editor.font_size, flags)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ local CONST_EDITBOX_BUTTON_HEIGHT = 20
|
||||
local CONST_BUTTON_TEMPLATE = DF:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE")
|
||||
local CONST_TEXTENTRY_TEMPLATE = DF:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE")
|
||||
|
||||
DF:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BUTTONS",
|
||||
DF:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BUTTONS",
|
||||
{
|
||||
icon = {texture = [[Interface\BUTTONS\UI-GuildButton-PublicNote-Up]]},
|
||||
width = 160,
|
||||
@@ -34,24 +34,24 @@ DF:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BUTTONS",
|
||||
"DETAILS_PLUGIN_BUTTON_TEMPLATE"
|
||||
)
|
||||
|
||||
DF:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_REGULAR_BUTTON",
|
||||
DF:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_REGULAR_BUTTON",
|
||||
{
|
||||
width = 130,
|
||||
},
|
||||
"DETAILS_PLUGIN_BUTTON_TEMPLATE"
|
||||
)
|
||||
|
||||
DF:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX", {
|
||||
DF:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX", {
|
||||
backdrop = {edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true},
|
||||
backdropcolor = {.2, .2, .2, 0.6},
|
||||
backdropbordercolor = {0, 0, 0, 1},
|
||||
})
|
||||
DF:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_EXPANDED", {
|
||||
DF:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_EXPANDED", {
|
||||
backdrop = {edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true},
|
||||
backdropcolor = {.2, .2, .2, 1},
|
||||
backdropbordercolor = {0, 0, 0, 1},
|
||||
})
|
||||
DF:InstallTemplate ("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_BUTTON", {
|
||||
DF:InstallTemplate("button", "DETAILS_CUSTOMDISPLAY_CODE_BOX_BUTTON", {
|
||||
backdrop = {edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true},
|
||||
backdropcolor = {.2, .2, .2, 1},
|
||||
backdropbordercolor = {0, 0, 0, 1},
|
||||
|
||||
@@ -23,7 +23,7 @@ function Details:Dump (...)
|
||||
DetailsDumpFrame:SetSize(700, 600)
|
||||
DetailsDumpFrame:SetTitle("Details! Dump Table [|cFFFF3333Ready Only|r]")
|
||||
|
||||
local text_editor = DetailsFramework:NewSpecialLuaEditorEntry (DetailsDumpFrame, 680, 560, "Editbox", "$parentEntry", true)
|
||||
local text_editor = DetailsFramework:NewSpecialLuaEditorEntry(DetailsDumpFrame, 680, 560, "Editbox", "$parentEntry", true)
|
||||
text_editor:SetPoint("topleft", DetailsDumpFrame, "topleft", 10, -30)
|
||||
|
||||
text_editor.scroll:SetBackdrop(nil)
|
||||
@@ -85,7 +85,7 @@ function _detalhes:ShowImportWindow (defaultText, confirmFunc, titleText)
|
||||
importWindow:SetPoint("center")
|
||||
DetailsFramework:ApplyStandardBackdrop(importWindow, false, 1.2)
|
||||
|
||||
local importTextEditor = DetailsFramework:NewSpecialLuaEditorEntry (importWindow, 780, 540, "ImportEditor", "$parentEditor", true)
|
||||
local importTextEditor = DetailsFramework:NewSpecialLuaEditorEntry(importWindow, 780, 540, "ImportEditor", "$parentEditor", true)
|
||||
importTextEditor:SetBackdrop({edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true})
|
||||
importTextEditor:SetBackdropColor(.2, .2, .2, .5)
|
||||
importTextEditor:SetBackdropBorderColor(0, 0, 0, 1)
|
||||
|
||||
@@ -725,7 +725,7 @@ function Details:CreateEventTrackerFrame(parent, name)
|
||||
local crowdControlFromFramework = DetailsFramework.CrowdControlSpells
|
||||
|
||||
local combatLog = CreateFrame("frame")
|
||||
combatLog:RegisterEvent ("COMBAT_LOG_EVENT_UNFILTERED")
|
||||
combatLog:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
|
||||
local OBJECT_TYPE_PLAYER = 0x00000400
|
||||
local OBJECT_TYPE_ENEMY = 0x00000040
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ function Details:OpenForge()
|
||||
local f = DetailsForgePanel or Details.gump:CreateSimplePanel(UIParent, 960, 600, "Details! " .. L["STRING_SPELLLIST"], "DetailsForgePanel")
|
||||
f:SetPoint("center", UIParent, "center")
|
||||
f:SetFrameStrata("HIGH")
|
||||
f:SetToplevel (true)
|
||||
f:SetToplevel(true)
|
||||
f:SetMovable(true)
|
||||
f.Title:SetTextColor(1, .8, .2)
|
||||
|
||||
|
||||
@@ -3101,7 +3101,7 @@ local function CreateAlertFrame(baseframe, instancia)
|
||||
frame_lower:SetHeight(25)
|
||||
frame_lower:SetPoint("left", frame_upper, "left")
|
||||
frame_lower:SetPoint("right", frame_upper, "right")
|
||||
frame_upper:SetScrollChild (frame_lower)
|
||||
frame_upper:SetScrollChild(frame_lower)
|
||||
|
||||
local alert_bg = CreateFrame("frame", "DetailsAlertFrame" .. instancia.meu_id, frame_lower,"BackdropTemplate")
|
||||
alert_bg:SetPoint("bottom", baseframe, "bottom")
|
||||
@@ -3551,7 +3551,7 @@ function gump:CriaJanelaPrincipal (ID, instancia, criando)
|
||||
scrollbar:Show()
|
||||
|
||||
--config set
|
||||
scrollbar:SetOrientation ("VERTICAL")
|
||||
scrollbar:SetOrientation("VERTICAL")
|
||||
scrollbar.scrollMax = 0
|
||||
scrollbar:SetMinMaxValues(0, 0)
|
||||
scrollbar:SetValue(0)
|
||||
@@ -3612,7 +3612,7 @@ function gump:CriaJanelaPrincipal (ID, instancia, criando)
|
||||
-- background window config -------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
backgroundframe:SetAllPoints(baseframe)
|
||||
backgroundframe:SetScrollChild (backgrounddisplay)
|
||||
backgroundframe:SetScrollChild(backgrounddisplay)
|
||||
|
||||
backgrounddisplay:SetResizable(true)
|
||||
backgrounddisplay:SetPoint("topleft", baseframe, "topleft")
|
||||
@@ -7332,8 +7332,8 @@ function updateClickThroughListener:LeaveCombat()
|
||||
end)
|
||||
end
|
||||
|
||||
updateClickThroughListener:RegisterEvent ("COMBAT_PLAYER_ENTER", "EnterCombat")
|
||||
updateClickThroughListener:RegisterEvent ("COMBAT_PLAYER_LEAVE", "EnterCombat")
|
||||
updateClickThroughListener:RegisterEvent("COMBAT_PLAYER_ENTER", "EnterCombat")
|
||||
updateClickThroughListener:RegisterEvent("COMBAT_PLAYER_LEAVE", "EnterCombat")
|
||||
|
||||
function Details:UpdateClickThroughSettings (inCombat, window, bars, toolbaricons)
|
||||
if (inCombat ~= nil) then
|
||||
|
||||
@@ -103,7 +103,7 @@ function Details:CreateOrOpenNewsWindow()
|
||||
tile = true, tileSize = 16,
|
||||
insets = {left = 1, right = 1, top = 0, bottom = 1},})
|
||||
frameUpper:SetBackdropColor(.1, .1, .1, .3)
|
||||
frameUpper:SetScrollChild (frameLower)
|
||||
frameUpper:SetScrollChild(frameLower)
|
||||
|
||||
local slider = CreateFrame("slider", "DetailsNewsWindowSlider", frame, "BackdropTemplate")
|
||||
slider.bg = slider:CreateTexture(nil, "background")
|
||||
@@ -115,7 +115,7 @@ function Details:CreateOrOpenNewsWindow()
|
||||
slider.thumb:SetSize(25, 25)
|
||||
|
||||
slider:SetThumbTexture (slider.thumb)
|
||||
slider:SetOrientation ("vertical");
|
||||
slider:SetOrientation("vertical");
|
||||
slider:SetSize(16, 499)
|
||||
slider:SetPoint("topleft", frameUpper, "topright")
|
||||
slider:SetMinMaxValues(0, 2000)
|
||||
|
||||
@@ -3560,7 +3560,7 @@ do
|
||||
y = y - 20
|
||||
|
||||
--plugins installed, adding their abs name
|
||||
DF.table.addunique (installedToolbarPlugins, absName)
|
||||
DF.table.addunique(installedToolbarPlugins, absName)
|
||||
|
||||
end
|
||||
|
||||
@@ -3698,7 +3698,7 @@ do
|
||||
end
|
||||
|
||||
--plugins installed, adding their abs name
|
||||
DF.table.addunique (installedRaidPlugins, absName)
|
||||
DF.table.addunique(installedRaidPlugins, absName)
|
||||
|
||||
i = i + 1
|
||||
y = y - 20
|
||||
@@ -6418,7 +6418,7 @@ do
|
||||
sectionFrame.userTimeCaptureFillPanel:Refresh()
|
||||
end
|
||||
|
||||
local big_code_editor = DF:NewSpecialLuaEditorEntry (sectionFrame, 683, 422, "bigCodeEditor", "$parentBigCodeEditor")
|
||||
local big_code_editor = DF:NewSpecialLuaEditorEntry(sectionFrame, 683, 422, "bigCodeEditor", "$parentBigCodeEditor")
|
||||
big_code_editor:SetPoint("topleft", sectionFrame, "topleft", startX, startY - 70)
|
||||
big_code_editor:SetFrameLevel(sectionFrame:GetFrameLevel()+6)
|
||||
big_code_editor:SetBackdrop({bgFile = [[Interface\AddOns\Details\images\background]], edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1,tile = 1, tileSize = 16})
|
||||
@@ -6488,7 +6488,7 @@ do
|
||||
sectionFrame.userTimeCaptureFillPanel:Refresh()
|
||||
end
|
||||
|
||||
local big_code_editor2 = DF:NewSpecialLuaEditorEntry (sectionFrame, 643, 402, "exportEditor", "$parentExportEditor", true)
|
||||
local big_code_editor2 = DF:NewSpecialLuaEditorEntry(sectionFrame, 643, 402, "exportEditor", "$parentExportEditor", true)
|
||||
big_code_editor2:SetPoint("topleft", sectionFrame, "topleft", 7, -70)
|
||||
big_code_editor2:SetFrameLevel(sectionFrame:GetFrameLevel()+6)
|
||||
big_code_editor2:SetBackdrop({bgFile = [[Interface\AddOns\Details\images\background]], edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1,tile = 1, tileSize = 16})
|
||||
@@ -6606,7 +6606,7 @@ do
|
||||
|
||||
--function
|
||||
local capture_func = DF:NewLabel(addframe, nil, "$parentFunctionLabel", "functionLabel", Loc ["STRING_OPTIONS_CHART_ADDCODE"])
|
||||
local capture_func_entry = DF:NewSpecialLuaEditorEntry (addframe.widget, 300, 200, "funcEntry", "$parentFuncEntry")
|
||||
local capture_func_entry = DF:NewSpecialLuaEditorEntry(addframe.widget, 300, 200, "funcEntry", "$parentFuncEntry")
|
||||
capture_func_entry:SetPoint("topleft", capture_func.widget, "topright", 2, 0)
|
||||
capture_func_entry:SetSize(500, 220)
|
||||
capture_func_entry:SetBackdrop({edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1, bgFile = [[Interface\Tooltips\UI-Tooltip-Background]], tileSize = 64, tile = true})
|
||||
@@ -6655,9 +6655,9 @@ do
|
||||
|
||||
--open import panel button
|
||||
|
||||
local importframe = DF:NewSpecialLuaEditorEntry (sectionFrame, 683, 422, "importEditor", "$parentImportEditor", true)
|
||||
local importframe = DF:NewSpecialLuaEditorEntry(sectionFrame, 683, 422, "importEditor", "$parentImportEditor", true)
|
||||
local font, size, flag = importframe.editbox:GetFont()
|
||||
importframe.editbox:SetFont (font, 9, flag)
|
||||
importframe.editbox:SetFont(font, 9, flag)
|
||||
importframe:SetPoint("topleft", sectionFrame, "topleft", startX, startY - 70)
|
||||
importframe:SetFrameLevel(sectionFrame:GetFrameLevel()+6)
|
||||
importframe:SetBackdrop({bgFile = [[Interface\AddOns\Details\images\background]], edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1,tile = 1, tileSize = 16})
|
||||
|
||||
@@ -875,7 +875,7 @@ local function cria_container_barras (este_gump, SWW)
|
||||
|
||||
container_barras_window:SetWidth(300)
|
||||
container_barras_window:SetHeight(145)
|
||||
container_barras_window:SetScrollChild (container_barras)
|
||||
container_barras_window:SetScrollChild(container_barras)
|
||||
container_barras_window:SetPoint("TOPLEFT", este_gump, "TOPLEFT", 21, -76)
|
||||
|
||||
container_barras_window:SetScript("OnSizeChanged", function(self)
|
||||
@@ -958,7 +958,7 @@ local function cria_container_alvos (este_gump, SWW)
|
||||
|
||||
container_alvos_window:SetWidth(300)
|
||||
container_alvos_window:SetHeight(100)
|
||||
container_alvos_window:SetScrollChild (container_alvos)
|
||||
container_alvos_window:SetScrollChild(container_alvos)
|
||||
container_alvos_window:SetPoint("BOTTOMLEFT", este_gump, "BOTTOMLEFT", 20, 6) --56 default
|
||||
|
||||
container_alvos_window:SetScript("OnSizeChanged", function(self)
|
||||
@@ -1627,7 +1627,7 @@ function gump:CriaJanelaInfo()
|
||||
este_gump.Loaded = true
|
||||
|
||||
este_gump:SetFrameStrata("HIGH")
|
||||
este_gump:SetToplevel (true)
|
||||
este_gump:SetToplevel(true)
|
||||
|
||||
este_gump.extra_frames = {}
|
||||
|
||||
@@ -4438,7 +4438,7 @@ function gump:CriaJanelaInfo()
|
||||
|
||||
local _, size, flags = bar.lefttext:GetFont()
|
||||
local font = SharedMedia:Fetch ("font", "Arial Narrow")
|
||||
bar.lefttext:SetFont (font, 11)
|
||||
bar.lefttext:SetFont(font, 11)
|
||||
|
||||
bar.lefttext:SetPoint("left", bar, "left", 4, 0)
|
||||
bar.lefttext:SetJustifyH("left")
|
||||
@@ -4455,7 +4455,7 @@ function gump:CriaJanelaInfo()
|
||||
|
||||
local _, size, flags = bar.righttext:GetFont()
|
||||
local font = SharedMedia:Fetch ("font", "Arial Narrow")
|
||||
bar.righttext:SetFont (font, 11)
|
||||
bar.righttext:SetFont(font, 11)
|
||||
|
||||
bar.righttext:SetPoint("right", bar, "right", -2, 0)
|
||||
bar.righttext:SetJustifyH("right")
|
||||
@@ -4465,7 +4465,7 @@ function gump:CriaJanelaInfo()
|
||||
|
||||
local _, size, flags = bar.righttext2:GetFont()
|
||||
local font = SharedMedia:Fetch ("font", "Arial Narrow")
|
||||
bar.righttext2:SetFont (font, 11)
|
||||
bar.righttext2:SetFont(font, 11)
|
||||
|
||||
bar.righttext2:SetPoint("right", bar, "right", -42, 0)
|
||||
bar.righttext2:SetJustifyH("right")
|
||||
@@ -4636,7 +4636,7 @@ function gump:CriaJanelaInfo()
|
||||
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)
|
||||
bar.lefttext:SetFont(font, 11)
|
||||
bar.lefttext:SetPoint("left", bar, "left", 2, 0)
|
||||
bar.lefttext:SetJustifyH("left")
|
||||
bar.lefttext:SetTextColor(1, 1, 1, 1)
|
||||
@@ -4652,7 +4652,7 @@ function gump:CriaJanelaInfo()
|
||||
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)
|
||||
bar.righttext:SetFont(font, 11)
|
||||
bar.righttext:SetPoint("right", bar, "right", -2, 0)
|
||||
bar.righttext:SetJustifyH("right")
|
||||
bar.righttext:SetTextColor(1, 1, 1, 1)
|
||||
@@ -4660,7 +4660,7 @@ function gump:CriaJanelaInfo()
|
||||
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)
|
||||
bar.righttext2:SetFont(font, 11)
|
||||
bar.righttext2:SetPoint("right", bar, "right", -46, 0)
|
||||
bar.righttext2:SetJustifyH("right")
|
||||
bar.righttext2:SetTextColor(1, 1, 1, 1)
|
||||
|
||||
@@ -33,7 +33,7 @@ end
|
||||
local y = -32
|
||||
local buttonTemplate = DF:GetTemplate("button", "OPTIONS_BUTTON_TEMPLATE")
|
||||
|
||||
local textentry = DF:NewSpecialLuaEditorEntry (panel, scrollWidth, 555, "editbox", "$parentEntry")
|
||||
local textentry = DF:NewSpecialLuaEditorEntry(panel, scrollWidth, 555, "editbox", "$parentEntry")
|
||||
textentry:SetPoint("topleft", panel, "topleft", 10, y)
|
||||
DF:ApplyStandardBackdrop(textentry)
|
||||
DF:SetFontSize(textentry.editbox, 14)
|
||||
|
||||
@@ -33,7 +33,7 @@ function Details.OpenRunCodeWindow()
|
||||
local f = DetailsRunCodePanel or DF:CreateSimplePanel(UIParent, 700, 480, "Details! Run Code", "DetailsRunCodePanel")
|
||||
|
||||
--lua editor
|
||||
local code_editor = DF:NewSpecialLuaEditorEntry (f, 885, 510, "text", "$parentCodeEditorWindow")
|
||||
local code_editor = DF:NewSpecialLuaEditorEntry(f, 885, 510, "text", "$parentCodeEditorWindow")
|
||||
f.CodeEditor = code_editor
|
||||
code_editor:SetPoint("topleft", f, "topleft", 20, -56)
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ function Details:OpenRaidHistoryWindow (_raid, _boss, _difficulty, _role, _guild
|
||||
local f = DetailsRaidHistoryWindow or CreateFrame("frame", "DetailsRaidHistoryWindow", UIParent,"BackdropTemplate") --, "ButtonFrameTemplate"
|
||||
f:SetPoint("center", UIParent, "center")
|
||||
f:SetFrameStrata("HIGH")
|
||||
f:SetToplevel (true)
|
||||
f:SetToplevel(true)
|
||||
|
||||
f:SetMovable(true)
|
||||
f:SetWidth(850)
|
||||
@@ -257,8 +257,8 @@ function Details:OpenRaidHistoryWindow (_raid, _boss, _difficulty, _role, _guild
|
||||
end
|
||||
end
|
||||
|
||||
eventListener:RegisterEvent ("COMM_EVENT_RECEIVED", "OnCommReceived")
|
||||
eventListener:RegisterEvent ("COMM_EVENT_SENT", "OnCommSent")
|
||||
eventListener:RegisterEvent("COMM_EVENT_RECEIVED", "OnCommReceived")
|
||||
eventListener:RegisterEvent("COMM_EVENT_SENT", "OnCommSent")
|
||||
|
||||
--report results
|
||||
function f.BuildReport()
|
||||
|
||||
@@ -1986,7 +1986,7 @@ function _detalhes:OpenAuraPanel (spellid, spellname, spellicon, encounterid, tr
|
||||
f:SetFrameStrata("DIALOG")
|
||||
f:EnableMouse(true)
|
||||
f:SetMovable(true)
|
||||
f:SetToplevel (true)
|
||||
f:SetToplevel(true)
|
||||
|
||||
--background
|
||||
f.bg1 = f:CreateTexture(nil, "background")
|
||||
|
||||
+10
-10
@@ -1321,7 +1321,7 @@ local window_openned_at = time()
|
||||
texto_snap:SetJustifyV ("top")
|
||||
texto_snap:SetTextColor(1, 1, 1, 1)
|
||||
local fonte, _, flags = texto_snap:GetFont()
|
||||
texto_snap:SetFont (fonte, 11, flags)
|
||||
texto_snap:SetFont(fonte, 11, flags)
|
||||
|
||||
local snap_image1 = window:CreateTexture(nil, "overlay")
|
||||
snap_image1:SetTexture([[Interface\Addons\Details\images\icons]])
|
||||
@@ -1402,14 +1402,14 @@ local window_openned_at = time()
|
||||
--local t = {esta_morte, time(), joe.nome, joe.classe, 400000, "52m 12s", ["dead"] = true}
|
||||
--table.insert(current_combat.last_events_tables, #current_combat.last_events_tables+1, t)
|
||||
|
||||
rawset (_detalhes.spellcache, 300000, {"A Gun in Your Hand", 300000, [[Interface\ICONS\INV_Legendary_Gun]]})
|
||||
rawset (_detalhes.spellcache, 300001, {"Shot", 300001, [[Interface\ICONS\INV_Archaeology_Ogres_HarGunn_Eye]]})
|
||||
rawset (_detalhes.spellcache, 300002, {"Mexico Travel", 300002, [[Interface\ICONS\Achievement_Dungeon_Gundrak_Normal]]})
|
||||
rawset (_detalhes.spellcache, 300003, {"Rope", 300003, [[Interface\ICONS\Creatureportrait_RopeLadder01]]})
|
||||
rawset (_detalhes.spellcache, 300004, {"A Guitar Solo", 300004, [[Interface\ICONS\INV_Staff_2h_DraenorDungeon_C_05]]})
|
||||
rawset (_detalhes.spellcache, 300005, {"Watchtower", 300005, [[Interface\ICONS\Achievement_BG_DefendXtowers_AV]]})
|
||||
rawset (_detalhes.spellcache, 300006, {"Oh! Hey There!", 300006, [[Interface\ICONS\Spell_Shadow_SummonSuccubus]]})
|
||||
rawset (_detalhes.spellcache, 300007, {"I'm an Ability!", 300007, [[Interface\ICONS\Spell_Nature_Polymorph]]})
|
||||
rawset(_detalhes.spellcache, 300000, {"A Gun in Your Hand", 300000, [[Interface\ICONS\INV_Legendary_Gun]]})
|
||||
rawset(_detalhes.spellcache, 300001, {"Shot", 300001, [[Interface\ICONS\INV_Archaeology_Ogres_HarGunn_Eye]]})
|
||||
rawset(_detalhes.spellcache, 300002, {"Mexico Travel", 300002, [[Interface\ICONS\Achievement_Dungeon_Gundrak_Normal]]})
|
||||
rawset(_detalhes.spellcache, 300003, {"Rope", 300003, [[Interface\ICONS\Creatureportrait_RopeLadder01]]})
|
||||
rawset(_detalhes.spellcache, 300004, {"A Guitar Solo", 300004, [[Interface\ICONS\INV_Staff_2h_DraenorDungeon_C_05]]})
|
||||
rawset(_detalhes.spellcache, 300005, {"Watchtower", 300005, [[Interface\ICONS\Achievement_BG_DefendXtowers_AV]]})
|
||||
rawset(_detalhes.spellcache, 300006, {"Oh! Hey There!", 300006, [[Interface\ICONS\Spell_Shadow_SummonSuccubus]]})
|
||||
rawset(_detalhes.spellcache, 300007, {"I'm an Ability!", 300007, [[Interface\ICONS\Spell_Nature_Polymorph]]})
|
||||
|
||||
joe.targets ["My Old Lady"] = 3500000
|
||||
joe.targets ["My Self"] = 2000000
|
||||
@@ -1490,7 +1490,7 @@ local window_openned_at = time()
|
||||
texto_plugins:SetJustifyV ("top")
|
||||
texto_plugins:SetTextColor(1, 1, 1, 1)
|
||||
--local fonte, _, flags = texto_plugins:GetFont()
|
||||
--texto_plugins:SetFont (fonte, 11, flags)
|
||||
--texto_plugins:SetFont(fonte, 11, flags)
|
||||
|
||||
local plugins_image1 = window:CreateTexture(nil, "overlay")
|
||||
plugins_image1:SetTexture([[Interface\Addons\Details\images\icons2]])
|
||||
|
||||
Reference in New Issue
Block a user