Skip to content

Commit c0aa7c3

Browse files
committed
Ace3 cleanup
1 parent b27fe42 commit c0aa7c3

8 files changed

+7
-796
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ $RECYCLE.BIN/
2828
ElvUI_Libraries/Classic/LibQuestXP
2929
ElvUI_Libraries/Core/*
3030
!ElvUI_Libraries/Core/Ace3/AceConfig-3.0
31+
ElvUI_Libraries/Core/Ace3/AceConfig-3.0/AceConfigCmd-3.0
3132
!ElvUI_Libraries/Core/Ace3/AceLocale-3.0
3233
!ElvUI_Libraries/Core/Ace3/LICENSE.txt
3334
!ElvUI_Libraries/Core/Ace3-ElvUI

.pkgmeta

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ externals:
1212
ElvUI_Libraries/Core/Ace3/AceHook-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceHook-3.0
1313
ElvUI_Libraries/Core/Ace3/AceSerializer-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceSerializer-3.0
1414
ElvUI_Libraries/Core/Ace3/AceTimer-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceTimer-3.0
15+
ElvUI_Libraries/Core/Ace3/AceConfig-3.0/AceConfigCmd-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0/AceConfigCmd-3.0
1516
ElvUI_Libraries/Core/AceGUI-3.0-SharedMediaWidgets: https://repos.curseforge.com/wow/ace-gui-3-0-shared-media-widgets/trunk/AceGUI-3.0-SharedMediaWidgets
1617
ElvUI_Libraries/Core/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0
1718
ElvUI_Libraries/Core/LibStub: https://repos.curseforge.com/wow/libstub/trunk

ElvUI_Libraries/Core/Ace3-ElvUI/AceGUIWidget-Button-ElvUI.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Constructor
139139
-------------------------------------------------------------------------------]]
140140
local S -- ref for Skins module in ElvUI
141141
local function Constructor()
142-
local name = "AceGUI30Button" .. AceGUI:GetNextWidgetNum(Type)
142+
local name = "ElvUIAceGUI30Button" .. AceGUI:GetNextWidgetNum(Type)
143143
local frame = CreateFrame("Button", name, UIParent, "UIPanelButtonTemplate")
144144
frame:Hide()
145145
frame:EnableMouse(true)

ElvUI_Libraries/Core/Ace3-ElvUI/AceGUIWidget-DropDown-ElvUI.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ do
340340
local function Constructor()
341341
local count = AceGUI:GetNextWidgetNum(widgetType)
342342
local frame = CreateFrame("Frame", nil, UIParent)
343-
local dropdown = CreateFrame("Frame", "AceGUI30DropDown"..count, frame, "UIDropDownMenuTemplate")
343+
local dropdown = CreateFrame("Frame", "ElvUIAceGUI30DropDown"..count, frame, "UIDropDownMenuTemplate")
344344

345345
local self = {}
346346
self.type = widgetType

ElvUI_Libraries/Core/Ace3-ElvUI/AceGUIWidget-EditBox-ElvUI.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ end
2525

2626
function _G.AceGUIEditBoxInsertLink(text)
2727
for i = 1, AceGUI:GetWidgetCount(Type) do
28-
local editbox = _G["AceGUI-3.0EditBox"..i]
28+
local editbox = _G["ElvUIAceGUI-3.0EditBox"..i]
2929
if editbox and editbox:IsVisible() and editbox:HasFocus() then
3030
editbox:Insert(text)
3131
return true
@@ -220,7 +220,7 @@ local function Constructor()
220220
local frame = CreateFrame("Frame", nil, UIParent)
221221
frame:Hide()
222222

223-
local editbox = CreateFrame("EditBox", "AceGUI-3.0EditBox"..num, frame, "InputBoxTemplate")
223+
local editbox = CreateFrame("EditBox", "ElvUIAceGUI-3.0EditBox"..num, frame, "InputBoxTemplate")
224224
editbox:SetAutoFocus(false)
225225
editbox:SetFontObject(_G.ChatFontNormal)
226226
editbox:SetScript("OnEnter", Control_OnEnter)

ElvUI_Libraries/Core/Ace3/AceConfig-3.0/AceConfig-3.0.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Very light wrapper library that combines all the AceConfig subcomponents into on
1313
]]
1414

1515
local cfgreg = LibStub("AceConfigRegistry-3.0-ElvUI")
16-
local cfgcmd = LibStub("AceConfigCmd-3.0-ElvUI")
16+
local cfgcmd = LibStub("AceConfigCmd-3.0")
1717

1818
local MAJOR, MINOR = "AceConfig-3.0-ElvUI", 3
1919
local AceConfig = LibStub:NewLibrary(MAJOR, MINOR)

0 commit comments

Comments
 (0)