-
-
Notifications
You must be signed in to change notification settings - Fork 11
Pushed
The Pushed
region is the texture that appears when a button is pushed.
Notes
- This region is only available to Action and Item buttons and their derivatives.
- If button states are enabled, this region is shown and the
Normal
region is hidden whenever the button is pressed.
The following is a list of attributes available to this region and their default values.
Attribute | Classic | Modern |
---|---|---|
Anchor |
- | - |
Atlas |
- | UI-HUD-ActionBar-IconFrame-Down |
BlendMode |
BLEND |
BLEND |
Color |
1, 1, 1, 1 |
1, 1, 1, 1 |
DrawLayer |
ARTWORK |
ARTWORK |
DrawLevel |
0 |
0 |
Height |
38 |
36 |
Mask |
- | - |
OffsetX |
0 |
0 |
OffsetY |
0 |
0 |
Point |
CENTER |
CENTER |
RelPoint |
CENTER |
CENTER |
SetAllPoints |
- | - |
TexCoords |
0, 1, 0, 1 |
0, 1, 0, 1 |
Texture |
Interface\Buttons\UI-Quickslot-Depress |
- |
UseAtlasSize |
- | false |
UseColor |
- | - |
UseMask |
- | - |
Width |
38 |
37 |
Notes
- These are the values used by Masque for Action buttons in the respective Blizzard skin and may not reflect the default values of the base game or other button types.
- The
UseColor
attribute tells Masque to use a color texture instead of a texture for the region. - The
UseMask
attribute tells Masque to use the mask defined at the root level of the skin.
The following is a list of methods that may be used by Masque to apply skin settings to this region.
Method |
---|
AddMaskTexture |
ClearAllPoints |
RemoveMaskTexture |
SetAllPoints |
SetAtlas |
SetBlendMode |
SetColorTexture |
SetDrawLayer |
SetPoint |
SetSize |
SetTexCoord |
SetTexture |
SetVertexColor |
The following is a list of region definitions for each applicable button type if the button is derived from a template of that type.
Button Type | Global Name | Parent Key | Parent Method |
---|---|---|---|
Action | - | - | GetPushedTexture |
Item | - | - | GetPushedTexture |
Pet | - | - | GetPushedTexture |
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