notes for Anniversary Burning Crusade 2.5.5

copied over retail version 1.3.3.3


Look for the following comments in the files changed

 -- changed for Anniversary Burning Crusade
 -- removed for Anniversary Burning Crusade 
 -- added for Anniversary Burning Crusade

in Util.ua I renamed some functions to end with _retail, and copied over the function from 1.15.8 Util.lua


---------------------------------------------------------------------------------------------------------

ButtonForge.toc

## Interface: 20505
## Title: ButtonForge
## Notes: Add as many or few extra Action Bars and Buttons to your user interface to complement the standard (or other) Action Bars
## Version: 1.3.3.3
## Author: Massiner of Nathrezim
## SavedVariables: ButtonForgeGlobalSettings, ButtonForgeGlobalProfiles, ButtonForgeGlobalBackup
## SavedVariablesPerCharacter: ButtonForgeSave, BFSave
## IconTexture: Interface\AddOns\ButtonForge\ButtonForge.blp
## X-Curse-Project-ID: 25215
## OptionalDeps: Masque
Libs\Libs.xml

---------------------------------------------------------------------------------------------------------

Const.lua

changed from:

Const.ButtonGap 			= 2;		--BG		--Don't mess with the ButtonSize/Gap

to:

Const.ButtonGap 			= -3;		--BG		--Don't mess with the ButtonSize/Gap



changed from:

Const.VersionMinor			= 3.2;

to:

Const.VersionMinor			= 3.3;


---------------------------------------------------------------------------------------------------------

Bar.lua

