NewItem - SFX-WoW/Masque GitHub Wiki

Contents

The NewItem region is the texture that appears when a new item has been added to a bag slot.

Notes

  • This region is only available to Item buttons.

Attributes

The following is a list of attributes available to this region and their default values.

Attribute Default
Atlas* bags-glow-white
BlendMode ADD
Color 1, 1, 1, 1
DrawLayer OVERLAY
DrawLevel 2
Height 38
OffsetX 0
OffsetY 0
Point CENTER
RelPoint CENTER
SetAllPoints false
TexCoords -
Texture -
Width 38

* This value may vary depending on the quality of the item.

Methods

The following is a list of methods that are used by Masque to apply skin settings to this region.

Method
ClearAllPoints
SetAtlas
SetBlendMode
SetDrawLayer
SetPoint
SetSize
SetTexCoord
SetTexture
SetVertexColor

Hooks

The following is a list of related methods that Masque hooks along with descriptions of those hooks.

Method Types Description
SetAtlas Item Allows Masque to update the texture.

Definitions

The following is a list of region definitions for each applicable button type if the button is derived from a template of that type.

Type Key Name
Action NewItemTexture -
Pet NewItemTexture -
⚠️ **GitHub.com Fallback** ⚠️