Pushed - SFX-WoW/Masque GitHub Wiki
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
Normalregion 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
UseColorattribute tells Masque to use a color texture instead of a texture for the region. - The
UseMaskattribute 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 |