Skip to content

Instantly share code, notes, and snippets.

@Wetxius
Wetxius / PvP.lua
Last active February 13, 2018 10:36
ShestakUI\Modules\Skins\Blizzard\PvP.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- PvP skin
----------------------------------------------------------------------------------------
local LoadTootlipSkin = CreateFrame("Frame")
LoadTootlipSkin:RegisterEvent("ADDON_LOADED")
LoadTootlipSkin:SetScript("OnEvent", function(self, event, addon)
if IsAddOnLoaded("Skinner") or IsAddOnLoaded("Aurora") or not C.tooltip.enable then
self:UnregisterEvent("ADDON_LOADED")
@Wetxius
Wetxius / ObjectiveTracker.lua
Created June 18, 2017 06:59
D:\Backup\git\ShestakUI\Modules\Quests\ObjectiveTracker.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Move ObjectiveTrackerFrame
----------------------------------------------------------------------------------------
local frame = CreateFrame("Frame", "ObjectiveTrackerAnchor", UIParent)
frame:SetPoint(unpack(C.position.quest))
frame:SetHeight(150)
frame:SetWidth(224)
@Wetxius
Wetxius / PvP.lua
Created June 18, 2017 07:00
D:\Backup\git\ShestakUI\Modules\Skins\Blizzard\PvP.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- PvP skin
----------------------------------------------------------------------------------------
local LoadTootlipSkin = CreateFrame("Frame")
LoadTootlipSkin:RegisterEvent("ADDON_LOADED")
LoadTootlipSkin:SetScript("OnEvent", function(self, event, addon)
if IsAddOnLoaded("Skinner") or IsAddOnLoaded("Aurora") or not C.tooltip.enable then
self:UnregisterEvent("ADDON_LOADED")
@Wetxius
Wetxius / Nameplates.lua
Last active February 20, 2019 15:15
Ауры отдельным элементом (можно увеличить на таргете)
local T, C, L, _ = unpack(select(2, ...))
if C.nameplate.enable ~= true then return end
----------------------------------------------------------------------------------------
-- oUF nameplates
----------------------------------------------------------------------------------------
local _, ns = ...
local oUF = ns.oUF
local frame = CreateFrame("Frame")
@Wetxius
Wetxius / Bubbles.lua
Created August 27, 2019 09:57
ShestakUI\Modules\Skins\Blizzard\Bubbles.lua
local T, C, L, _ = unpack(select(2, ...))
if C.chat.bubbles ~= true then return end
----------------------------------------------------------------------------------------
-- ChatBubbles skin(by Haleth)
----------------------------------------------------------------------------------------
local function styleBubble(frame)
for i = 1, frame:GetNumRegions() do
local region = select(i, frame:GetRegions())
if region:GetObjectType() == "Texture" then
@Wetxius
Wetxius / Numeration.lua
Created May 17, 2020 14:58
ShestakUI\Modules\Skins\Numeration.lua
local T, C, L, _ = unpack(select(2, ...))
if C.skins.numeration ~= true or not IsAddOnLoaded("Numeration") then return end
----------------------------------------------------------------------------------------
-- Numeration skin
----------------------------------------------------------------------------------------
Numeration["windows"].width = 217
Numeration["windows"].maxlines = 7
Numeration["windows"].linegap = 7
NumerationFrame.maxlines = Numeration["windows"].maxlines