Skip to content

9.1.5 Consolidated UI Changes

Daniel Yates edited this page Dec 9, 2021 · 24 revisions

Contents

Notable Changes

  • The interface version is 90105. Deprecations for this patch can be found here.
  • SharedTooltipTemplate and GameTooltipTemplate no longer inherit BackdropTemplate.
  • The guild bank UI has been synchronized with changes made in patch 2.5.2 to use a mixin-based approach.
  • The legacy Looking For Guild and Guild Recruitment APIs and UIs have been removed.
    • The guild finder embedded into the Communities UI still exists.
  • The event trace tool now supports logging events while the frame is hidden. This option is disabled by default.

Tooltip Backdrop Changes

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.

Backdrop Colors

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 by GameTooltip.NineSlice:GetCenterColor().
  • GameTooltip:SetBackdropColor(r, g, b,[ a]) can be replaced by GameTooltip.NineSlice:SetCenterColor(r, g, b[, a]).
  • GameTooltip:GetBackdropBorderColor() can be replaced by GameTooltip.NineSlice:GetBorderColor().
  • GameTooltip:SetBackdropBorderColor(r, g, b,[ a]) can be replaced by GameTooltip.NineSlice:SetBorderColor(r, g, b[, a]).

Backdrop Textures

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);

API Changes by Category

C_BarberShop

C_BehavioralMessaging

C_ChallengeMode

C_Club

C_Commentator

C_GamePad

C_Item

C_ItemUpgrade

C_LFGList

C_LFGuildInfo

This namespace has been removed.

C_MountJournal

C_MythicPlus

C_PlayerMentorship

C_SocialRestrictions

C_Soulbinds

C_TTSSettings

C_Transmog

C_TransmogCollection

C_TransmogSets

C_UIWidgetManager

Global APIs

Enum Changes

Event Changes

FrameXML API Changes

Note that each build generally has a significant number of FrameXML utility changes, of which only significant ones of interest will be listed here.

Widget API Changes

DressUpModel

ModelSceneActor

Resources