//IncludeFile "UI\FrameDef\UI\EscMenuTemplates.fdf", // adding the file
Texture "MyNormalTexture" {
File "ReplaceableTextures\CommandButtons\BTNSelectHeroOn.blp",
}
Texture "MyPushedTexture" {
//0.008-0.0010 if size of MyPushedTexture less then real of 0.039x0.039, then create click effect.
Width 0.038,
Height 0.038,
File "ReplaceableTextures\CommandButtons\BTNSelectHeroOn.blp",
}
Texture "MyDisabledTexture" {
File "ReplaceableTextures\CommandButtonsDisabled\DISBTNSelectHeroOn.blp",
}
Texture "MyButtonHighlight" {
File "UI\Widgets\EscMenu\Orc\orc-options-button-highlight.blp",
AlphaMode "ADD",
//File "UI\Glues\ScoreScreen\scorescreen-tab-hilight.blp",
//AlphaMode "ADD",
}
Frame "SIMPLEBUTTON" "MySimpleButton" {
Width 0.039,
Height 0.039,
//ButtonPushedTextOffset 0.001 -0.001, //<- This is for text
NormalTexture "MyNormalTexture",
PushedTexture "MyPushedTexture",
DisabledTexture "MyDisabledTexture",
UseHighlight "MyButtonHighlight",
}