mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update Skins
This commit is contained in:
@@ -10,7 +10,7 @@ local pairs = pairs
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.auctionhouse ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.auctionhouse ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(AuctionFrame, true)
|
E:StripTextures(AuctionFrame, true)
|
||||||
E:CreateBackdrop(AuctionFrame, "Transparent")
|
E:CreateBackdrop(AuctionFrame, "Transparent")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ local split = string.split
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.bgscore ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.bgscore ~= true then return end
|
||||||
|
|
||||||
E:CreateBackdrop(WorldStateScoreFrame, "Transparent")
|
E:CreateBackdrop(WorldStateScoreFrame, "Transparent")
|
||||||
WorldStateScoreFrame.backdrop:SetPoint("TOPLEFT", 10, -15)
|
WorldStateScoreFrame.backdrop:SetPoint("TOPLEFT", 10, -15)
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ function S:BankFrameItemButton_OnUpdate()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if not E.private.skins.blizzard.enable and E.private.skins.blizzard.bags and not E.private.bags.enable then return end
|
if not E.private.skins.blizzard.enable and E.private.skins.blizzard.bags and not E.private.bags.enable then return end
|
||||||
|
|
||||||
-- ContainerFrame
|
-- ContainerFrame
|
||||||
local containerFrame, containerFrameClose
|
local containerFrame, containerFrameClose
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, Profi
|
|||||||
local S = E:GetModule("Skins");
|
local S = E:GetModule("Skins");
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.battlefield ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(BattlefieldFrame)
|
E:StripTextures(BattlefieldFrame)
|
||||||
|
|
||||||
E:CreateBackdrop(BattlefieldFrame, "Transparent")
|
E:CreateBackdrop(BattlefieldFrame, "Transparent")
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ local _G = _G
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.binding ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.binding ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(KeyBindingFrame)
|
E:StripTextures(KeyBindingFrame)
|
||||||
E:CreateBackdrop(KeyBindingFrame, "Transparent")
|
E:CreateBackdrop(KeyBindingFrame, "Transparent")
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ local NUM_FACTIONS_DISPLAYED = NUM_FACTIONS_DISPLAYED
|
|||||||
local CHARACTERFRAME_SUBFRAMES = CHARACTERFRAME_SUBFRAMES
|
local CHARACTERFRAME_SUBFRAMES = CHARACTERFRAME_SUBFRAMES
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.character ~= true then return end
|
||||||
|
|
||||||
-- Character Frame
|
-- Character Frame
|
||||||
E:StripTextures(CharacterFrame, true)
|
E:StripTextures(CharacterFrame, true)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ local GetCraftItemLink = GetCraftItemLink
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or not E.private.skins.blizzard.craft ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or not E.private.skins.blizzard.craft ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(CraftFrame, true)
|
E:StripTextures(CraftFrame, true)
|
||||||
E:CreateBackdrop(CraftFrame, "Transparent")
|
E:CreateBackdrop(CraftFrame, "Transparent")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ local getn = table.getn
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.debug ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.debug ~= true then return end
|
||||||
|
|
||||||
-- ScriptErrorsFrame:SetParent(E.UIParent)
|
-- ScriptErrorsFrame:SetParent(E.UIParent)
|
||||||
ScriptErrorsFrame:SetScale(UIParent:GetScale())
|
ScriptErrorsFrame:SetScale(UIParent:GetScale())
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ local S = E:GetModule("Skins");
|
|||||||
local SetDressUpBackground = SetDressUpBackground
|
local SetDressUpBackground = SetDressUpBackground
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.dressingroom ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.dressingroom ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(DressUpFrame)
|
E:StripTextures(DressUpFrame)
|
||||||
E:CreateBackdrop(DressUpFrame, "Transparent")
|
E:CreateBackdrop(DressUpFrame, "Transparent")
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ local CUSTOM_CLASS_COLORS = CUSTOM_CLASS_COLORS
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
function LoadSkin()
|
function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.friends ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.friends ~= true then return end
|
||||||
|
|
||||||
-- Friends Frame
|
-- Friends Frame
|
||||||
E:StripTextures(FriendsFrame, true)
|
E:StripTextures(FriendsFrame, true)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local _G = _G
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.gossip ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.gossip ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(ItemTextFrame, true)
|
E:StripTextures(ItemTextFrame, true)
|
||||||
E:StripTextures(ItemTextScrollFrame)
|
E:StripTextures(ItemTextScrollFrame)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ local find, gsub = string.find, string.gsub
|
|||||||
local HookScript = HookScript
|
local HookScript = HookScript
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.greeting ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.greeting ~= true then return end
|
||||||
|
|
||||||
HookScript(QuestFrameGreetingPanel, "OnShow", function()
|
HookScript(QuestFrameGreetingPanel, "OnShow", function()
|
||||||
E:StripTextures(QuestFrameGreetingPanel)
|
E:StripTextures(QuestFrameGreetingPanel)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ local _G = _G
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.guildregistrar ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.guildregistrar ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(GuildRegistrarFrame, true)
|
E:StripTextures(GuildRegistrarFrame, true)
|
||||||
E:CreateBackdrop(GuildRegistrarFrame, "Transparent")
|
E:CreateBackdrop(GuildRegistrarFrame, "Transparent")
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local getn = table.getn
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.help ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.help ~= true then return end
|
||||||
|
|
||||||
local helpFrameButtons = {
|
local helpFrameButtons = {
|
||||||
"GeneralBack",
|
"GeneralBack",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ local GetItemQualityColor = GetItemQualityColor
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.inspect then return end
|
if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.inspect then return end
|
||||||
|
|
||||||
E:StripTextures(InspectFrame, true)
|
E:StripTextures(InspectFrame, true)
|
||||||
E:CreateBackdrop(InspectFrame, "Transparent")
|
E:CreateBackdrop(InspectFrame, "Transparent")
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ local NUM_GROUP_LOOT_FRAMES = NUM_GROUP_LOOT_FRAMES
|
|||||||
local LOOT = LOOT
|
local LOOT = LOOT
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.general.loot then return end
|
if E.private.general.loot then return end
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.loot ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.loot ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(LootFrame)
|
E:StripTextures(LootFrame)
|
||||||
|
|
||||||
@@ -92,8 +92,8 @@ local function LoadSkin()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function LoadRollSkin()
|
local function LoadRollSkin()
|
||||||
-- if E.private.general.lootRoll then return end
|
if E.private.general.lootRoll then return end
|
||||||
-- if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.lootRoll then return end
|
if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.lootRoll then return end
|
||||||
|
|
||||||
local function OnShow(self)
|
local function OnShow(self)
|
||||||
E:SetTemplate(self, "Transparent")
|
E:SetTemplate(self, "Transparent")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ local getn = table.getn
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.macro ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.macro ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(MacroFrame)
|
E:StripTextures(MacroFrame)
|
||||||
E:CreateBackdrop(MacroFrame, "Transparent")
|
E:CreateBackdrop(MacroFrame, "Transparent")
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ local hooksecurefunc = hooksecurefunc
|
|||||||
local INBOXITEMS_TO_DISPLAY = INBOXITEMS_TO_DISPLAY
|
local INBOXITEMS_TO_DISPLAY = INBOXITEMS_TO_DISPLAY
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.mail ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.mail ~= true then return end
|
||||||
|
|
||||||
-- Inbox Frame
|
-- Inbox Frame
|
||||||
E:StripTextures(MailFrame, true)
|
E:StripTextures(MailFrame, true)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ local GetItemLinkByName = GetItemLinkByName
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.merchant ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.merchant ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(MerchantFrame, true)
|
E:StripTextures(MerchantFrame, true)
|
||||||
E:CreateBackdrop(MerchantFrame, "Transparent")
|
E:CreateBackdrop(MerchantFrame, "Transparent")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ local floor, format = math.floor, string.format
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.mirrorTimers ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.mirrorTimers ~= true then return end
|
||||||
|
|
||||||
hooksecurefunc("MirrorTimerFrame_OnUpdate", function(frame, elapsed)
|
hooksecurefunc("MirrorTimerFrame_OnUpdate", function(frame, elapsed)
|
||||||
if frame.paused then
|
if frame.paused then
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ local UnitIsUnit = UnitIsUnit
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.misc ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.misc ~= true then return end
|
||||||
|
|
||||||
-- Blizzard frame we want to reskin
|
-- Blizzard frame we want to reskin
|
||||||
local skins = {
|
local skins = {
|
||||||
"GameMenuFrame",
|
"GameMenuFrame",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ local _G = _G
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.petition ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.petition ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(PetitionFrame, true)
|
E:StripTextures(PetitionFrame, true)
|
||||||
E:CreateBackdrop(PetitionFrame, "Transparent")
|
E:CreateBackdrop(PetitionFrame, "Transparent")
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ local GetItemQualityColor = GetItemQualityColor
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.quest ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.quest ~= true then return end
|
||||||
|
|
||||||
local QuestStrip = {
|
local QuestStrip = {
|
||||||
"QuestFrame",
|
"QuestFrame",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ local S = E:GetModule("Skins");
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.questtimer ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.questtimers ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(QuestTimerFrame)
|
E:StripTextures(QuestTimerFrame)
|
||||||
E:SetTemplate(QuestTimerFrame, "Transparent")
|
E:SetTemplate(QuestTimerFrame, "Transparent")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ local pairs = pairs
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
function LoadSkin()
|
function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.raid ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.raid ~= true then return end
|
||||||
|
|
||||||
-- RaidFrame
|
-- RaidFrame
|
||||||
local StripAllTextures = {
|
local StripAllTextures = {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local unpack = unpack
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.spellbook ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.spellbook ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(SpellBookFrame, true)
|
E:StripTextures(SpellBookFrame, true)
|
||||||
E:CreateBackdrop(SpellBookFrame, "Transparent")
|
E:CreateBackdrop(SpellBookFrame, "Transparent")
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ local hooksecurefunc = hooksecurefunc
|
|||||||
local UnitExists = UnitExists
|
local UnitExists = UnitExists
|
||||||
|
|
||||||
function LoadSkin()
|
function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.stable ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.stable ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(PetStableFrame)
|
E:StripTextures(PetStableFrame)
|
||||||
E:Kill(PetStableFramePortrait)
|
E:Kill(PetStableFramePortrait)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local _G = _G
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tabard ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tabard ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(TabardFrame)
|
E:StripTextures(TabardFrame)
|
||||||
E:Kill(TabardFramePortrait)
|
E:Kill(TabardFramePortrait)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local unpack = unpack
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.talent ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.talent ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(TalentFrame)
|
E:StripTextures(TalentFrame)
|
||||||
E:CreateBackdrop(TalentFrame, "Transparent")
|
E:CreateBackdrop(TalentFrame, "Transparent")
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, Profi
|
|||||||
local S = E:GetModule("Skins");
|
local S = E:GetModule("Skins");
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.taxi ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.taxi ~= true then return end
|
||||||
|
|
||||||
E:CreateBackdrop(TaxiFrame, "Transparent")
|
E:CreateBackdrop(TaxiFrame, "Transparent")
|
||||||
TaxiFrame.backdrop:SetPoint("TOPLEFT", 11, -12)
|
TaxiFrame.backdrop:SetPoint("TOPLEFT", 11, -12)
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ local pairs = pairs
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tooltip ~= true then return end
|
||||||
|
|
||||||
S:HandleCloseButton(ItemRefCloseButton)
|
S:HandleCloseButton(ItemRefCloseButton)
|
||||||
|
|
||||||
local GameTooltip = _G["GameTooltip"]
|
local GameTooltip = _G["GameTooltip"]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ local GetTradeTargetItemInfo = GetTradeTargetItemInfo
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.trade ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.trade ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(TradeFrame, true)
|
E:StripTextures(TradeFrame, true)
|
||||||
TradeFrame:SetWidth(400)
|
TradeFrame:SetWidth(400)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ local GetTradeSkillReagentItemLink = GetTradeSkillReagentItemLink
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tradeskill ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tradeskill ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(TradeSkillFrame, true)
|
E:StripTextures(TradeSkillFrame, true)
|
||||||
E:CreateBackdrop(TradeSkillFrame, "Transparent")
|
E:CreateBackdrop(TradeSkillFrame, "Transparent")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ local find = string.find
|
|||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.trainer ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.trainer ~= true then return end
|
||||||
|
|
||||||
E:CreateBackdrop(ClassTrainerFrame, "Transparent")
|
E:CreateBackdrop(ClassTrainerFrame, "Transparent")
|
||||||
ClassTrainerFrame.backdrop:SetPoint("TOPLEFT", 10, -11)
|
ClassTrainerFrame.backdrop:SetPoint("TOPLEFT", 10, -11)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local _G = _G
|
|||||||
local MAX_TUTORIAL_ALERTS = MAX_TUTORIAL_ALERTS
|
local MAX_TUTORIAL_ALERTS = MAX_TUTORIAL_ALERTS
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tutorial ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.tutorial ~= true then return end
|
||||||
|
|
||||||
for i = 1, MAX_TUTORIAL_ALERTS do
|
for i = 1, MAX_TUTORIAL_ALERTS do
|
||||||
local button = _G["TutorialFrameAlertButton"..i]
|
local button = _G["TutorialFrameAlertButton"..i]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, Profi
|
|||||||
local S = E:GetModule("Skins");
|
local S = E:GetModule("Skins");
|
||||||
|
|
||||||
local function LoadSkin()
|
local function LoadSkin()
|
||||||
-- if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.worldmap ~= true then return end
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.worldmap ~= true then return end
|
||||||
|
|
||||||
E:StripTextures(WorldMapFrame)
|
E:StripTextures(WorldMapFrame)
|
||||||
E:CreateBackdrop(WorldMapPositioningGuide, "Transparent")
|
E:CreateBackdrop(WorldMapPositioningGuide, "Transparent")
|
||||||
|
|||||||
@@ -46,7 +46,43 @@ V["skins"] = {
|
|||||||
},
|
},
|
||||||
["blizzard"] = {
|
["blizzard"] = {
|
||||||
["enable"] = true,
|
["enable"] = true,
|
||||||
|
["alertframes"] = true,
|
||||||
|
["auctionhouse"] = true,
|
||||||
|
["bags"] = true,
|
||||||
|
["battlefield"] = true,
|
||||||
|
["bgscore"] = true,
|
||||||
|
["binding"] = true,
|
||||||
|
["character"] = true,
|
||||||
|
["debug"] = true,
|
||||||
|
["dressingroom"] = true,
|
||||||
|
["friends"] = true,
|
||||||
|
["gossip"] = true,
|
||||||
|
["greeting"] = true,
|
||||||
|
["guildregistrar"] = true,
|
||||||
|
["help"] = true,
|
||||||
|
["inspect"] = true,
|
||||||
|
["loot"] = true,
|
||||||
|
["lootRoll"] = true,
|
||||||
|
["macro"] = true,
|
||||||
|
["mail"] = true,
|
||||||
|
["merchant"] = true,
|
||||||
|
["misc"] = true,
|
||||||
|
["petition"] = true,
|
||||||
|
["quest"] = true,
|
||||||
|
["questtimers"] = true,
|
||||||
|
["raid"] = true,
|
||||||
|
["spellbook"] = true,
|
||||||
|
["stable"] = true,
|
||||||
|
["tabard"] = true,
|
||||||
|
["talent"] = true,
|
||||||
|
["taxi"] = true,
|
||||||
|
["tooltip"] = true,
|
||||||
|
["trade"] = true,
|
||||||
|
["tradeskill"] = true,
|
||||||
|
["trainer"] = true,
|
||||||
|
["tutorial"] = true,
|
||||||
|
["worldmap"] = true,
|
||||||
|
["mirrorTimers"] = true
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,26 +34,11 @@ E.Options.args.skins = {
|
|||||||
disabled = function() return not E.private.skins.blizzard.enable end,
|
disabled = function() return not E.private.skins.blizzard.enable end,
|
||||||
guiInline = true,
|
guiInline = true,
|
||||||
args = {
|
args = {
|
||||||
achievement = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Achievement Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
alertframes = {
|
alertframes = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Alert Frames"],
|
name = L["Alert Frames"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
arena = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Arena Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
arenaregistrar = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Arena Registrar"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
auctionhouse = {
|
auctionhouse = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Auction Frame"],
|
name = L["Auction Frame"],
|
||||||
@@ -65,14 +50,9 @@ E.Options.args.skins = {
|
|||||||
desc = L["TOGGLESKIN_DESC"],
|
desc = L["TOGGLESKIN_DESC"],
|
||||||
disabled = function() return E.private.bags.enable end
|
disabled = function() return E.private.bags.enable end
|
||||||
},
|
},
|
||||||
barber = {
|
battlefield = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Barbershop Frame"],
|
name = L["Battlefield Frame"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
bgmap = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["BG Map"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
bgscore = {
|
bgscore = {
|
||||||
@@ -85,11 +65,6 @@ E.Options.args.skins = {
|
|||||||
name = L["KeyBinding Frame"],
|
name = L["KeyBinding Frame"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
calendar = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Calendar Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
character = {
|
character = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Character Frame"],
|
name = L["Character Frame"],
|
||||||
@@ -110,16 +85,6 @@ E.Options.args.skins = {
|
|||||||
name = L["Friends"],
|
name = L["Friends"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
gbank = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Guild Bank"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
gmchat = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["GM Chat"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
gossip = {
|
gossip = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Gossip Frame"],
|
name = L["Gossip Frame"],
|
||||||
@@ -145,16 +110,6 @@ E.Options.args.skins = {
|
|||||||
name = L["Inspect Frame"],
|
name = L["Inspect Frame"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
lfd = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["LFD Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
lfr = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["LFR Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
loot = {
|
loot = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Loot Frames"],
|
name = L["Loot Frames"],
|
||||||
@@ -192,26 +147,21 @@ E.Options.args.skins = {
|
|||||||
name = L["Petition Frame"],
|
name = L["Petition Frame"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
pvp = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["PvP Frames"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
quest = {
|
quest = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Quest Frames"],
|
name = L["Quest Frames"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
|
questtimers = {
|
||||||
|
type = "toggle",
|
||||||
|
name = QUEST_TIMERS,
|
||||||
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
|
},
|
||||||
raid = {
|
raid = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Raid Frame"],
|
name = L["Raid Frame"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
socket = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Socket Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
spellbook = {
|
spellbook = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Spellbook"],
|
name = L["Spellbook"],
|
||||||
@@ -242,11 +192,6 @@ E.Options.args.skins = {
|
|||||||
name = L["Tooltip"],
|
name = L["Tooltip"],
|
||||||
desc = L["TOGGLESKIN_DESC"],
|
desc = L["TOGGLESKIN_DESC"],
|
||||||
},
|
},
|
||||||
timemanager = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Time Manager"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
trade = {
|
trade = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["Trade Frame"],
|
name = L["Trade Frame"],
|
||||||
@@ -267,11 +212,6 @@ E.Options.args.skins = {
|
|||||||
name = L["Tutorial Frame"],
|
name = L["Tutorial Frame"],
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
desc = L["TOGGLESKIN_DESC"]
|
||||||
},
|
},
|
||||||
watchframe = {
|
|
||||||
type = "toggle",
|
|
||||||
name = L["Watch Frame"],
|
|
||||||
desc = L["TOGGLESKIN_DESC"]
|
|
||||||
},
|
|
||||||
worldmap = {
|
worldmap = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = L["World Map"],
|
name = L["World Map"],
|
||||||
|
|||||||
Reference in New Issue
Block a user