-
Notifications
You must be signed in to change notification settings - Fork 7
2.5.3 Consolidated UI Changes
- Contents
- Notable Changes
- Tooltip Backdrop Changes
- API Changes by Category
- Enum Changes
- Event Changes
- FrameXML API Changes
- Widget API Changes
- Resources
- The interface version is 20503. Deprecations for this patch can be found here.
- The client has had some API and FrameXML changes synchronized from patch 1.14.1 and patch 9.2.0.
- SharedTooltipTemplate and GameTooltipTemplate no longer inherit BackdropTemplate.
- The event trace tool now supports logging events while the frame is hidden. This option is disabled by default.
The main tooltip templates - SharedTooltipTemplate and GameTooltipTemplate - no longer inherit BackdropTemplate as of patch 9.1.5 and 1.14.1. This is a breaking change for code that customizes the backdrop on tooltips which inherit these templates, including the default global GameTooltip object.
The tooltip objects now make use of the NineSlice system directly, accessible via the .NineSlice
key on any Tooltip object inheriting these templates.
Any queries and modifications of the colors for the background or borders of a tooltip can be replaced with the following function calls.
-
GameTooltip:GetBackdropColor()
can be replaced byGameTooltip.NineSlice:GetCenterColor()
. -
GameTooltip:SetBackdropColor(r, g, b,[ a])
can be replaced byGameTooltip.NineSlice:SetCenterColor(r, g, b[, a])
. -
GameTooltip:GetBackdropBorderColor()
can be replaced byGameTooltip.NineSlice:GetBorderColor()
. -
GameTooltip:SetBackdropBorderColor(r, g, b,[ a])
can be replaced byGameTooltip.NineSlice:SetBorderColor(r, g, b[, a])
.
For GameTooltip:SetBackdrop(backdropInfo)
, the following workaround can be used to make any Tooltip object backdrop-enabled:
Mixin(GameTooltip.NineSlice, BackdropTemplateMixin);
SharedTooltip_SetBackdropStyle(GameTooltip, nil, GameTooltip.IsEmbedded);
GameTooltip.NineSlice:SetScript("OnSizeChanged", GameTooltip.NineSlice.OnBackdropSizeChanged);
GameTooltip.NineSlice:SetBackdrop(backdropInfo);
- Added: C_Club.FocusCommunityStream
- Added: C_Club.UnfocusAllStreams
- Moved: C_Commentator.SetBlacklistedAuras → C_Commentator.SetBlocklistedAuras
- Moved: C_Commentator.SetBlacklistedCooldowns → C_Commentator.SetBlocklistedCooldowns
- Added: C_GamePad.ClearLedColor
- Added: C_GamePad.GetLedColor
- Added: C_GamePad.SetLedColor
- Added: C_GamePad.SetVibration
- Added: C_GamePad.StopVibration
- Added: C_Seasons.GetActiveSeason
- Added: C_Seasons.HasActiveSeason
- Added: C_SocialRestrictions.AcknowledgeRegionalChatDisabled
- Added: C_SocialRestrictions.IsChatDisabled
- Added: C_SocialRestrictions.SetChatDisabled
- Added: GetFirstBagBankSlotIndex
- Added: securecallfunction
- Added: secureexecuterange
- Added: strsplittable - Usage:
chunks = strsplittable("delimiter", "subject"[, pieces])
- Changed: UnitCastingInfo - This has been made consistent with the mainline client for return values; spell ID has been shifted to be the 9th return.
- Changed: UnitChannelInfo - This has been made consistent with the mainline client for return values; spell ID has been shifted to be the 8th return.
Many enum changes from the mainline client are present in this new patch; only those relevant for BCC are listed below.
- Added: Enum.SeasonID
- Added: Enum.UnitSex - This has additionally had a new "Both" value added.
- Deprecated: Enum.Unitsex - Replaced by Enum.UnitSex.
- Added: NOTIFY_CHAT_SUPPRESSED
- Removed: SHOW_AADC_ALERT
Note that each build generally has a significant number of FrameXML utility changes, of which only significant ones of interest will be listed here.
- Added: AnchorUtil.DebugAnchorGraph
- Added: AnchorUtil.PrintAnchorGraph
- Added: CreateFixedSizeFramePoolCollection
- Added: CreateIndexRangeDataProvider
- Added: CreateLinearizedTreeListDataProvider
- Added: CreateMaskPool
- Added: CreateScrollBoxListTreeListView
- Added: CreateTableEnumerator
- Added: CreateTreeListDataProvider
- Added: enumerate_regions
- Added: EnumUtil.IsValid
- Added: FrameUtil.RegisterFrameForUnitEvents
- Added: GetClassColoredTextForUnit
- Added: GetOrCreateTableEntry
- Added: GetOrCreateTableEntryByCallback
- Added: GetRandomArrayEntry
- Added: HybridScrollFrame_ScrollToIndex
- Added: MaskPool_Hide
- Added: MaskPool_HideAndClearAnchors
- Added: RegionUtil.CalculateAngleBetween
- Added: RegionUtil.CalculateDistanceBetween
- Added: RegionUtil.CalculateDistanceSqBetween
- Added: RegionUtil.IsDescendantOf
- Added: RegionUtil.IsDescendantOfOrSame
- Added: RegisterUIPanel
- Moved: CreateDataProviderIndexRange → CreateIndexRangeDataProvider
- Added: FontString:GetTextScale
- Added: FontString:SetTextScale