Skip to content
StormFX edited this page Dec 13, 2022 · 1 revision

Contents

The Normal region is the artwork that frames the Icon region.

Notes

  • By default, this region is only available to Action, Item and Pet buttons. Masque extends this support to all button types.
  • If an empty texture and/or color are specified in the skin, they will be used whenever Masque detects that a button is empty.
  • If button states are enabled, this region is hidden and the Pushed region is shown whenever a button is pressed.

Attributes

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

Attribute Default
BlendMode BLEND
Color 1, 1, 1, 1
DrawLayer ARTWORK
DrawLevel 0
EmptyColor 1, 1, 1, 0.5
EmptyCoords 0, 1, 0, 1
EmptyTexture Interface\Buttons\UI-Quickslot2
Height 66*
Hide false
OffsetX 0
OffsetY 0*
Point CENTER
RelPoint CENTER
SetAllPoints false
TexCoords 0, 1, 0, 1
Texture Interface\Buttons\UI-Quickslot2
Textures nil
UseStates false
Width 66*

* These values may vary between button types. See the Default skin for details.

Methods

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

Method
ClearAllPoints
Hide
SetBlendMode
SetDrawLayer
SetParent
SetPoint
SetSize
SetTexCoord
SetTexture
SetVertexColor
Show

Hooks

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

Method Types Description
SetNormalTexture Action, Item, Pet Allows Masque to update the texture.

Region Access

Due to the ability of skins to disable button states, this region may not be available through the GetNormalTexture button method. Instead, use Masque's GetNormal API method.

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 Function
Action NormalTexture NormalTexture GetNormalTexture
Item - NormalTexture GetNormalTexture
Pet - NormalTexture2 GetNormalTexture

Wiki
  • Home

Project
  • Contributors
  • History

Reference
  ⚬ Masque API
  ⚬ Group API
  ⚬ Regions
     • AutoCastShine
     • AutoCastable
     • Backdrop
     • Border
     • ChargeCooldown
     • Checked
     • ContextOverlay
     • Cooldown
     • Count
     • Disabled
     • Duration
     • Flash
     • Gloss
     • Highlight
     • HotKey
     • Icon
     • IconBorder
     • IconOverlay
     • IconOverlay2
     • JunkIcon
     • Mask
     • Name
     • NewAction
     • NewItem
     • Normal
     • Pushed
     • QuestBorder
     • SearchOverlay
     • Shadow
     • SlotHighlight
     • SlotIcon
     • SpellHighlight
     • UpgradeIcon

Skins
  • Skin List

Mirrors
  • CurseForge
  • Wago.io
  • Wow Interface

Clone this wiki locally