diff --git a/ElvUI/ElvUI.toc b/ElvUI/ElvUI.toc
index 6295b16a4..90ef578dd 100644
--- a/ElvUI/ElvUI.toc
+++ b/ElvUI/ElvUI.toc
@@ -1,6 +1,6 @@
## Interface: 30300
## Author: Elv, Bunny, fxpw
-## Version: 7.04
+## Version: 7.05
## Title: |cff1784d1E|r|cffe5e3e3lvUI|r for sirus
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB, ElvSirusDB
diff --git a/ElvUI/Locales/ruRU.lua b/ElvUI/Locales/ruRU.lua
index b9562a95c..45f73a79e 100644
--- a/ElvUI/Locales/ruRU.lua
+++ b/ElvUI/Locales/ruRU.lua
@@ -466,7 +466,7 @@ L["Threat"] = "Угроза"
L["Miscellaneous"] = "Разное"
L["Collections"] = "Коллекции"
L["EncounterJ"] = "Приключения"
-
+--~afkwords
L["RandomWords"] ={ ---- не может быть только одной записи
"На все бабки в босса ©Сырсколбасой",
"Я потратил на эту строчку 20 минут ©fxpw",
@@ -516,7 +516,11 @@ L["RandomWords"] ={ ---- не может быть только одной зап
"Вещей 303 не будет в бронзовом святилище и не планировалось ©Crystal",
"Он сам спулился",
"Для того чтобы выбежать из лужи нажмите W",
- "А сколько у тебя брюлей?"
+ "А сколько у тебя брюлей?",
+ "Лучше брюль в рулетке, чем в кармане",
+ "Обходи эту шелупонь",
+ "Пачините макросы пж(",
+
diff --git a/ElvUI/Modules/Skins/Blizzard/Calendar.lua b/ElvUI/Modules/Skins/Blizzard/Calendar.lua
index d7b6b9c85..dc7a68eac 100644
--- a/ElvUI/Modules/Skins/Blizzard/Calendar.lua
+++ b/ElvUI/Modules/Skins/Blizzard/Calendar.lua
@@ -264,9 +264,9 @@ S:AddCallbackForAddon("Blizzard_Calendar", "Skin_Blizzard_Calendar", function()
S:HandleEditBox(CalendarMassInviteGuildMaxLevelEdit)
S:HandleButton(CalendarMassInviteGuildAcceptButton)
- S:HandleButton(CalendarMassInviteArenaButton2)
- S:HandleButton(CalendarMassInviteArenaButton3)
- S:HandleButton(CalendarMassInviteArenaButton5)
+ -- S:HandleButton(CalendarMassInviteArenaButton2)
+ -- S:HandleButton(CalendarMassInviteArenaButton3)
+ -- S:HandleButton(CalendarMassInviteArenaButton5)
CalendarMassInviteFrame:Size(307, 179)
CalendarMassInviteFrame:ClearAllPoints()
@@ -285,9 +285,9 @@ S:AddCallbackForAddon("Blizzard_Calendar", "Skin_Blizzard_Calendar", function()
CalendarMassInviteGuildAcceptButton:Point("TOPRIGHT", -8, -100)
- CalendarMassInviteArenaButton2:Point("TOPLEFT", 8, -149)
- CalendarMassInviteArenaButton3:Point("TOP", 0, -149)
- CalendarMassInviteArenaButton5:Point("TOPRIGHT", -8, -149)
+ -- CalendarMassInviteArenaButton2:Point("TOPLEFT", 8, -149)
+ -- CalendarMassInviteArenaButton3:Point("TOP", 0, -149)
+ -- CalendarMassInviteArenaButton5:Point("TOPRIGHT", -8, -149)
select(6, CalendarMassInviteFrame:GetRegions()):Point("TOP", 0, -130)
@@ -330,7 +330,7 @@ S:AddCallbackForAddon("Blizzard_Calendar", "Skin_Blizzard_Calendar", function()
CalendarViewEventFrameModalOverlay:SetFrameStrata("DIALOG")
S:HandleButton(CalendarViewEventAcceptButton)
- S:HandleButton(CalendarViewEventTentativeButton)
+ -- S:HandleButton(CalendarViewEventTentativeButton)
S:HandleButton(CalendarViewEventRemoveButton)
S:HandleButton(CalendarViewEventDeclineButton)
diff --git a/ElvUI/Modules/Skins/Blizzard/Glyph.lua b/ElvUI/Modules/Skins/Blizzard/Glyph.lua
index ed2105711..3e3b48d67 100644
--- a/ElvUI/Modules/Skins/Blizzard/Glyph.lua
+++ b/ElvUI/Modules/Skins/Blizzard/Glyph.lua
@@ -1,101 +1,101 @@
-local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
-local S = E:GetModule("Skins")
-
---Lua functions
-local _G = _G
-local unpack = unpack
---WoW API / Variables
-
-S:AddCallbackForAddon("Blizzard_GlyphUI", "Skin_Blizzard_GlyphUI", function()
- if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.talent then return end
-
- if not PlayerTalentFrame then
- TalentFrame_LoadUI()
- end
-
- GlyphFrame:StripTextures()
-
- GlyphFrameBackground:Size(323, 349)
- GlyphFrameBackground:Point("TOPLEFT", 20, -59)
- GlyphFrameBackground:CreateBackdrop()
-
- S:HookScript(GlyphFrame, "OnShow", function(self)
- S:SetBackdropHitRect(self, PlayerTalentFrame.backdrop)
- S:Unhook(self, "OnShow")
- end)
-
- GlyphFrameBackground:SetTexture("Interface\\Spellbook\\UI-GlyphFrame")
- GlyphFrameGlow:SetTexture("Interface\\Spellbook\\UI-GlyphFrame-Glow")
- GlyphFrameGlow:SetAllPoints(GlyphFrameBackground)
-
- -- texWidth, texHeight, cropWidth, cropHeight, offsetX, offsetY = 512, 512, 315, 340, 21, 72
- GlyphFrameBackground:SetTexCoord(0.041015625, 0.65625, 0.140625, 0.8046875)
-
- -- texWidth, texHeight, cropWidth, cropHeight, offsetX, offsetY = 512, 512, 315, 340, 30, 34
- GlyphFrameGlow:SetTexCoord(0.05859375, 0.673828125, 0.06640625, 0.73046875)
-
- local glyphBGScale = 1.0253968
- local glyphPositions = {
- {"CENTER", -1, 126},
- {"CENTER", -1, -119},
- {"TOPLEFT", 8, -62},
- {"BOTTOMRIGHT", -10, 70},
- {"TOPRIGHT", -8, -62},
- {"BOTTOMLEFT", 7, 70}
- }
-
- local glyphFrameLevel = GlyphFrame:GetFrameLevel() + 1
- for i = 1, 6 do
- local frame = _G["GlyphFrameGlyph"..i]
- frame:SetParent(GlyphFrameBackground.backdrop)
- frame:SetFrameLevel(glyphFrameLevel)
- frame:SetScale(glyphBGScale)
- frame:Point(unpack(glyphPositions[i]))
- end
-
- GlyphFrame:HookScript("OnShow", function()
- PlayerTalentFrameTitleText:Hide()
- PlayerTalentFramePointsBar:Hide()
- PlayerTalentFrameScrollFrame:Hide()
- PlayerTalentFrameStatusFrame:Hide()
- PlayerTalentFrameActivateButton:Hide()
- end)
-
- GlyphFrame:SetScript("OnHide", function()
- PlayerTalentFrameTitleText:Show()
- PlayerTalentFramePointsBar:Show()
- PlayerTalentFrameScrollFrame:Show()
- end)
-
- hooksecurefunc(PlayerTalentFrame, "updateFunction", function()
- if GlyphFrame:IsShown() then
- PlayerTalentFramePreviewBar:Hide()
- end
- end)
-
- do
- local slotAnimations = {}
- local TOPLEFT, TOP, TOPRIGHT, BOTTOMRIGHT, BOTTOM, BOTTOMLEFT = 3, 1, 5, 4, 2, 6
- slotAnimations[TOPLEFT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -85, ["yStart"] = 17, ["yStop"] = 60}
- slotAnimations[TOP] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -13, ["yStart"] = 17, ["yStop"] = 100}
- slotAnimations[TOPRIGHT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = 59, ["yStart"] = 17, ["yStop"] = 60}
- slotAnimations[BOTTOM] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -13, ["yStart"] = 17, ["yStop"] = -64}
- slotAnimations[BOTTOMLEFT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -87, ["yStart"] = 18, ["yStop"] = -27}
- slotAnimations[BOTTOMRIGHT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = 61, ["yStart"] = 18, ["yStop"] = -27}
-
- for _, animData in ipairs(slotAnimations) do
- animData.xStart = animData.xStart + 3
- animData.yStart = animData.yStart + 8
- animData.xStop = (animData.xStop + 3) * glyphBGScale
- animData.yStop = (animData.yStop + 8) * glyphBGScale
- end
-
- hooksecurefunc("GlyphFrame_StartSlotAnimation", function(slotID, duration, size)
- local sparkle = _G["GlyphFrameSparkle"..slotID]
- local animation = slotAnimations[slotID]
-
- sparkle:SetPoint(animation.point, animation.xStart, animation.yStart)
- sparkle.animGroup.translate:SetOffset(animation.xStop - animation.xStart, animation.yStop - animation.yStart)
- end)
- end
-end)
\ No newline at end of file
+-- local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
+-- local S = E:GetModule("Skins")
+
+-- --Lua functions
+-- local _G = _G
+-- local unpack = unpack
+-- --WoW API / Variables
+
+-- S:AddCallbackForAddon("Blizzard_GlyphUI", "Skin_Blizzard_GlyphUI", function()
+-- if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.talent then return end
+
+-- if not PlayerTalentFrame then
+-- TalentFrame_LoadUI()
+-- end
+
+-- GlyphFrame:StripTextures()
+
+-- GlyphFrameBackground:Size(323, 349)
+-- GlyphFrameBackground:Point("TOPLEFT", 20, -59)
+-- GlyphFrameBackground:CreateBackdrop()
+
+-- S:HookScript(GlyphFrame, "OnShow", function(self)
+-- S:SetBackdropHitRect(self, PlayerTalentFrame.backdrop)
+-- S:Unhook(self, "OnShow")
+-- end)
+
+-- GlyphFrameBackground:SetTexture("Interface\\Spellbook\\UI-GlyphFrame")
+-- GlyphFrameGlow:SetTexture("Interface\\Spellbook\\UI-GlyphFrame-Glow")
+-- GlyphFrameGlow:SetAllPoints(GlyphFrameBackground)
+
+-- -- texWidth, texHeight, cropWidth, cropHeight, offsetX, offsetY = 512, 512, 315, 340, 21, 72
+-- GlyphFrameBackground:SetTexCoord(0.041015625, 0.65625, 0.140625, 0.8046875)
+
+-- -- texWidth, texHeight, cropWidth, cropHeight, offsetX, offsetY = 512, 512, 315, 340, 30, 34
+-- GlyphFrameGlow:SetTexCoord(0.05859375, 0.673828125, 0.06640625, 0.73046875)
+
+-- local glyphBGScale = 1.0253968
+-- local glyphPositions = {
+-- {"CENTER", -1, 126},
+-- {"CENTER", -1, -119},
+-- {"TOPLEFT", 8, -62},
+-- {"BOTTOMRIGHT", -10, 70},
+-- {"TOPRIGHT", -8, -62},
+-- {"BOTTOMLEFT", 7, 70}
+-- }
+
+-- local glyphFrameLevel = GlyphFrame:GetFrameLevel() + 1
+-- for i = 1, 6 do
+-- local frame = _G["GlyphFrameGlyph"..i]
+-- frame:SetParent(GlyphFrameBackground.backdrop)
+-- frame:SetFrameLevel(glyphFrameLevel)
+-- frame:SetScale(glyphBGScale)
+-- frame:Point(unpack(glyphPositions[i]))
+-- end
+
+-- GlyphFrame:HookScript("OnShow", function()
+-- PlayerTalentFrameTitleText:Hide()
+-- PlayerTalentFramePointsBar:Hide()
+-- -- PlayerTalentFrameScrollFrame:Hide()
+-- PlayerTalentFrameStatusFrame:Hide()
+-- PlayerTalentFrameActivateButton:Hide()
+-- end)
+
+-- GlyphFrame:SetScript("OnHide", function()
+-- PlayerTalentFrameTitleText:Show()
+-- PlayerTalentFramePointsBar:Show()
+-- -- PlayerTalentFrameScrollFrame:Show()
+-- end)
+
+-- hooksecurefunc(PlayerTalentFrame, "updateFunction", function()
+-- if GlyphFrame:IsShown() then
+-- PlayerTalentFramePreviewBar:Hide()
+-- end
+-- end)
+
+-- do
+-- local slotAnimations = {}
+-- local TOPLEFT, TOP, TOPRIGHT, BOTTOMRIGHT, BOTTOM, BOTTOMLEFT = 3, 1, 5, 4, 2, 6
+-- slotAnimations[TOPLEFT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -85, ["yStart"] = 17, ["yStop"] = 60}
+-- slotAnimations[TOP] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -13, ["yStart"] = 17, ["yStop"] = 100}
+-- slotAnimations[TOPRIGHT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = 59, ["yStart"] = 17, ["yStop"] = 60}
+-- slotAnimations[BOTTOM] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -13, ["yStart"] = 17, ["yStop"] = -64}
+-- slotAnimations[BOTTOMLEFT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = -87, ["yStart"] = 18, ["yStop"] = -27}
+-- slotAnimations[BOTTOMRIGHT] = {["point"] = "CENTER", ["xStart"] = -13, ["xStop"] = 61, ["yStart"] = 18, ["yStop"] = -27}
+
+-- for _, animData in ipairs(slotAnimations) do
+-- animData.xStart = animData.xStart + 3
+-- animData.yStart = animData.yStart + 8
+-- animData.xStop = (animData.xStop + 3) * glyphBGScale
+-- animData.yStop = (animData.yStop + 8) * glyphBGScale
+-- end
+
+-- hooksecurefunc("GlyphFrame_StartSlotAnimation", function(slotID, duration, size)
+-- local sparkle = _G["GlyphFrameSparkle"..slotID]
+-- local animation = slotAnimations[slotID]
+
+-- sparkle:SetPoint(animation.point, animation.xStart, animation.yStart)
+-- sparkle.animGroup.translate:SetOffset(animation.xStop - animation.xStart, animation.yStop - animation.yStart)
+-- end)
+-- end
+-- end)
\ No newline at end of file
diff --git a/ElvUI/Modules/Skins/Blizzard/Inspect.lua b/ElvUI/Modules/Skins/Blizzard/Inspect.lua
index 93edda458..53b89714e 100644
--- a/ElvUI/Modules/Skins/Blizzard/Inspect.lua
+++ b/ElvUI/Modules/Skins/Blizzard/Inspect.lua
@@ -14,8 +14,8 @@ S:AddCallbackForAddon("Blizzard_InspectUI", "Skin_Blizzard_InspectUI", function(
InspectFrame:StripTextures(true)
InspectFrame:CreateBackdrop("Transparent")
- InspectFrame.backdrop:Point("TOPLEFT", 11, -12)
- InspectFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
+ -- InspectFrame.backdrop:Point("TOPLEFT", 11, -12)
+ -- InspectFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
S:SetUIPanelWindowInfo(InspectFrame, "width")
@@ -23,8 +23,8 @@ S:AddCallbackForAddon("Blizzard_InspectUI", "Skin_Blizzard_InspectUI", function(
S:SetBackdropHitRect(InspectPVPFrame, InspectFrame.backdrop)
S:SetBackdropHitRect(InspectTalentFrame, InspectFrame.backdrop)
- InspectPVPFrameHonor:SetHitRectInsets(0, 120, 0, 0)
- InspectPVPFrameArena:SetHitRectInsets(0, 120, 0, 0)
+ -- InspectPVPFrameHonor:SetHitRectInsets(0, 120, 0, 0)
+ -- InspectPVPFrameArena:SetHitRectInsets(0, 120, 0, 0)
S:HandleCloseButton(InspectFrameCloseButton, InspectFrame.backdrop)
@@ -101,8 +101,8 @@ S:AddCallbackForAddon("Blizzard_InspectUI", "Skin_Blizzard_InspectUI", function(
hooksecurefunc("InspectPaperDollItemSlotButton_Update", styleButton)
- S:HandleRotateButton(InspectModelRotateLeftButton)
- S:HandleRotateButton(InspectModelRotateRightButton)
+ -- S:HandleRotateButton(InspectModelRotateLeftButton)
+ -- S:HandleRotateButton(InspectModelRotateRightButton)
InspectPVPFrame:StripTextures()
@@ -118,7 +118,7 @@ S:AddCallbackForAddon("Blizzard_InspectUI", "Skin_Blizzard_InspectUI", function(
InspectTalentFrame:StripTextures()
- S:HandleCloseButton(InspectTalentFrameCloseButton, InspectFrame.backdrop)
+ -- S:HandleCloseButton(InspectTalentFrameCloseButton, InspectFrame.backdrop)
for i = 1, MAX_TALENT_TABS do
local headerTab = _G["InspectTalentFrameTab"..i]
@@ -156,22 +156,24 @@ S:AddCallbackForAddon("Blizzard_InspectUI", "Skin_Blizzard_InspectUI", function(
end
InspectHeadSlot:Point("TOPLEFT", 19, -76)
- InspectHandsSlot:Point("TOPLEFT", 307, -76)
- InspectMainHandSlot:Point("TOPLEFT", InspectPaperDollFrame, "BOTTOMLEFT", 121, 131)
+ -- InspectHandsSlot:Point("TOPLEFT", 307, -76)
+ InspectHandsSlot:ClearAllPoints()
+ InspectHandsSlot:Point("TOPRIGHT", InspectFrameInset, "TOPRIGHT", -4, -15)
+ -- InspectMainHandSlot:Point("TOPLEFT", InspectPaperDollFrame, "BOTTOMLEFT", 121, 131)
InspectModelFrame:Size(237, 324)
InspectModelFrame:Point("TOPLEFT", 63, -76)
- InspectModelRotateLeftButton:Point("TOPLEFT", 4, -4)
+ -- InspectModelRotateLeftButton:Point("TOPLEFT", 4, -4)
InspectTalentFrameScrollFrame:StripTextures()
- InspectTalentFrameScrollFrame:CreateBackdrop("Transparent")
- InspectTalentFrameScrollFrame.backdrop:Point("TOPLEFT", -1, 1)
- InspectTalentFrameScrollFrame.backdrop:Point("BOTTOMRIGHT", 5, -4)
+ -- InspectTalentFrameScrollFrame:CreateBackdrop("Transparent")
+ -- InspectTalentFrameScrollFrame.backdrop:Point("TOPLEFT", -1, 1)
+ -- InspectTalentFrameScrollFrame.backdrop:Point("BOTTOMRIGHT", 5, -4)
InspectTalentFramePointsBar:StripTextures()
- InspectModelRotateRightButton:Point("TOPLEFT", InspectModelRotateLeftButton, "TOPRIGHT", 3, 0)
+ -- InspectModelRotateRightButton:Point("TOPLEFT", InspectModelRotateLeftButton, "TOPRIGHT", 3, 0)
InspectFrameTab1:Point("CENTER", InspectFrame, "BOTTOMLEFT", 54, 62)
InspectFrameTab2:Point("LEFT", InspectFrameTab1, "RIGHT", -15, 0)
@@ -179,12 +181,18 @@ S:AddCallbackForAddon("Blizzard_InspectUI", "Skin_Blizzard_InspectUI", function(
InspectTalentFrameBackgroundTopLeft:Point("TOPLEFT", 21, -77)
- InspectTalentFrameTab1:Point("TOPLEFT", 17, -40)
+ InspectTalentFrameTab1:ClearAllPoints()
+ InspectTalentFrameTab1:SetPoint("BOTTOMLEFT", InspectFrameInset, "TOPLEFT", 10, 0)
+
+ -- InspectTalentFrameScrollFrame:Width(298)
+ -- InspectTalentFrameScrollFrame:Point("TOPRIGHT", -66, -77)
+ -- InspectTalentFrameScrollFrame:ClearAllPoints()
+ -- InspectTalentFrameScrollFrame:Point("CENTER", -7, -28)
+ InspectTalentFrameBackgroundTopLeft:ClearAllPoints() -- 4 текстуры жесть я считаю
+ InspectTalentFrameBackgroundTopLeft:SetPoint("TOPLEFT", 10, -63)
- InspectTalentFrameScrollFrame:Width(298)
- InspectTalentFrameScrollFrame:Point("TOPRIGHT", -66, -77)
S:HandleScrollBar(InspectTalentFrameScrollFrameScrollBar)
- InspectTalentFrameScrollFrameScrollBar:Point("TOPLEFT", InspectTalentFrameScrollFrame, "TOPRIGHT", 8, -18)
- InspectTalentFrameScrollFrameScrollBar:Point("BOTTOMLEFT", InspectTalentFrameScrollFrame, "BOTTOMRIGHT", 8, 15)
+ InspectTalentFrameScrollFrameScrollBar:Point("TOPLEFT", InspectTalentFrameScrollFrame, "TOPRIGHT", 10, -18)
+ InspectTalentFrameScrollFrameScrollBar:Point("BOTTOMLEFT", InspectTalentFrameScrollFrame, "BOTTOMRIGHT", 10, 15)
end)
\ No newline at end of file
diff --git a/ElvUI/Modules/Skins/Blizzard/Load_Blizzard.xml b/ElvUI/Modules/Skins/Blizzard/Load_Blizzard.xml
index 8cfb2ac4d..fa466d14c 100644
--- a/ElvUI/Modules/Skins/Blizzard/Load_Blizzard.xml
+++ b/ElvUI/Modules/Skins/Blizzard/Load_Blizzard.xml
@@ -16,7 +16,7 @@
-
+
@@ -43,7 +43,7 @@
-
+
diff --git a/ElvUI/Modules/Skins/Blizzard/Macro.lua b/ElvUI/Modules/Skins/Blizzard/Macro.lua
index 09bd3433f..93ef88b80 100644
--- a/ElvUI/Modules/Skins/Blizzard/Macro.lua
+++ b/ElvUI/Modules/Skins/Blizzard/Macro.lua
@@ -11,8 +11,8 @@ S:AddCallbackForAddon("Blizzard_MacroUI", "Skin_Blizzard_MacroUI", function()
MacroFrame:StripTextures()
MacroFrame:CreateBackdrop("Transparent")
- MacroFrame.backdrop:Point("TOPLEFT", 11, -12)
- MacroFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
+ -- MacroFrame.backdrop:Point("TOPLEFT", 11, -12)
+ -- MacroFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
S:SetUIPanelWindowInfo(MacroFrame, "width")
S:SetBackdropHitRect(MacroFrame)
@@ -34,9 +34,9 @@ S:AddCallbackForAddon("Blizzard_MacroUI", "Skin_Blizzard_MacroUI", function()
MacroFrameSelectedMacroButtonIcon:SetInside()
MacroFrameTextBackground:StripTextures()
- MacroFrameTextBackground:CreateBackdrop()
- MacroFrameTextBackground.backdrop:Point("TOPLEFT", 1, -3)
- MacroFrameTextBackground.backdrop:Point("BOTTOMRIGHT", -17, 3)
+ -- MacroFrameTextBackground:CreateBackdrop()
+ -- MacroFrameTextBackground.backdrop:Point("TOPLEFT", 1, -3)
+ -- MacroFrameTextBackground.backdrop:Point("BOTTOMRIGHT", -17, 3)
S:HandleButton(MacroEditButton)
S:HandleButton(MacroDeleteButton)
@@ -76,7 +76,7 @@ S:AddCallbackForAddon("Blizzard_MacroUI", "Skin_Blizzard_MacroUI", function()
end
MacroButtonScrollFrame:Size(302, 142)
- MacroButtonScrollFrame:Point("TOPLEFT", 20, -76)
+ MacroButtonScrollFrame:Point("TOPLEFT", 10, -76)
MacroButtonScrollFrameScrollBar:Point("TOPLEFT", MacroButtonScrollFrame, "TOPRIGHT", 4, -18)
MacroButtonScrollFrameScrollBar:Point("BOTTOMLEFT", MacroButtonScrollFrame, "BOTTOMRIGHT", 4, 18)
@@ -85,21 +85,28 @@ S:AddCallbackForAddon("Blizzard_MacroUI", "Skin_Blizzard_MacroUI", function()
MacroEditButton:Point("TOPLEFT", MacroFrameSelectedMacroBackground, "TOPLEFT", 60, -28)
- MacroFrameTextBackground:Point("TOPLEFT", 18, -290)
+ -- MacroFrameTextBackground:Point("TOPLEFT", 18, -290)
MacroFrameText:Width(297)
- MacroFrameSelectedMacroBackground:Point("TOPLEFT", 16, -213)
+ MacroFrameSelectedMacroBackground:Point("TOPLEFT", 6, -213)
+
+
+ MacroFrameScrollFrame:StripTextures()
+ MacroFrameScrollFrame:CreateBackdrop("Transparent")
+ S:SetBackdropHitRect(MacroFrameScrollFrame)
MacroFrameScrollFrame:Size(300, 81)
- MacroFrameScrollFrame:Point("TOPLEFT", MacroFrameSelectedMacroBackground, "BOTTOMLEFT", 5, -20)
+
+ MacroFrameScrollFrame:Point("TOPLEFT", MacroFrameSelectedMacroBackground, "BOTTOMLEFT", 10, -20)
MacroFrameScrollFrameScrollBar:Point("TOPLEFT", MacroFrameScrollFrame, "TOPRIGHT", 5, -15)
MacroFrameScrollFrameScrollBar:Point("BOTTOMLEFT", MacroFrameScrollFrame, "BOTTOMRIGHT", 5, 15)
- MacroFrameCharLimitText:Point("BOTTOM", -15, 113)
+ MacroFrameCharLimitText:Point("BOTTOMLEFT", 15, 32)
- MacroDeleteButton:Point("BOTTOMLEFT", 19, 84)
+ -- MacroDeleteButton:Point("BOTTOMLEFT", 19, 84)
+ MacroDeleteButton:Point("CENTER", MacroFrame, "TOPLEFT", 386, -417)
MacroExitButton:Point("CENTER", MacroFrame, "TOPLEFT", 304, -417)
MacroNewButton:Point("CENTER", MacroFrame, "TOPLEFT", 221, -417)
@@ -113,9 +120,9 @@ S:AddCallbackForAddon("Blizzard_MacroUI", "Skin_Blizzard_MacroUI", function()
S:HandleScrollBar(MacroPopupScrollFrameScrollBar)
- local text1, text2 = select(5, MacroPopupFrame:GetRegions())
- text1:Point("TOPLEFT", 24, -18)
- text2:Point("TOPLEFT", 24, -60)
+ -- local text1, text2 = select(5, MacroPopupFrame:GetRegions())
+ -- text1:Point("TOPLEFT", 24, -18)
+ -- text2:Point("TOPLEFT", 24, -60)
MacroPopupEditBox:Point("TOPLEFT", 61, -35)
@@ -124,6 +131,8 @@ S:AddCallbackForAddon("Blizzard_MacroUI", "Skin_Blizzard_MacroUI", function()
MacroPopupScrollFrame:Size(247, 180)
MacroPopupScrollFrame:Point("TOPRIGHT", -32, -76)
+ MacroFrameTextBackground:Hide()
+
MacroPopupScrollFrameScrollBar:Point("TOPLEFT", MacroPopupScrollFrame, "TOPRIGHT", 3, -19)
MacroPopupScrollFrameScrollBar:Point("BOTTOMLEFT", MacroPopupScrollFrame, "BOTTOMRIGHT", 3, 19)
diff --git a/ElvUI/Modules/Skins/Blizzard/Talent.lua b/ElvUI/Modules/Skins/Blizzard/Talent.lua
index debb382f6..47dab4aeb 100644
--- a/ElvUI/Modules/Skins/Blizzard/Talent.lua
+++ b/ElvUI/Modules/Skins/Blizzard/Talent.lua
@@ -11,8 +11,8 @@ S:AddCallbackForAddon("Blizzard_TalentUI", "Skin_Blizzard_TalentUI", function()
PlayerTalentFrame:StripTextures(true)
PlayerTalentFrame:CreateBackdrop("Transparent")
- PlayerTalentFrame.backdrop:Point("TOPLEFT", 11, -12)
- PlayerTalentFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
+ -- PlayerTalentFrame.backdrop:Point("TOPLEFT", 11, -12)
+ -- PlayerTalentFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
S:SetBackdropHitRect(PlayerTalentFrame)
@@ -29,11 +29,11 @@ S:AddCallbackForAddon("Blizzard_TalentUI", "Skin_Blizzard_TalentUI", function()
S:SetUIPanelWindowInfo(PlayerTalentFrame, "width")
end
- hooksecurefunc("PlayerTalentFrame_UpdateSpecs", function(_, numTalentGroups, _, numPetTalentGroups)
- if offset and numTalentGroups + numPetTalentGroups <= 1 then
+ hooksecurefunc("PlayerTalentFrame_UpdateSpecs", function(activeTalentGroup, numTalentGroups)
+ if offset and numTalentGroups <= 1 then
S:SetUIPanelWindowInfo(PlayerTalentFrame, "width")
offset = nil
- elseif not offset and numTalentGroups + numPetTalentGroups > 1 then
+ elseif not offset and numTalentGroups > 1 then
S:SetUIPanelWindowInfo(PlayerTalentFrame, "width", nil, 31)
offset = true
end
@@ -61,9 +61,9 @@ S:AddCallbackForAddon("Blizzard_TalentUI", "Skin_Blizzard_TalentUI", function()
PlayerTalentFramePreviewBarFiller:StripTextures()
- PlayerTalentFrameScrollFrame:StripTextures()
- PlayerTalentFrameScrollFrame:CreateBackdrop("Default")
- S:HandleScrollBar(PlayerTalentFrameScrollFrameScrollBar)
+ -- PlayerTalentFrameScrollFrame:StripTextures()
+ -- PlayerTalentFrameScrollFrame:CreateBackdrop("Default")
+ -- S:HandleScrollBar(PlayerTalentFrameScrollFrameScrollBar)
for i = 1, MAX_NUM_TALENTS do
local talent = _G["PlayerTalentFrameTalent"..i]
@@ -87,35 +87,45 @@ S:AddCallbackForAddon("Blizzard_TalentUI", "Skin_Blizzard_TalentUI", function()
S:HandleTab(_G["PlayerTalentFrameTab"..i])
end
- for i = 1, MAX_TALENT_TABS do
+ for i = 1, C_Talent.GetNumTalentGroups() do
local tab = _G["PlayerSpecTab"..i]
- tab:GetRegions():Hide()
+ if tab then
+ tab:GetRegions():Hide()
- tab:SetTemplate("Default")
- tab:StyleButton(nil, true)
+ tab:SetTemplate("Default")
+ tab:StyleButton(nil, true)
- tab:GetNormalTexture():SetInside()
- tab:GetNormalTexture():SetTexCoord(unpack(E.TexCoords))
+ tab:GetNormalTexture():SetInside()
+ tab:GetNormalTexture():SetTexCoord(unpack(E.TexCoords))
+ end
end
PlayerTalentFrameStatusFrame:Point("TOPLEFT", 57, -40)
PlayerTalentFrameActivateButton:Point("TOP", 0, -40)
- PlayerTalentFrameScrollFrame:Width(302)
- PlayerTalentFrameScrollFrame:Point("TOPRIGHT", PlayerTalentFrame, "TOPRIGHT", -62, -77)
- PlayerTalentFrameScrollFrame:SetPoint("BOTTOM", PlayerTalentFramePointsBar, "TOP", 0, 0)
+ -- PlayerTalentFrameScrollFrame:Width(302)
+ -- PlayerTalentFrameScrollFrame:Point("TOPRIGHT", PlayerTalentFrame, "TOPRIGHT", -62, -77)
+ -- PlayerTalentFrameScrollFrame:SetPoint("BOTTOM", PlayerTalentFramePointsBar, "TOP", 0, 0)
- PlayerTalentFrameScrollFrameScrollBar:Point("TOPLEFT", PlayerTalentFrameScrollFrame, "TOPRIGHT", 4, -18)
- PlayerTalentFrameScrollFrameScrollBar:Point("BOTTOMLEFT", PlayerTalentFrameScrollFrame, "BOTTOMRIGHT", 4, 18)
+ -- PlayerTalentFrameScrollFrameScrollBar:Point("TOPLEFT", PlayerTalentFrameScrollFrame, "TOPRIGHT", 4, -18)
+ -- PlayerTalentFrameScrollFrameScrollBar:Point("BOTTOMLEFT", PlayerTalentFrameScrollFrame, "BOTTOMRIGHT", 4, 18)
PlayerTalentFrameResetButton:Point("RIGHT", -4, 1)
PlayerTalentFrameLearnButton:Point("RIGHT", PlayerTalentFrameResetButton, "LEFT", -3, 0)
- PlayerSpecTab1:Point("TOPLEFT", PlayerTalentFrame, "TOPRIGHT", -33, -65)
- PlayerSpecTab1.ClearAllPoints = E.noop
- PlayerSpecTab1.SetPoint = E.noop
+ -- PlayerSpecTab1:Point("TOPLEFT", PlayerTalentFrame, "TOPRIGHT", -33, -65)
+ -- PlayerSpecTab1.ClearAllPoints = E.noop
+ -- PlayerSpecTab1.SetPoint = E.noop
PlayerTalentFrameTab1:Point("BOTTOMLEFT", 11, 46)
-
+ -- S:HandleButton(PlayerTalentFrameImportButton)
+ PlayerTalentFrameImportButton:StripTextures()
+ local importtexture = PlayerTalentFrameImportButton:CreateTexture("PlayerTalentFrameImportButtonTexture")
+ PlayerTalentFrameImportFrameButton:ClearAllPoints()
+ PlayerTalentFrameImportFrameButton:SetPoint("LEFT", PlayerTalentLinkButton, "LEFT",-30,0)
+ PlayerTalentFrameImportFrameButton:SetParent(PlayerTalentLinkButton)
+ importtexture:SetAllPoints(PlayerTalentFrameImportButton)
+ importtexture:SetTexture([[Interface\AddOns\ElvUI\Media\Textures\copy]])
+
end)
\ No newline at end of file
diff --git a/ElvUI/Modules/Skins/Blizzard/Tradeskill.lua b/ElvUI/Modules/Skins/Blizzard/Tradeskill.lua
index 3a7e22752..a9ba95db9 100644
--- a/ElvUI/Modules/Skins/Blizzard/Tradeskill.lua
+++ b/ElvUI/Modules/Skins/Blizzard/Tradeskill.lua
@@ -1,232 +1,232 @@
-local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
-local S = E:GetModule("Skins")
+-- local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
+-- local S = E:GetModule("Skins")
---Lua functions
-local _G = _G
-local unpack, select = unpack, select
---WoW API / Variables
-local CreateFrame = CreateFrame
-local GetItemInfo = GetItemInfo
-local GetItemQualityColor = GetItemQualityColor
-local GetTradeSkillItemLink = GetTradeSkillItemLink
-local GetTradeSkillReagentInfo = GetTradeSkillReagentInfo
-local GetTradeSkillReagentItemLink = GetTradeSkillReagentItemLink
-local hooksecurefunc = hooksecurefunc
+-- --Lua functions
+-- local _G = _G
+-- local unpack, select = unpack, select
+-- --WoW API / Variables
+-- local CreateFrame = CreateFrame
+-- local GetItemInfo = GetItemInfo
+-- local GetItemQualityColor = GetItemQualityColor
+-- local GetTradeSkillItemLink = GetTradeSkillItemLink
+-- local GetTradeSkillReagentInfo = GetTradeSkillReagentInfo
+-- local GetTradeSkillReagentItemLink = GetTradeSkillReagentItemLink
+-- local hooksecurefunc = hooksecurefunc
-S:AddCallbackForAddon("Blizzard_TradeSkillUI", "Skin_Blizzard_TradeSkillUI", function()
- if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.tradeskill then return end
+-- S:AddCallbackForAddon("Blizzard_TradeSkillUI", "Skin_Blizzard_TradeSkillUI", function()
+-- if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.tradeskill then return end
- local SKILLS_DISPLAYED = 21
- TRADE_SKILLS_DISPLAYED = SKILLS_DISPLAYED
+-- local SKILLS_DISPLAYED = 21
+-- TRADE_SKILLS_DISPLAYED = SKILLS_DISPLAYED
- for i = 9, SKILLS_DISPLAYED do
- CreateFrame("Button", "TradeSkillSkill"..i, TradeSkillFrame, "TradeSkillSkillButtonTemplate"):SetPoint("TOPLEFT", _G["TradeSkillSkill"..i - 1], "BOTTOMLEFT")
- end
+-- for i = 9, SKILLS_DISPLAYED do
+-- CreateFrame("Button", "TradeSkillSkill"..i, TradeSkillFrame, "TradeSkillSkillButtonTemplate"):SetPoint("TOPLEFT", _G["TradeSkillSkill"..i - 1], "BOTTOMLEFT")
+-- end
- TradeSkillFrame:StripTextures(true)
- TradeSkillFrame:Width(713)
+-- TradeSkillFrame:StripTextures(true)
+-- TradeSkillFrame:Width(713)
- TradeSkillFrame:CreateBackdrop("Transparent")
- TradeSkillFrame.backdrop:Point("TOPLEFT", 11, -12)
- TradeSkillFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
+-- TradeSkillFrame:CreateBackdrop("Transparent")
+-- -- TradeSkillFrame.backdrop:Point("TOPLEFT", 11, -12)
+-- -- TradeSkillFrame.backdrop:Point("BOTTOMRIGHT", -32, 76)
- S:SetUIPanelWindowInfo(TradeSkillFrame, "width")
- S:SetBackdropHitRect(TradeSkillFrame)
+-- S:SetUIPanelWindowInfo(TradeSkillFrame, "width")
+-- S:SetBackdropHitRect(TradeSkillFrame)
- S:HandleCloseButton(TradeSkillFrameCloseButton, TradeSkillFrame.backdrop)
+-- S:HandleCloseButton(TradeSkillFrameCloseButton, TradeSkillFrame.backdrop)
- TradeSkillRankFrame:StripTextures()
- TradeSkillRankFrame:CreateBackdrop()
- TradeSkillRankFrame:SetStatusBarTexture(E.media.normTex)
- TradeSkillRankFrame:SetStatusBarColor(0.22, 0.39, 0.84)
- TradeSkillRankFrame.SetStatusBarColor = E.noop
- E:RegisterStatusBar(TradeSkillRankFrame)
+-- TradeSkillRankFrame:StripTextures()
+-- TradeSkillRankFrame:CreateBackdrop()
+-- TradeSkillRankFrame:SetStatusBarTexture(E.media.normTex)
+-- TradeSkillRankFrame:SetStatusBarColor(0.22, 0.39, 0.84)
+-- TradeSkillRankFrame.SetStatusBarColor = E.noop
+-- E:RegisterStatusBar(TradeSkillRankFrame)
- S:HandleCheckBox(TradeSkillFrameAvailableFilterCheckButton)
+-- S:HandleCheckBox(TradeSkillFrameAvailableFilterCheckButton)
- S:HandleEditBox(TradeSkillFrameEditBox)
+-- -- S:HandleEditBox(TradeSkillFrameEditBox)
- S:HandleDropDownBox(TradeSkillInvSlotDropDown, 140)
- S:HandleDropDownBox(TradeSkillSubClassDropDown, 140)
+-- S:HandleDropDownBox(TradeSkillInvSlotDropDown, 140)
+-- S:HandleDropDownBox(TradeSkillSubClassDropDown, 140)
- TradeSkillExpandButtonFrame:StripTextures()
+-- TradeSkillExpandButtonFrame:StripTextures()
- S:HandleCollapseExpandButton(TradeSkillCollapseAllButton, "+")
+-- S:HandleCollapseExpandButton(TradeSkillCollapseAllButton, "+")
- for i = 1, SKILLS_DISPLAYED do
- local skillButton = _G["TradeSkillSkill"..i]
- local skillButtonHighlight = _G["TradeSkillSkill"..i.."Highlight"]
+-- for i = 1, SKILLS_DISPLAYED do
+-- local skillButton = _G["TradeSkillSkill"..i]
+-- local skillButtonHighlight = _G["TradeSkillSkill"..i.."Highlight"]
- S:HandleCollapseExpandButton(skillButton, "+", nil, nil, 1)
+-- S:HandleCollapseExpandButton(skillButton, "+", nil, nil, 1)
- skillButtonHighlight:SetTexture("")
- skillButtonHighlight.SetTexture = E.noop
- end
+-- skillButtonHighlight:SetTexture("")
+-- skillButtonHighlight.SetTexture = E.noop
+-- end
- TradeSkillListScrollFrame:StripTextures()
- S:HandleScrollBar(TradeSkillListScrollFrameScrollBar)
+-- TradeSkillListScrollFrame:StripTextures()
+-- S:HandleScrollBar(TradeSkillListScrollFrameScrollBar)
- TradeSkillDetailScrollFrame:StripTextures()
- TradeSkillDetailScrollFrame.scrollBarHideable = nil
- TradeSkillDetailScrollChildFrame:StripTextures()
- S:HandleScrollBar(TradeSkillDetailScrollFrameScrollBar)
+-- TradeSkillDetailScrollFrame:StripTextures()
+-- TradeSkillDetailScrollFrame.scrollBarHideable = nil
+-- TradeSkillDetailScrollChildFrame:StripTextures()
+-- S:HandleScrollBar(TradeSkillDetailScrollFrameScrollBar)
- TradeSkillSkillIcon:StyleButton(nil, true)
- TradeSkillSkillIcon:SetTemplate("Default")
+-- TradeSkillSkillIcon:StyleButton(nil, true)
+-- TradeSkillSkillIcon:SetTemplate("Default")
- TradeSkillRequirementLabel:SetTextColor(1, 0.80, 0.10)
+-- TradeSkillRequirementLabel:SetTextColor(1, 0.80, 0.10)
- for i = 1, MAX_TRADE_SKILL_REAGENTS do
- local reagent = _G["TradeSkillReagent"..i]
- local icon = _G["TradeSkillReagent"..i.."IconTexture"]
- local count = _G["TradeSkillReagent"..i.."Count"]
- local name = _G["TradeSkillReagent"..i.."Name"]
- local nameFrame = _G["TradeSkillReagent"..i.."NameFrame"]
+-- for i = 1, MAX_TRADE_SKILL_REAGENTS do
+-- local reagent = _G["TradeSkillReagent"..i]
+-- local icon = _G["TradeSkillReagent"..i.."IconTexture"]
+-- local count = _G["TradeSkillReagent"..i.."Count"]
+-- local name = _G["TradeSkillReagent"..i.."Name"]
+-- local nameFrame = _G["TradeSkillReagent"..i.."NameFrame"]
- reagent:SetTemplate("Default")
- reagent:StyleButton(nil, true)
- reagent:Size(143, 40)
+-- reagent:SetTemplate("Default")
+-- reagent:StyleButton(nil, true)
+-- reagent:Size(143, 40)
- icon.backdrop = CreateFrame("Frame", nil, reagent)
- icon.backdrop:SetTemplate()
- icon.backdrop:Point("TOPLEFT", icon, -1, 1)
- icon.backdrop:Point("BOTTOMRIGHT", icon, 1, -1)
+-- icon.backdrop = CreateFrame("Frame", nil, reagent)
+-- icon.backdrop:SetTemplate()
+-- icon.backdrop:Point("TOPLEFT", icon, -1, 1)
+-- icon.backdrop:Point("BOTTOMRIGHT", icon, 1, -1)
- icon:SetTexCoord(unpack(E.TexCoords))
- icon:SetDrawLayer("OVERLAY")
- icon:Size(E.PixelMode and 38 or 32)
- icon:Point("TOPLEFT", E.PixelMode and 1 or 4, -(E.PixelMode and 1 or 4))
- icon:SetParent(icon.backdrop)
+-- icon:SetTexCoord(unpack(E.TexCoords))
+-- icon:SetDrawLayer("OVERLAY")
+-- icon:Size(E.PixelMode and 38 or 32)
+-- -- icon:Point("TOPLEFT", E.PixelMode and 1 or 4, -(E.PixelMode and 1 or 4))
+-- -- icon:SetParent(icon.backdrop)
- count:SetParent(icon.backdrop)
- count:SetDrawLayer("OVERLAY")
+-- count:SetParent(icon.backdrop)
+-- count:SetDrawLayer("OVERLAY")
- name:Point("LEFT", nameFrame, "LEFT", 20, 0)
+-- name:Point("LEFT", nameFrame, "LEFT", 20, 0)
- nameFrame:Kill()
- end
+-- nameFrame:Kill()
+-- end
- TradeSkillHighlight:SetTexture(E.Media.Textures.Highlight)
- TradeSkillHighlight:SetAlpha(0.35)
+-- TradeSkillHighlight:SetTexture(E.Media.Textures.Highlight)
+-- TradeSkillHighlight:SetAlpha(0.35)
- S:HandleNextPrevButton(TradeSkillDecrementButton)
- S:HandleEditBox(TradeSkillInputBox)
- S:HandleNextPrevButton(TradeSkillIncrementButton)
+-- -- S:HandleNextPrevButton(TradeSkillDecrementButton)
+-- S:HandleEditBox(TradeSkillInputBox)
+-- -- S:HandleNextPrevButton(TradeSkillIncrementButton)
- S:HandleButton(TradeSkillCancelButton)
- S:HandleButton(TradeSkillCreateButton)
- S:HandleButton(TradeSkillCreateAllButton)
+-- S:HandleButton(TradeSkillCancelButton)
+-- S:HandleButton(TradeSkillCreateButton)
+-- S:HandleButton(TradeSkillCreateAllButton)
- TradeSkillRankFrame:Size(522, 17)
- TradeSkillRankFrame:Point("TOPLEFT", 85, -36)
+-- TradeSkillRankFrame:Size(522, 17)
+-- TradeSkillRankFrame:Point("TOPLEFT", 85, -36)
- TradeSkillRankFrameSkillRank:Point("TOP", TradeSkillFrameTitleText, 0, -23)
+-- TradeSkillRankFrameSkillRank:Point("TOP", TradeSkillFrameTitleText, 0, -23)
- TradeSkillFrameAvailableFilterCheckButton:Point("TOPLEFT", 80, -59)
+-- TradeSkillFrameAvailableFilterCheckButton:Point("TOPLEFT", 80, -59)
- TradeSkillFrameEditBox:Height(18)
- TradeSkillFrameEditBox:Point("TOPRIGHT", TradeSkillRankFrame, "BOTTOMRIGHT", -263, -9)
+-- -- TradeSkillFrameEditBox:Height(18)
+-- -- TradeSkillFrameEditBox:Point("TOPRIGHT", TradeSkillRankFrame, "BOTTOMRIGHT", -263, -9)
- TradeSkillInvSlotDropDown:Point("TOPRIGHT", -32, -58)
- TradeSkillSubClassDropDown:Point("RIGHT", TradeSkillInvSlotDropDown, "LEFT", 21, 0)
+-- TradeSkillInvSlotDropDown:Point("TOPRIGHT", -32, -58)
+-- TradeSkillSubClassDropDown:Point("RIGHT", TradeSkillInvSlotDropDown, "LEFT", 21, 0)
- TradeSkillExpandButtonFrame:Point("TOPLEFT", 15, -68)
+-- TradeSkillExpandButtonFrame:Point("TOPLEFT", 15, -68)
- TradeSkillSkill1:Point("TOPLEFT", 25, -90)
+-- TradeSkillSkill1:Point("TOPLEFT", 25, -90)
- TradeSkillListScrollFrame:Size(304, 340)
- TradeSkillListScrollFrame:Point("TOPRIGHT", -390, -88)
- TradeSkillListScrollFrame.Hide = E.noop
- TradeSkillListScrollFrame:Show()
+-- TradeSkillListScrollFrame:Size(304, 340)
+-- TradeSkillListScrollFrame:Point("TOPRIGHT", -390, -88)
+-- TradeSkillListScrollFrame.Hide = E.noop
+-- TradeSkillListScrollFrame:Show()
- TradeSkillListScrollFrameScrollBar:Point("TOPLEFT", TradeSkillListScrollFrame, "TOPRIGHT", 3, -19)
- TradeSkillListScrollFrameScrollBar:Point("BOTTOMLEFT", TradeSkillListScrollFrame, "BOTTOMRIGHT", 3, 19)
+-- TradeSkillListScrollFrameScrollBar:Point("TOPLEFT", TradeSkillListScrollFrame, "TOPRIGHT", 23, -19)
+-- TradeSkillListScrollFrameScrollBar:Point("BOTTOMLEFT", TradeSkillListScrollFrame, "BOTTOMRIGHT", 23, 19)
- TradeSkillDetailScrollFrame:Size(305, 311)
- TradeSkillDetailScrollFrame:Point("TOPLEFT", 347, -88)
+-- TradeSkillDetailScrollFrame:Size(305, 311)
+-- TradeSkillDetailScrollFrame:Point("TOPLEFT", 347, -88)
- TradeSkillDetailScrollChildFrame:Size(304, 310)
+-- TradeSkillDetailScrollChildFrame:Size(304, 310)
- TradeSkillDetailScrollFrameScrollBar:Point("TOPLEFT", TradeSkillDetailScrollFrame, "TOPRIGHT", 3, -19)
- TradeSkillDetailScrollFrameScrollBar:Point("BOTTOMLEFT", TradeSkillDetailScrollFrame, "BOTTOMRIGHT", 3, 19)
+-- TradeSkillDetailScrollFrameScrollBar:Point("TOPLEFT", TradeSkillDetailScrollFrame, "TOPRIGHT", 3, -19)
+-- TradeSkillDetailScrollFrameScrollBar:Point("BOTTOMLEFT", TradeSkillDetailScrollFrame, "BOTTOMRIGHT", 3, 19)
- TradeSkillSkillIcon:Size(47)
- TradeSkillSkillIcon:Point("TOPLEFT", 10, -9)
+-- TradeSkillSkillIcon:Size(47)
+-- TradeSkillSkillIcon:Point("TOPLEFT", 10, -9)
- TradeSkillSkillName:Point("TOPLEFT", 65, -9)
- TradeSkillDescription:Point("TOPLEFT", 8, -64)
+-- TradeSkillSkillName:Point("TOPLEFT", 65, -9)
+-- TradeSkillDescription:Point("TOPLEFT", 8, -64)
- TradeSkillReagent1:Point("TOPLEFT", TradeSkillReagentLabel, "BOTTOMLEFT", 1, -3)
- TradeSkillReagent2:Point("LEFT", TradeSkillReagent1, "RIGHT", 3, 0)
- TradeSkillReagent3:Point("TOPLEFT", TradeSkillReagent1, "BOTTOMLEFT", 0, -3)
- TradeSkillReagent4:Point("LEFT", TradeSkillReagent3, "RIGHT", 3, 0)
- TradeSkillReagent5:Point("TOPLEFT", TradeSkillReagent3, "BOTTOMLEFT", 0, -3)
- TradeSkillReagent6:Point("LEFT", TradeSkillReagent5, "RIGHT", 3, 0)
- TradeSkillReagent7:Point("TOPLEFT", TradeSkillReagent5, "BOTTOMLEFT", 0, -3)
- TradeSkillReagent8:Point("LEFT", TradeSkillReagent7, "RIGHT", 3, 0)
+-- TradeSkillReagent1:Point("TOPLEFT", TradeSkillReagentLabel, "BOTTOMLEFT", 1, -3)
+-- TradeSkillReagent2:Point("LEFT", TradeSkillReagent1, "RIGHT", 3, 0)
+-- TradeSkillReagent3:Point("TOPLEFT", TradeSkillReagent1, "BOTTOMLEFT", 0, -3)
+-- TradeSkillReagent4:Point("LEFT", TradeSkillReagent3, "RIGHT", 3, 0)
+-- TradeSkillReagent5:Point("TOPLEFT", TradeSkillReagent3, "BOTTOMLEFT", 0, -3)
+-- TradeSkillReagent6:Point("LEFT", TradeSkillReagent5, "RIGHT", 3, 0)
+-- TradeSkillReagent7:Point("TOPLEFT", TradeSkillReagent5, "BOTTOMLEFT", 0, -3)
+-- TradeSkillReagent8:Point("LEFT", TradeSkillReagent7, "RIGHT", 3, 0)
- TradeSkillInputBox:Height(16)
-
- TradeSkillCancelButton:Point("CENTER", TradeSkillFrame, "TOPLEFT", 633, -417)
- TradeSkillCreateButton:Point("CENTER", TradeSkillFrame, "TOPLEFT", 550, -417)
+-- TradeSkillInputBox:Height(16)
+
+-- TradeSkillCancelButton:Point("CENTER", TradeSkillFrame, "TOPLEFT", 633, -417)
+-- TradeSkillCreateButton:Point("CENTER", TradeSkillFrame, "TOPLEFT", 550, -417)
- TradeSkillCreateAllButton:Width(79)
- TradeSkillCreateAllButton:Point("RIGHT", TradeSkillCreateButton, "LEFT", -82, 0)
- TradeSkillIncrementButton:Point("RIGHT", TradeSkillCreateButton, "LEFT", -4, 0)
- TradeSkillDecrementButton:Point("LEFT", TradeSkillCreateAllButton, "RIGHT", 4, 0)
-
- hooksecurefunc("TradeSkillFrame_SetSelection", function(id)
- if TradeSkillSkillIcon:GetNormalTexture() then
- TradeSkillSkillIcon:SetAlpha(1)
- TradeSkillSkillIcon:GetNormalTexture():SetTexCoord(unpack(E.TexCoords))
- TradeSkillSkillIcon:GetNormalTexture():SetInside()
- else
- TradeSkillSkillIcon:SetAlpha(0)
- end
+-- TradeSkillCreateAllButton:Width(79)
+-- TradeSkillCreateAllButton:Point("RIGHT", TradeSkillCreateButton, "LEFT", -82, 0)
+-- -- TradeSkillIncrementButton:Point("RIGHT", TradeSkillCreateButton, "LEFT", -4, 0)
+-- -- TradeSkillDecrementButton:Point("LEFT", TradeSkillCreateAllButton, "RIGHT", 4, 0)
+
+-- hooksecurefunc("TradeSkillFrame_SetSelection", function(id)
+-- if TradeSkillSkillIcon:GetNormalTexture() then
+-- TradeSkillSkillIcon:SetAlpha(1)
+-- TradeSkillSkillIcon:GetNormalTexture():SetTexCoord(unpack(E.TexCoords))
+-- TradeSkillSkillIcon:GetNormalTexture():SetInside()
+-- else
+-- TradeSkillSkillIcon:SetAlpha(0)
+-- end
- local skillLink = GetTradeSkillItemLink(id)
- local r, g, b
+-- local skillLink = GetTradeSkillItemLink(id)
+-- local r, g, b
- if skillLink then
- local quality = select(3, GetItemInfo(skillLink))
+-- if skillLink then
+-- local quality = select(3, GetItemInfo(skillLink))
- if quality then
- r, g, b = GetItemQualityColor(quality)
+-- if quality then
+-- r, g, b = GetItemQualityColor(quality)
- TradeSkillSkillIcon:SetBackdropBorderColor(r, g, b)
- TradeSkillSkillName:SetTextColor(r, g, b)
- else
- TradeSkillSkillIcon:SetBackdropBorderColor(unpack(E.media.bordercolor))
- TradeSkillSkillName:SetTextColor(1, 1, 1)
- end
- end
+-- TradeSkillSkillIcon:SetBackdropBorderColor(r, g, b)
+-- TradeSkillSkillName:SetTextColor(r, g, b)
+-- else
+-- TradeSkillSkillIcon:SetBackdropBorderColor(unpack(E.media.bordercolor))
+-- TradeSkillSkillName:SetTextColor(1, 1, 1)
+-- end
+-- end
- for i = 1, GetTradeSkillNumReagents(id) do
- local _, _, reagentCount, playerReagentCount = GetTradeSkillReagentInfo(id, i)
- local reagentLink = GetTradeSkillReagentItemLink(id, i)
+-- for i = 1, GetTradeSkillNumReagents(id) do
+-- local _, _, reagentCount, playerReagentCount = GetTradeSkillReagentInfo(id, i)
+-- local reagentLink = GetTradeSkillReagentItemLink(id, i)
- if reagentLink then
- local reagent = _G["TradeSkillReagent"..i]
- local icon = _G["TradeSkillReagent"..i.."IconTexture"]
- local quality = select(3, GetItemInfo(reagentLink))
-
- if quality then
- local name = _G["TradeSkillReagent"..i.."Name"]
- r, g, b = GetItemQualityColor(quality)
-
- icon.backdrop:SetBackdropBorderColor(r, g, b)
- reagent:SetBackdropBorderColor(r, g, b)
+-- if reagentLink then
+-- local reagent = _G["TradeSkillReagent"..i]
+-- local icon = _G["TradeSkillReagent"..i.."IconTexture"]
+-- local quality = select(3, GetItemInfo(reagentLink))
+
+-- if quality then
+-- local name = _G["TradeSkillReagent"..i.."Name"]
+-- r, g, b = GetItemQualityColor(quality)
+
+-- icon.backdrop:SetBackdropBorderColor(r, g, b)
+-- reagent:SetBackdropBorderColor(r, g, b)
- if playerReagentCount < reagentCount then
- name:SetTextColor(0.5, 0.5, 0.5)
- else
- name:SetTextColor(r, g, b)
- end
- else
- reagent:SetBackdropBorderColor(unpack(E.media.bordercolor))
- icon.backdrop:SetBackdropBorderColor(unpack(E.media.bordercolor))
- end
- end
- end
- end)
-end)
\ No newline at end of file
+-- if playerReagentCount < reagentCount then
+-- name:SetTextColor(0.5, 0.5, 0.5)
+-- else
+-- name:SetTextColor(r, g, b)
+-- end
+-- else
+-- reagent:SetBackdropBorderColor(unpack(E.media.bordercolor))
+-- icon.backdrop:SetBackdropBorderColor(unpack(E.media.bordercolor))
+-- end
+-- end
+-- end
+-- end)
+-- end)
\ No newline at end of file
diff --git a/ElvUI/Modules/Skins/Blizzard_Sirus/Sirus_Calendar.lua b/ElvUI/Modules/Skins/Blizzard_Sirus/Sirus_Calendar.lua
index a0aae5f45..d40a8d755 100644
--- a/ElvUI/Modules/Skins/Blizzard_Sirus/Sirus_Calendar.lua
+++ b/ElvUI/Modules/Skins/Blizzard_Sirus/Sirus_Calendar.lua
@@ -49,7 +49,7 @@ local function LoadSkin()
hooksecurefunc(button, "SetPoint", function(self, point, attachTo, anchorPoint, xOffset, yOffset)
if point ~= "RIGHT" or attachTo ~= frame or anchorPoint ~= "RIGHT" or xOffset ~= -10 or yOffset ~= 3 then
self:ClearAllPoints()
- self:Point("RIGHT", frame, "RIGHT", -10, 3)
+ self:SetPoint("RIGHT", frame, "RIGHT", -10, 3)
end
end)
diff --git a/ElvUI_OptionsUI/Sirus.lua b/ElvUI_OptionsUI/Sirus.lua
index e6e59aca6..63d566159 100644
--- a/ElvUI_OptionsUI/Sirus.lua
+++ b/ElvUI_OptionsUI/Sirus.lua
@@ -1,5 +1,5 @@
local E, L, V, P, G = unpack(ElvUI)
-local S = E:GetModule("Sirus")
+-- local S = E:GetModule("Sirus")
local DT = E:GetModule("DataTexts")
local DB = E:GetModule("DataBars")
@@ -48,16 +48,16 @@ local DB = E:GetModule("DataBars")
}
-- General
- E.Options.args.general.args.blizzUIImprovements.args.case = {
- order = 10,
- type = "toggle",
- name = E.NewSign.."Улучшенная рулетка",
- get = function(info) return E.db.sirus[info[#info]] end,
- set = function(info, value)
- E.db.sirus[info[#info]] = value
- E:StaticPopup_Show("PRIVATE_RL")
- end
- }
+ -- E.Options.args.general.args.blizzUIImprovements.args.case = {
+ -- order = 10,
+ -- type = "toggle",
+ -- name = E.NewSign.."Улучшенная рулетка",
+ -- get = function(info) return E.db.sirus[info[#info]] end,
+ -- set = function(info, value)
+ -- E.db.sirus[info[#info]] = value
+ -- E:StaticPopup_Show("PRIVATE_RL")
+ -- end
+ -- }
--Skins
E.Options.args.skins.args.blizzard.args.deathRecap = {