This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L, _ = unpack(select(2, ...)) | |
if not T.classic then return end | |
---------------------------------------------------------------------------------------- | |
-- Move QuestWatchFrame (with ModernQuestWatch from Ketho - EU-Boulderfist) | |
---------------------------------------------------------------------------------------- | |
local ExpandButton = CreateFrame("Button", "QuestWatchFrameExpandButton", UIParent) | |
local collapsed = false | |
local ObjectiveTracker = CreateFrame("Frame", "ObjectiveTrackerAnchor", UIParent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L, _ = unpack(select(2, ...)) | |
if C.aura.player_auras ~= true then return end | |
---------------------------------------------------------------------------------------- | |
-- Style player buff(by Tukz) | |
---------------------------------------------------------------------------------------- | |
local rowbuffs = 16 | |
local GetFormattedTime = function(s) | |
if s >= 86400 then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L, _ = unpack(select(2, ...)) | |
---------------------------------------------------------------------------------------- | |
-- Number value function | |
---------------------------------------------------------------------------------------- | |
T.Round = function(number, decimals) | |
if not decimals then decimals = 0 end | |
return (("%%.%df"):format(decimals)):format(number) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L, _ = unpack(select(2, ...)) | |
-- if C.automation.summon ~= true then return end | |
---------------------------------------------------------------------------------------- | |
-- Auto confirm summon | |
---------------------------------------------------------------------------------------- | |
local AutoSummon = CreateFrame("Frame") | |
AutoSummon:RegisterEvent("CONFIRM_SUMMON") | |
AutoSummon:SetScript("OnEvent", function(_, event) | |
if event == "CONFIRM_SUMMON" then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L, _ = unpack(select(2, ...)) | |
-- if C.skins.outfitter ~= true then return end -- TODO: add gui configuration | |
---------------------------------------------------------------------------------------- | |
-- Outfitter skin | |
---------------------------------------------------------------------------------------- | |
local frame = CreateFrame("Frame") | |
frame:RegisterEvent("PLAYER_LOGIN") | |
frame:SetScript("OnEvent", function() | |
CharacterFrame:HookScript("OnShow", function(self) PaperDollSidebarTabs:SetPoint("BOTTOMRIGHT", CharacterFrameInsetRight, "TOPRIGHT", -14, 0) end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L, _ = unpack(select(2, ...)) | |
if C.actionbar.enable ~= true then return end | |
---------------------------------------------------------------------------------------- | |
-- Hide Blizzard ActionBars stuff(by Tukz) | |
---------------------------------------------------------------------------------------- | |
local frame = CreateFrame("Frame") | |
frame:RegisterEvent("PLAYER_LOGIN") | |
frame:SetScript("OnEvent", function() | |
MainMenuBar:SetScale(0.00001) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | |
---------------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L | |
local _, ns = ... | |
---------------------------------------------------------------------------------------- | |
-- GUI for ShestakUI(by Haleth, Solor) | |
---------------------------------------------------------------------------------------- | |
local realm = GetRealmName() | |
local name = UnitName("player") | |
-- [[ Variables ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local T, C, L | |
local _, ns = ... | |
---------------------------------------------------------------------------------------- | |
-- GUI for ShestakUI(by Haleth, Solor) | |
---------------------------------------------------------------------------------------- | |
local realm = GetRealmName() | |
local name = UnitName("player") | |
-- [[ Variables ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |