Commit 613f1842 authored by Darth Predator's avatar Darth Predator
Browse files

CLeaning up commented stuff that's not needed

parent a765b4f5
......@@ -31,7 +31,6 @@ local function SendRecieve(self, event, prefix, message, channel, sender)
elseif message == 'slesay' then
message = "SLEinfo"..ID
end
-- BNSendGameData(presenceID, 'SLE_DEV_INFO', message)
BNSendGameData(toonID, 'SLE_DEV_INFO', message)
end
end
......
......@@ -122,7 +122,6 @@ SLE.SpecialChatIcons = {
["СвежевательДуш"] = {
--Darth's toons
["Большойгном"] = test, --Testing toon
["Фергесон"] = friend
},
["ЧерныйШрам"] = {
["Емалия"] = friend,
......
......@@ -1179,7 +1179,6 @@ local function AffinitySetup()
E.db["sle"]["datatexts"]["panel3"]["transparent"] = true
E.db["sle"]["datatexts"]["panel3"]["width"] = 100
E.db["sle"]["datatexts"]["panel5"]["width"] = 100
-- E.db["sle"]["datatexts"]["panel6"]["enabled"] = true
E.db["sle"]["datatexts"]["panel7"]["enabled"] = true
E.db["sle"]["datatexts"]["panel7"]["transparent"] = true
E.db["sle"]["datatexts"]["panel7"]["width"] = 100
......@@ -1681,20 +1680,3 @@ SLE.installTable = {
},
["StepTitlesColorSelected"] = {.53,.53,.93},
}
-- SLE.installTable2 = {
-- ["Name"] = "S&L2",
-- ["tutorialImage"] = [[Interface\AddOns\ElvUI_SLE\media\textures\SLE_Banner]],
-- ["Pages"] = {
-- [1] = function()
-- _G["PluginInstallFrame"].SubTitle:SetText(format(L["Welcome to |cff1784d1Shadow & Light|r 42342 version %s!"], SLE.version))
-- _G["PluginInstallFrame"].Desc1:SetText(L["This will take you through a quick install process to setup some Shadow & Light features.\nIf you choose to not setup any options through this config, click Skip Process button to finish the installation."])
-- _G["PluginInstallFrame"].Desc2:SetText("")
-- _G["PluginInstallFrame"].Desc3:SetText(L["Please press the continue button to go onto the next step."])
-- _G["PluginInstallFrame"].Option1:Show()
-- _G["PluginInstallFrame"].Option1:SetScript("OnClick", InstallComplete)
-- _G["PluginInstallFrame"].Option1:SetText(L["Skip Process"])
-- end,
-- },
-- }
......@@ -38,7 +38,7 @@ end
function M:SetBlizzFonts()
if E.private.general.replaceBlizzFonts then
local db = E.db.sle.media.fonts
-- print(E.db.sle.media, db)
_G["ZoneTextString"]:SetFont(E.LSM:Fetch('font', db.zone.font), db.zone.size, db.zone.outline) -- Main zone name
_G["PVPInfoTextString"]:SetFont(E.LSM:Fetch('font', db.pvp.font), db.pvp.size, db.pvp.outline) -- PvP status for main zone
_G["PVPArenaTextString"]:SetFont(E.LSM:Fetch('font', db.pvp.font), db.pvp.size, db.pvp.outline) -- PvP status for subzone
......@@ -116,7 +116,6 @@ function M:Initialize()
hooksecurefunc(E, "UpdateBlizzardFonts", M.SetBlizzFonts)
hooksecurefunc("SetZoneText", ZoneTextPos)
M:SetBlizzFonts()
--E:CreateMover(ZoneTextFrame, "ZoneTextMover", "ZoneTextMover", nil, nil, nil, "S&L,S&L MISC")
SLE.UpdateFunctions["Media"] = M.Update
end
......
......@@ -410,9 +410,7 @@ end
--Trying to determine the region player is in, not entirely reliable cause based on a client not an actual region id
function SLE:GetRegion()
local lib = LibStub("LibRealmInfo")
-- local guid = UnitGUID("player")
if not GetPlayerInfoByGUID(E.myguid) then return end
-- local rid, _, _, _, _, _, region = lib:GetRealmInfoByUnit("player")
local rid, _, _, _, _, _, region = lib:GetRealmInfoByGUID(E.myguid)
SLE.region = region
if not SLE.region then
......
......@@ -45,7 +45,4 @@ function SLE:CyrillicsInit()
if E.global.sle.advanced.cyrillics.commands or GetLocale() == "ruRU" then SLE:CyrCommands() end
if E.global.sle.advanced.cyrillics.devCommands or GetLocale() == "ruRU" then SLE:CyrDevCommands() end
end
-- if GetLocale() ~= "ruRU" then return end
end
\ No newline at end of file
......@@ -964,6 +964,13 @@ Sinaris
Sortokk
Swordyy
]=]
L["ELVUI_SLE_DONORS_TITLE"] = "Thanks to these awesome people for supporting our work via donations:"
L["ELVUI_SLE_DONORS"] = [[Andre Edwards
Chun Kim
Cyntia McCarthy
Jonathan Sweet
Nicholas Caldecutt
Richard Gardner]]
L["ELVUI_SLE_MISC"] = [=[BuG - for always hilariously breaking stuff
TheSamaKutra
The rest of TukUI community
......
......@@ -958,6 +958,7 @@ Sinaris
Sortokk
Swordyy
]=]
L["ELVUI_SLE_DONORS_TITLE"] = "Thanks to these awesome people for supporting our work via donations:"
L["ELVUI_SLE_MISC"] = [=[BuG - for always hilariously breaking stuff
TheSamaKutra
The rest of TukUI community
......
......@@ -943,6 +943,7 @@ L["FAQ_sle_5"] = [[|cff30ee30В: Как я могу связаться с авт
--Credits--
L["ELVUI_SLE_CREDITS"] = "Мы хотели бы отметить и поблагодарить следующих людей за помощь в создании этого аддона."
L["ELVUI_SLE_DONORS_TITLE"] = "Спасибо этим офигенным людям за пожертвования в пользу нашей работы:"
L["ELVUI_SLE_MISC"] = [=[BuG - за постоянные и ржачные методы сломать все и вся
TheSamaKutra
Сообщество Tukui
......
......@@ -73,7 +73,6 @@ function S:Setup()
SS.ScrollFrame:SetMaxLines(1)
SS.ScrollFrame:SetSpacing(2)
SS.ScrollFrame:SetWidth(SS.Bottom:GetWidth()/2)
-- SS.ScrollFrame:CreateBackdrop()
SS.ScrollFrame:LevelUpBG() --Creating neat stuff for teh tips
--Crests, emblems and stuff
......@@ -111,17 +110,12 @@ function S:Setup()
SS.timePassed:ClearAllPoints()
SS.timePassed:Point("LEFT", SS.AFKtitle, "RIGHT", 4, -1)
SS.ExPack:Point("CENTER", SS.Top, "BOTTOM", 0, 0)
-- SS.FactCrest:ClearAllPoints()
-- SS.FactCrest:Point("CENTER", SS.Top, "BOTTOM", -(T.GetScreenWidth()/6), 0)
-- SS.RaceCrest:Point("CENTER", SS.Top, "BOTTOM", (T.GetScreenWidth()/6), 0)
-- SS.Date:Point("RIGHT", SS.Top, "RIGHT", -40, 10)
SS.Time:Point("TOP", SS.Date, "BOTTOM", 0, -2)
SS.Elv:SetPoint("CENTER", SS.Bottom, "TOP", -(T.GetScreenWidth()/10), 0)
SS.sle:SetPoint("CENTER", SS.Bottom, "TOP", (T.GetScreenWidth()/10), 0)
SS.PlayerName:ClearAllPoints()
SS.Guild:ClearAllPoints()
SS.GuildRank:ClearAllPoints()
-- SS.PlayerInfo:Point("RIGHT", SS.Date, "LEFT", -100, 0)
SS.PlayerName:Point("BOTTOM", SS.PlayerInfo, "TOP", 0, 2)
SS.Guild:SetPoint("TOP", SS.PlayerInfo, "BOTTOM", 0, -2)
SS.GuildRank:SetPoint("TOP", SS.Guild, "BOTTOM", 0, -2)
......@@ -473,11 +467,6 @@ function S:Initialize()
S:ModelHolderPos()
function S:ForUpdateAll()
-- if not E.private.sle.module.screensaver then return end
if type(E.db.sle.screensaver.crest) == "number" then
E.db.sle.screensaver.crest = nil
E.db.sle.screensaver.crest = P.sle.screensaver.crest
end
S.db = E.db.sle.screensaver
S:SetupAnimations()
S:Hide()
......
......@@ -97,14 +97,13 @@ function SB:HookSlot(slot, bagID, slotID)
flashAnim1:SetChildKey("flashTex");
flashAnim1:SetFromAlpha(0);
flashAnim1:SetToAlpha(1);
--flashAnim1:SetSmoothing("IN");
flashAnim1:SetDuration(0.2);
flashAnim1:SetOrder(1);
local flashAnim2 = flashAnimGroup:CreateAnimation("Alpha");
flashAnim2:SetChildKey("flashTex");
flashAnim2:SetFromAlpha(1);
flashAnim2:SetToAlpha(0);
--flashAnim2:SetSmoothing("OUT");
flashAnim2:SetDuration(0.2);
flashAnim2:SetOrder(2);
slot.flashAnim = flashAnimGroup;
......@@ -113,7 +112,6 @@ function SB:HookSlot(slot, bagID, slotID)
glowAnimGroup:SetLooping("REPEAT");
local glowFlash1 = glowAnimGroup:CreateAnimation("Alpha");
glowFlash1:SetChildKey("backdrop");
--glowFlash1:SetStartDelay(0.4);
glowFlash1:SetDuration(0.8);
glowFlash1:SetOrder(1);
glowFlash1:SetFromAlpha(1);
......
......@@ -91,9 +91,6 @@ function DB:PopulateExpPatterns()
pattern = T.rgsub(COMBATLOG_XPGAIN_FIRSTPERSON,T.unpack(symbols))
T.tinsert(DB.Exp.Strings.Normal, pattern)
-- pattern = T.rgsub(COMBATLOG_XPGAIN_QUEST,T.unpack(symbols))
-- T.tinsert(DB.Exp.Strings, pattern)
pattern = T.rgsub(COMBATLOG_XPGAIN_EXHAUSTION1,T.unpack(symbols))
T.tinsert(DB.Exp.Strings.Bonus, pattern)
......@@ -135,12 +132,6 @@ function DB:PopulateExpPatterns()
pattern = T.rgsub(COMBATLOG_XPGAIN_FIRSTPERSON_RAID,T.unpack(symbols))
T.tinsert(DB.Exp.Strings.FirstPenalty, pattern)
-- pattern = T.rgsub(COMBATLOG_XPGAIN_FIRSTPERSON_UNNAMED_GROUP,T.unpack(symbols))
-- T.tinsert(DB.Exp.Strings, pattern)
-- pattern = T.rgsub(COMBATLOG_XPGAIN_FIRSTPERSON_UNNAMED_RAID,T.unpack(symbols))
-- T.tinsert(DB.Exp.Strings, pattern)
end
function DB:FilterExperience(event, message, ...)
......
......@@ -232,7 +232,6 @@ function DTP:Initialize()
-- hooksecurefunc(DT, "LoadDataTexts", DTP.MouseoverHook)
hooksecurefunc(DT, "LoadDataTexts", DTP.LoadDTHook)
-- :UpdateSettings()
hooksecurefunc(MM, "UpdateSettings", DTP.LoadDTHook)
DTP:LoadDTHook()
end
......
......@@ -332,7 +332,6 @@ function LT:Initialize()
end
LT:Update()
hooksecurefunc(M, 'START_LOOT_ROLL', function(self, event, id) LT:HandleRoll(event, id) end)
-- hooksecurefunc("LootHistoryFrame_FullUpdate", )
LT:LootIconToggle()
end
......
......@@ -143,7 +143,6 @@ function I:Initialize()
I.BlizzDif:HookScript("OnShow", function(self) if I.db.enable then self:Hide() end end)
I.BlizzGDif:HookScript("OnShow", function(self) if I.db.enable then self:Hide() end end)
I.BlizzCM:HookScript("OnShow", function(self) if I.db.enable then self:Hide() end end)
-- self:RegisterEvent("PLAYER_ENTERING_WORLD", "GenerateText")
self:RegisterEvent("LOADING_SCREEN_DISABLED", "GenerateText")
self:RegisterEvent("ZONE_CHANGED_NEW_AREA", "GenerateText")
self:RegisterEvent("GUILD_PARTY_STATE_UPDATED", "GenerateText")
......
......@@ -23,6 +23,8 @@ local RAID_CLASS_COLORS = RAID_CLASS_COLORS
local collectgarbage = collectgarbage
local factionToken = UnitFactionGroup('player')
LP.CDformats = {
["DEFAULT"] = [[ (%s |TInterface\FriendsFrame\StatusIcon-Away:16|t)]],
["DEFAULT_ICONFIRST"] = [[ (|TInterface\FriendsFrame\StatusIcon-Away:16|t %s)]],
......
......@@ -70,13 +70,10 @@ end
function MM:CreateCoordsFrame()
MM.coordspanel = CreateFrame('Frame', "SLE_CoordsPanel", _G["Minimap"])
-- MM.coordspanel = CreateFrame('Frame', "SLE_CoordsPanel", E.UIParent)
MM.coordspanel:Point("BOTTOM", _G["Minimap"], "BOTTOM", 0, 0)
MM.coordspanel.WidthValue = 0
-- MM.coordspanel:CreateBackdrop()
MM.coordspanel.Text = MM.coordspanel:CreateFontString(nil, "OVERLAY")
-- MM.coordspanel.Text:SetAllPoints(MM.coordspanel)
MM.coordspanel.Text:SetPoint("CENTER", MM.coordspanel)
MM.coordspanel.Text:SetWordWrap(false)
......
......@@ -85,7 +85,7 @@ function Pr:FishCasting()
FL:SaveTooltipText();
end
Pr.LastCastTime = T.GetTime();
-- autopoleframe:Show();
FL:InvokeFishing();
end
FL:OverrideClick(HideAwayAll);
......
......@@ -19,17 +19,14 @@ local function CustomRollCall()
end
function UB:ConfigSetup(menu)
--UB:CreateSeparator("Config", "SLE_StartSeparator", 1, 2)
menu:CreateDropdownButton("Config", "Elv", "|cff1784d1ElvUI|r", L["ElvUI Config"], L["Click to toggle config window"], function() if T.InCombatLockdown() then return end; E:ToggleConfig() end, nil, true)
menu:CreateDropdownButton("Config", "SLE", "|cff9482c9S&L|r", L["S&L Config"], L["Click to toggle Shadow & Light config group"], function() if T.InCombatLockdown() then return end; E:ToggleConfig(); SLE.ACD:SelectGroup("ElvUI", "sle") end, nil, true)
menu:CreateSeparator("Config", "First", 4, 2)
menu:CreateDropdownButton( "Config", "Reload", "/reloadui", L["Reload UI"], L["Click to reload your interface"], function() ReloadUI() end, nil, true)
menu:CreateDropdownButton("Config", "MoveUI", "/moveui", L["Move UI"], L["Click to unlock moving ElvUI elements"], function() if T.InCombatLockdown() then return end; E:ToggleConfigMode() end, nil, true)
--UB:CreateSeparator("Config", "SLE_EndSeparator", 1, 2)
end
function UB:AddonSetup(menu)
--UB:CreateSeparator("Addon", "SLE_StartSeparator", 1, 2)
menu:CreateDropdownButton("Addon", "Manager", L["AddOns"], L["AddOns Manager"], L["Click to toggle the AddOn Manager frame."], function() _G["GameMenuButtonAddons"]:Click() end, nil, true)
menu:CreateDropdownButton("Addon", "DBM", L["Boss Mod"], L["Boss Mod"], L["Click to toggle the Configuration/Option Window from the Bossmod you have enabled."], function() DBM:LoadGUI() end, "DBM-Core")
......@@ -45,7 +42,6 @@ function UB:AddonSetup(menu)
--Always keep at the bottom--
menu:CreateDropdownButton("Addon", "WowLua", "WowLua", nil, nil, function() SlashCmdList["WOWLUA"]("") end, "WowLua", false)
--UB:CreateSeparator("Addon", "SLE_EndSeparator", 1, 2)
end
function UB:StatusSetup(menu)
......
......@@ -45,11 +45,4 @@ function SUF:Update_GroupFrames(frame)
frame:DisableElement('SLE_Dead')
end
end
-- if frame.db.roleIcon.enable and frame.GroupRoleIndicator then
-- frame.GroupRoleIndicator:ClearAllPoints()
-- local x, y = self:GetPositionOffset(frame.db.roleIcon.position, 1)
-- frame.GroupRoleIndicator:ClearAllPoints()
-- frame.GroupRoleIndicator:Point(frame.db.roleIcon.position, frame.Health, frame.db.roleIcon.position, x + db.role.xoffset, y + db.role.yoffset)
-- end
end
\ No newline at end of file
......@@ -55,7 +55,6 @@ local function configTable()
isPercent = true,
get = function(info) return E.db.sle.blizzard[ info[#info] ] end,
set = function(info, value) E.db.sle.blizzard[ info[#info] ] = value; B:VehicleScale() end,
-- disabled = function() return not E.private.sle.skins.objectiveTracker.enable or not E.private.skins.blizzard.enable or not E.private.skins.blizzard.objectiveTracker end,
},
errorframe = {
order = 11,
......
......@@ -86,14 +86,12 @@ local function configTable()
type = "range",
min = -100, max = 100, step = 1,
name = L["X-Offset"],
-- desc = L["Datatext will flash if durability shown will be equal or lower that this value. Set to -1 to disable"],
},
yOffset = {
order = 1,
type = "range",
min = -100, max = 100, step = 1,
name = L["Y-Offset"],
-- desc = L["Datatext will flash if durability shown will be equal or lower that this value. Set to -1 to disable"],
},
},
}
......
......@@ -95,7 +95,7 @@ local function configTable()
credits = {
order = 2,
type = "description",
name = L["ELVUI_SLE_CREDITS"]..'\n\n\n'..L["Submodules and Coding:"]..'\n\n'..L["ELVUI_SLE_CODERS"]..'\n\n\n'..L["Other Support:"]..'\n\n'..L["ELVUI_SLE_MISC"],
name = L["ELVUI_SLE_CREDITS"]..'\n\n\n'..L["Submodules and Coding:"]..'\n\n'..L["ELVUI_SLE_CODERS"]..'\n\n\n'..L["ELVUI_SLE_DONORS_TITLE"]..'\n\n\n'..L["ELVUI_SLE_DONORS"]..'\n\n\n'..L["Other Support:"]..'\n\n'..L["ELVUI_SLE_MISC"],
},
},
},
......
......@@ -2,7 +2,6 @@
<!--Core-->
<Script file='core_c.lua'/>
<Script file='skins_c.lua'/>
<Script file='misc_c.lua'/>
<Script file='legacy_c.lua'/>
<Script file='afk_c.lua'/>
<Script file='unitframes_c.lua'/>
......
......@@ -268,7 +268,6 @@ local function configTable()
type = "group",
name = L["Loot Icons"],
order = 11,
-- guiInline = true,
args = {
enable = {
order = 1,
......
local SLE, T, E, L, V, P, G = unpack(select(2, ...))
local M = SLE:GetModule('Misc');
local function configTable()
if not SLE.initialized then return end
E.Options.args.sle.args.options.args.general.args.misc = {
type = "group",
name = L["Misc"],
order = 75,
args = {
header = {
order = 1,
type = "header",
name = L["Misc"],
},
vehicle = {
type = "group",
name = L["Enhanced Vehicle Bar"],
order = 5,
guiInline = true,
args = {
info = {
order = 2,
type = "description",
name = L["A different look/feel vehicle bar"],
},
enable = {
order = 3,
type = "toggle",
name = L["Enable"],
get = function(info) return E.private.sle.vehicle.enable end,
set = function(info, value) E.private.sle.vehicle.enable = value; E:StaticPopup_Show("PRIVATE_RL") end,
},
},
},
viewport = {
type = "group",
name = L["Viewport"],
order = 6,
guiInline = true,
get = function(info) return E.db.sle.misc.viewport[ info[#info] ] end,
set = function(info, value) E.db.sle.misc.viewport[ info[#info] ] = value; M:SetViewport() end,
args = {
left = {
order = 1,
name = L["Left Offset"],
desc = L["Set the offset from the left border of the screen."],
type = "range",
min = 0, max = E.screenwidth/2, step = 1,
},
right = {
order = 2,
name = L["Right Offset"],
desc = L["Set the offset from the right border of the screen."],
type = "range",
min = 0, max = E.screenwidth/2, step = 1,
},
top = {
order = 3,
name = L["Top Offset"],
desc = L["Set the offset from the top border of the screen."],
type = "range",
min = 0, max = E.screenheight /2 , step = 1,
},
bottom = {
order = 4,
name = L["Bottom Offset"],
desc = L["Set the offset from the bottom border of the screen."],
type = "range",
min = 0, max = E.screenheight /2 , step = 1,
},
},
},
},
}
end
-- T.tinsert(SLE.Configs, configTable)
\ No newline at end of file
......@@ -19,7 +19,6 @@ local function configTable()
order = 2,
type = "group",
name = L["Deconstruct Mode"],
-- guiInline = true,
args = {
enable = {
order = 1,
......@@ -58,7 +57,6 @@ local function configTable()
order = 3,
type = "group",
name = T.GetSpell(158716),
-- guiInline = true,
args = {
enchScroll = {
order = 1,
......@@ -130,7 +128,6 @@ local function configTable()
order = 4,
type = "group",
name = T.GetSpell(1804),
-- guiInline = true,
args = {
infos = {
order = 1,
......@@ -163,7 +160,6 @@ local function configTable()
order = 5,
type = "group",
name = T.GetSpell(7620),
-- guiInline = true,
args = {
easycast = {
order = 1,
......
......@@ -7,11 +7,9 @@ local function LoadSkin()
hooksecurefunc('PawnUI_InventoryPawnButton_Move', function()
if _G["PawnUI_InventoryPawnButton"] then
if PawnCommon.ButtonPosition == PawnButtonPositionRight then
--print("1")
_G["PawnUI_InventoryPawnButton"]:ClearAllPoints()
_G["PawnUI_InventoryPawnButton"]:SetPoint('BOTTOMRIGHT', _G["PaperDollFrame"], 'BOTTOMRIGHT', 0, 0)
elseif PawnCommon.ButtonPosition == PawnButtonPositionLeft then
--print("2")
_G["PawnUI_InventoryPawnButton"]:ClearAllPoints()
_G["PawnUI_InventoryPawnButton"]:SetPoint('BOTTOMLEFT', _G["PaperDollFrame"], 'BOTTOMLEFT', 0, 0)
end
......
......@@ -64,10 +64,6 @@ local function LoadSkin()
for _, object in T.pairs(charframe) do
_G[object]:StripTextures()
end
-- CharacterModelFrameBackgroundOverlay:SetPoint('TOPLEFT', CharacterArmory, -8, 0)
-- CharacterModelFrameBackgroundOverlay:SetPoint('BOTTOMRIGHT', CharacterArmory, 8, 0)
-- CharacterModelFrameBackgroundOverlay:SetSize()
end
hooksecurefunc(S, "Initialize", LoadSkin)
\ No newline at end of file
......@@ -238,14 +238,6 @@ local function UpdateMerchantInfo()
merchantMoney:Show();
end
-- quality = 1;
-- if (itemButton.link) and not IgnoreCurrency[name] then
-- _, _, quality, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, _, itemSellPrice = T.GetItemInfo(itemButton.link);
-- end
--set color
-- r, g, b = T.GetItemQualityColor(quality);
-- _G["MerchantItem" .. i .. "Name"]:SetTextColor(r, g, b);
MerchantFrameItem_UpdateQuality(merchantButton, itemButton.link);
local merchantItemID = GetMerchantItemID(index);
......@@ -271,7 +263,6 @@ local function UpdateMerchantInfo()
slotColor = {r = 1.0, g = 0, b = 0};
detailColor = {r = 1.0, g = 0, b = 0};
else
-- print(itemType)
if not isKnown(itemButton.link, itemType, itemSubType) then
slotColor = {r = 1.0, g = 1.0, b = 1.0};
detailColor = {r = 0.5, g = 0.5, b = 0.5};
......
......@@ -643,7 +643,6 @@ local function Create_ListButton(frame, i)
local iteminfo = button:CreateFontString("ARTWORK", "$parentItemInfo")
button.iteminfo = iteminfo;
iteminfo:SetFont(E.LSM:Fetch('font', E.db.sle.skins.merchant.list.subFont), E.db.sle.skins.merchant.list.subSize, E.db.sle.skins.merchant.list.subOutline)
-- iteminfo:SetPoint("BOTTOMLEFT", 30.4, 3);
iteminfo:SetPoint("BOTTOMLEFT", icon, "BOTTOMRIGHT", 4, -3);
iteminfo:SetJustifyH("LEFT");
......
......@@ -168,19 +168,10 @@ local function SkinProvingGroundButtons()
sb:ClearAllPoints()
sb:SetPoint('TOPLEFT', block.MedalIcon, 'BOTTOMLEFT', -4, -5)
sb:SetSize(200, 15)
-- Create a little border around the Bar.
-- local sb2 = sb:GetParent():CreateTexture(nil, 'BACKGROUND')
-- sb2:SetPoint('TOPLEFT', sb, -1, 1)
-- sb2:SetPoint('BOTTOMRIGHT', sb, 1, -1)
-- sb2:SetTexture(E.LSM:Fetch('statusbar', E.private.sle.skins.objectiveTracker.texture))
-- sb2:SetAlpha(0.5)
-- sb2:SetVertexColor(unpack(E.media.backdropcolor))
end
local function ObjectiveReskin()
if T.IsAddOnLoaded("Blizzard_ObjectiveTracker") then
-- _G["ObjectiveTrackerFrame"]:CreateBackdrop()
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.objectiveTracker ~= true or E.private.sle.skins.objectiveTracker.enable ~= true then return end
-- Objective Tracker Bar
hooksecurefunc(_G["BONUS_OBJECTIVE_TRACKER_MODULE"], "AddProgressBar", skinObjectiveBar)
......
......@@ -3,14 +3,11 @@ local S = E:GetModule('Skins')
local function LoadSkin()
if E.db.sle.skins.talkinghead.hide then
--SLE:Print("Hiding Talking Head Frame True")
if (not IsAddOnLoaded("Blizzard_TalkingHeadUI")) then
--SLE:Print("Blizzard_TalkingHeadUI not loaded")
local f = CreateFrame("Frame")
f:RegisterEvent("ADDON_LOADED")
f:SetScript("OnEvent", function(self, event, addon)
if event == "ADDON_LOADED" and addon == "Blizzard_TalkingHeadUI" then
--SLE:Print("Blizzard_TalkingHeadUI Loaded")
hooksecurefunc("TalkingHeadFrame_PlayCurrent", function()
TalkingHeadFrame:Hide()
end)
......@@ -18,7 +15,6 @@ local function LoadSkin()
end
end)
else
--SLE:Print("Blizzard_TalkingHeadUI already loaded")
hooksecurefunc("TalkingHeadFrame_PlayCurrent", function()
TalkingHeadFrame:Hide()
end)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment