Skip to content

Instantly share code, notes, and snippets.

@Wetxius
Wetxius / ObjectiveTracker.lua
Created Nov 25, 2020
ShestakUI\Modules\Quests\ObjectiveTracker.lua
View ObjectiveTracker.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Move ObjectiveTrackerFrame and hide background
----------------------------------------------------------------------------------------
local frame = CreateFrame("Frame", "ObjectiveTrackerAnchor", UIParent)
frame:SetPoint(unpack(C.position.quest))
frame:SetSize(224, 150)
ObjectiveTrackerFrame:ClearAllPoints()
@Wetxius
Wetxius / MiniMap.lua
Created Nov 25, 2020
ShestakUI\Modules\Maps\MiniMap.lua
View MiniMap.lua
local T, C, L, _ = unpack(select(2, ...))
if C.minimap.enable ~= true then return end
----------------------------------------------------------------------------------------
-- Minimap border
----------------------------------------------------------------------------------------
local MinimapAnchor = CreateFrame("Frame", "MinimapAnchor", UIParent)
MinimapAnchor:CreatePanel("ClassColor", C.minimap.size, C.minimap.size, unpack(C.position.minimap))
----------------------------------------------------------------------------------------
@Wetxius
Wetxius / TradeSkill.lua
Last active Nov 25, 2020
ShestakUI\Modules\Skins\Blizzard\TradeSkill.lua
View TradeSkill.lua
local T, C, L, _ = unpack(select(2, ...))
if C.skins.blizzard_frames ~= true then return end
----------------------------------------------------------------------------------------
-- TradeSkillUI skin
----------------------------------------------------------------------------------------
local function LoadSkin()
TradeSkillFrame:StripTextures(true)
TradeSkillFrame.RecipeInset:StripTextures()
TradeSkillFrame.DetailsInset:StripTextures()
@Wetxius
Wetxius / CharsCurrency.lua
Created Nov 25, 2020
ShestakUI\Modules\Misc\CharsCurrency.lua
View CharsCurrency.lua
local T, C, L, _ = unpack(select(2, ...))
if C.misc.chars_currency ~= true then return end
----------------------------------------------------------------------------------------
-- Tracks your currency tokens across multiple characters(Exonumist by Phanx)
----------------------------------------------------------------------------------------
local realmDB, charDB
local faction = UnitFactionGroup("player")
local playerList = {}
local classColor = {}
@Wetxius
Wetxius / ObjectiveTracker.lua
Last active Nov 24, 2020
ShestakUI\Modules\Quests\ObjectiveTracker.lua
View ObjectiveTracker.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Move ObjectiveTrackerFrame and hide background
----------------------------------------------------------------------------------------
local frame = CreateFrame("Frame", "ObjectiveTrackerAnchor", UIParent)
frame:SetPoint(unpack(C.position.quest))
frame:SetSize(224, 150)
ObjectiveTrackerFrame:ClearAllPoints()
@Wetxius
Wetxius / ExtraBar.lua
Created Nov 24, 2020
ShestakUI\Modules\ActionBars\ExtraBar.lua
View ExtraBar.lua
local T, C, L, _ = unpack(select(2, ...))
if C.actionbar.enable ~= true then return end
------------------------------------------------------------------------------------------
-- Make ExtraActionBarFrame movable (use macro /click ExtraActionButton1)
------------------------------------------------------------------------------------------
local anchor = CreateFrame("Frame", "ExtraButtonAnchor", UIParent)
if C.actionbar.split_bars then
anchor:SetPoint(C.position.extra_button[1], SplitBarLeft, C.position.extra_button[3], C.position.extra_button[4], C.position.extra_button[5])
else
@Wetxius
Wetxius / Errors.lua
Created Nov 24, 2020
ShestakUI\Modules\Blizzard\Errors.lua
View Errors.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Clear UIErrorsFrame(module from Kousei by Haste)
----------------------------------------------------------------------------------------
if C.general.error_filter == "WHITELIST" or C.general.error_filter == "BLACKLIST" then
local frame = CreateFrame("Frame")
frame:RegisterEvent("UI_ERROR_MESSAGE")
frame:SetScript("OnEvent", function(_, _, messageType, text)
if C.general.error_filter == "WHITELIST" then
@Wetxius
Wetxius / ExtraBar.lua
Created Nov 24, 2020
ShestakUI\Modules\ActionBars\ExtraBar.lua
View ExtraBar.lua
local T, C, L, _ = unpack(select(2, ...))
if C.actionbar.enable ~= true then return end
------------------------------------------------------------------------------------------
-- Make ExtraActionBarFrame movable (use macro /click ExtraActionButton1)
------------------------------------------------------------------------------------------
local anchor = CreateFrame("Frame", "ExtraButtonAnchor", UIParent)
if C.actionbar.split_bars then
anchor:SetPoint(C.position.extra_button[1], SplitBarLeft, C.position.extra_button[3], C.position.extra_button[4], C.position.extra_button[5])
else
@Wetxius
Wetxius / Movers.lua
Created Nov 24, 2020
ShestakUI\Core\Movers.lua
View Movers.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Movement function(by Allez)
----------------------------------------------------------------------------------------
T.MoverFrames = {
VehicleButtonAnchor,
ExtraButtonAnchor,
ZoneButtonAnchor,
ActionBarAnchor,
@Wetxius
Wetxius / ExtraBar.lua
Created Nov 24, 2020
ShestakUI\Modules\ActionBars\ExtraBar.lua
View ExtraBar.lua
local T, C, L, _ = unpack(select(2, ...))
if C.actionbar.enable ~= true then return end
------------------------------------------------------------------------------------------
-- Make ExtraActionBarFrame movable (use macro /click ExtraActionButton1)
------------------------------------------------------------------------------------------
local anchor = CreateFrame("Frame", "ExtraButtonAnchor", UIParent)
if C.actionbar.split_bars then
anchor:SetPoint(C.position.extra_button[1], SplitBarLeft, C.position.extra_button[3], C.position.extra_button[4], C.position.extra_button[5])
else