changed from:

		-- a bit hacky - but to get this out sooner rather than a bigger refactor
			local NumSpecs = GetNumSpecializations() 
			for i = 1, NumSpecs do
				--[[Hide On Talent # Button]]--
				NewBar["HSpec"..i.."Button"] = UILib.CreateButton(Background, Const.MiniIconSize, Const.MiniIconSize,		--parent, width, height
														{"TOPLEFT", LeftIconsFrame, "TOPLEFT", Const.BarEdge, -(Const.MiniIconSize + Const.MiniIconGap) * i -Const.BarEdge},	--Point
														Const.ImagesDir.."Spec"..i.."On.tga",		--Norm
														nil,								--Push
														nil,								--Check
														"Interface/Buttons/ButtonHilight-Square", --Highlight
														Util.GetLocaleString("HideSpec"..i.."Tooltip"),
														NewBar["ToggleHSpec"..i], nil, nil);	--OnClick, On M Down, On M Up
				NewBar["HSpec"..i.."Button"].ParentBar = NewBar;
				table.insert(NewBar.LeftControls, NewBar["HSpec"..i.."Button"]);
			end

to:
	  -- a bit hacky - but to get this out sooner rather than a bigger refactor
			-- local NumSpecs = GetNumSpecializations()  -- changed for Anniversary Burning Crusade 2.5.5 02/22/2026
		  local NumSpecs = GetNumTalentGroups()
      if NumSpecs > 1 then
  		  for i = 1, NumSpecs do
		       --[[Hide On Talent # Button]]--
	  	     NewBar["HSpec"..i.."Button"] = UILib.CreateButton(Background, Const.MiniIconSize, Const.MiniIconSize,		--parent, width, height
												{"TOPLEFT", LeftIconsFrame, "TOPLEFT", Const.BarEdge, -(Const.MiniIconSize + Const.MiniIconGap) * i -Const.BarEdge},	--Point
												Const.ImagesDir.."Spec"..i.."On.tga",		--Norm
												nil,								--Push
												nil,								--Check
												"Interface/Buttons/ButtonHilight-Square", --Highlight
												Util.GetLocaleString("HideSpec"..i.."Tooltip"),
												NewBar["ToggleHSpec"..i], nil, nil);	--OnClick, On M Down, On M Up
				   NewBar["HSpec"..i.."Button"].ParentBar = NewBar;
				   table.insert(NewBar.LeftControls, NewBar["HSpec"..i.."Button"]);
			  end
			end

---------------------------------------------------------------------------------------------------------

Flyout_Custom.lua

changed from:

FlyoutChecker:RegisterEvent("LEARNED_SPELL_IN_TAB");

to:

FlyoutChecker:RegisterEvent("LEARNED_SPELL_IN_SKILL_LINE");  -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025

changed from:

  FlyoutChecker:SetScript("OnUpdate", Refresh_FlyoutSpells_OnUpdate);

to:

  -- FlyoutChecker:SetScript("OnUpdate", Refresh_FlyoutSpells_OnUpdate); -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025

---------------------------------------------------------------------------------------------------------

EventManager.lua

changed from:

Misc:RegisterEvent("LEARNED_SPELL_IN_TAB");			--refresh/promote spells

to:

Misc:RegisterEvent("LEARNED_SPELL_IN_SKILL_LINE");			--refresh/promote spells -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025


changed from:

	elseif (Event == "LEARNED_SPELL_IN_TAB" or Event == "SPELLS_CHANGED") then

to:
		
	elseif (Event == "LEARNED_SPELL_IN_SKILL_LINE" or Event == "SPELLS_CHANGED") then -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025

	
---------------------------------------------------------------------------------------------------------

Button.lua


changed from:

  Util.CooldownFrame_SetTimer(self.WCooldown, C_Container.GetItemCooldown(self.ItemId)); -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025
	-- Util.CooldownFrame_SetTimer(self.WCooldown, C_Item.GetItemCooldown(self.ItemId)); 

to:
	
  Util.CooldownFrame_SetTimer(self.WCooldown, C_Container.GetItemCooldown(self.ItemId)); -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025
	-- Util.CooldownFrame_SetTimer(self.WCooldown, C_Item.GetItemCooldown(self.ItemId)); 	



changed from:

function Button:UpdateGlow()
	if ((self.Mode == "spell" or (self.MacroMode == "spell" and self.Mode == "macro")) and Util.GlowSpells[self.SpellName]) then
		ActionButton_ShowOverlayGlow(self.Widget);
	else
		ActionButton_HideOverlayGlow(self.Widget);
	end
end

to:
	
function Button:UpdateGlow()
	if ((self.Mode == "spell" or (self.MacroMode == "spell" and self.Mode == "macro")) and Util.GlowSpells[self.SpellName]) then
		ActionButtonSpellAlertManager:ShowAlert(self.Widget); -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025
	else
		ActionButtonSpellAlertManager:HideAlert(self.Widget); -- changed for Anniversary Burning Crusade 2.5.5 11/29/2025
	end
end


commeted out 



	-- code lifted / adapted from retail ActionButton.lua
	-- local quality = C_TradeSkillUI.GetItemReagentQualityByItemInfo(self.ItemLink)
	-- if quality then
	-- local widget = self.Widget
	-- if not widget.ProfessionQualityOverlayFrame then
	--			widget.ProfessionQualityOverlayFrame = CreateFrame("Frame", nil, widget, "ActionButtonProfessionOverlayTemplate");
	--			widget.ProfessionQualityOverlayFrame:SetPoint("TOPLEFT", 14, -14);
	--		end
  --
	--		local atlas = ("Professions-Icon-Quality-Tier%d-Inv"):format(quality);
	--		widget.ProfessionQualityOverlayFrame:Show();
	--		widget.ProfessionQualityOverlayFrame.Texture:SetAtlas(atlas, TextureKitConstants.UseAtlasSize);
	--		--return;
	--	end
	
---------------------------------------------------------------------------------------------------------

Util.lua


changed from:
	
	if (Commands["-gap"]) then
		Bar:SetButtonGap(tonumber(Commands["-gap"][1]));
	end

to:

	if (Commands["-gap"]) then
		Bar:SetButtonGap(tonumber(Commands["-gap"][1])-3); -- changed for Classic Anniversary BC 2.5.5 01/15/2026
	end
	
