chore(libs): sync Ace3 to coa-ace3 (WoWUIDev master @ 52e5f2c)

Bring every embedded Ace3 / CallbackHandler / LibStub copy in line with the
canonical Exiles/coa-ace3 bundle so LibStub resolution is predictable across
all Exiles forks regardless of which addons are enabled.

Per-library MINOR moves:
  AceAddon-3.0          5 → 13
  AceEvent-3.0          3 → 4
  AceTimer-3.0          5 → 17  (C_Timer-based; available on the CoA client)
  AceHook-3.0           5 → 9
  AceDB-3.0            21 → 33
  AceDBOptions-3.0     12 → 15
  AceConfig-3.0         2 → 3
  AceConfigRegistry-3.0 12 → 22
  AceConfigCmd-3.0     12 → 14
  AceConfigDialog-3.0  49 → 92
  AceGUI-3.0           33 → 41
  AceLocale-3.0         2 → 6
  AceBucket-3.0         3 → 4
  CallbackHandler-1.0   5 → 8
  AceConsole-3.0, LibStub: unchanged (already at target)
This commit is contained in:
2026-05-23 06:31:15 +02:00
parent a5315d3131
commit 1cbeca4b50
42 changed files with 2812 additions and 2215 deletions
@@ -2,7 +2,7 @@
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 20
local Type, Version = "Button", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
@@ -17,9 +17,9 @@ local PlaySound, CreateFrame, UIParent = PlaySound, CreateFrame, UIParent
Scripts
-------------------------------------------------------------------------------]]
local function Button_OnClick(frame, ...)
PlaySound("igMainMenuOption")
frame.obj:Fire("OnClick", ...)
AceGUI:ClearFocus()
PlaySound(852) -- SOUNDKIT.IG_MAINMENU_OPTION
frame.obj:Fire("OnClick", ...)
end
local function Control_OnEnter(frame)
@@ -39,6 +39,7 @@ local methods = {
self:SetHeight(24)
self:SetWidth(200)
self:SetDisabled(false)
self:SetAutoWidth(false)
self:SetText()
end,
@@ -46,6 +47,16 @@ local methods = {
["SetText"] = function(self, text)
self.text:SetText(text)
if self.autoWidth then
self:SetWidth(self.text:GetStringWidth() + 30)
end
end,
["SetAutoWidth"] = function(self, autoWidth)
self.autoWidth = autoWidth
if self.autoWidth then
self:SetWidth(self.text:GetStringWidth() + 30)
end
end,
["SetDisabled"] = function(self, disabled)
@@ -63,7 +74,7 @@ Constructor
-------------------------------------------------------------------------------]]
local function Constructor()
local name = "AceGUI30Button" .. AceGUI:GetNextWidgetNum(Type)
local frame = CreateFrame("Button", name, UIParent, "UIPanelButtonTemplate2")
local frame = CreateFrame("Button", name, UIParent, "UIPanelButtonTemplate")
frame:Hide()
frame:EnableMouse(true)