-
-
Notifications
You must be signed in to change notification settings - Fork 11
Icon
The Icon
region is the texture that displays the ability, item or spell assigned to a button.
The following is a list of attributes available to this region and their default values.
Attribute | Default |
---|---|
DrawLayer |
BACKGROUND |
DrawLevel |
0 |
Height |
36 |
Mask |
- |
OffsetX |
0 |
OffsetY |
0 |
Point |
CENTER |
RelPoint |
CENTER |
SetAllPoints |
false |
TexCoords |
0, 1, 0, 1 |
Width |
36 |
Notes
- Skins cannot modify the texture or color of this region, as these features are controlled by the game and/or add-on.
This region must always be passed to Masque through the Regions
table, even if it has no texture assigned to it, as the region can still be skinned without it.
The following is a list of methods that are used by Masque to apply skin settings to this region.
Method |
---|
AddMaskTexture |
ClearAllPoints |
RemoveMaskTexture |
SetDrawLayer |
SetParent |
SetPoint |
SetSize |
SetTexCoord |
The following is a list of related methods that Masque hooks along with descriptions of those hooks.
Method | Types | Description |
---|---|---|
Hide | Action, Item, Pet | Hides the Gloss and Shadow regions. Updates the Normal region. |
Show | Action, Item, Pet | Shows the Gloss and Shadow regions. Updates the Normal region. |
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 | icon |
Icon |
Aura/Buff |
Icon * |
Icon |
Debuff |
Icon * |
Icon |
Enchant |
Icon * |
Icon |
Item | icon |
IconTexture |
* Retail only.
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