Format: SimpleButtonChild NAMED name, Texture,
Example: NormalTexture NAMED "MyIconA", "MyUpperMenuButtonBackground",
Example: PushedTexture NAMED "MyIconB", "MyUpperMenuButtonPushedBackground",
Purpose: give a name to functional texture/string children of a SIMPLEBUTTON. Then they can be accessed in map script with BlzGetFrameByName
Used in: SIMPLEBUTTON
Texture "MyUpperMenuButtonHighlight" {
File "UpperMenuButtonTexture",
TexCoord 0.0, 0.6640625, 0.75, 0.921875,
AlphaMode "ADD",
}
Texture "TextureTemplate" {}
Frame "SIMPLEBUTTON" "TestA" {
DecorateFileNames,
Width 0.085,
Height 0.022,
NormalTexture NAMED "MyIconA2","TextureTemplate",
PushedTexture NAMED "MyIconB2","TextureTemplate",
DisabledTexture NAMED "MyIconC2","TextureTemplate",
UseHighlight "MyUpperMenuButtonHighlight",
}