Backdrop

Format: Backdrop "name" INHERITS "name2" {}

Format: Backdrop {}

Purpose: Define a Backdrop used by SimpleFrames with UseBackdrop or placed directly inside a SimpleFrame.
The Backdrop can not be accessed by BlzGetFrameByName and copies the Frames position & Size. It can do most what Frame "BACKDROP" can do. Layer does not work on it and the border is higher then the background but the Backdrop is inside the SimpleFrames Layer. Textures & Strings inside Layer "BACKGROUND" often are lower than the Backdrop. Will show no background when BackdropBackground is empty or invalid. But a Border File must be correct when it is requested with BackdropEdgeFile. Always uses BackdropBlendAll. Like Texture uses DecorateFileNames from the parent simpleframe.

Used in: SIMPLEBUTTON, SIMPLECHECKBOX, SIMPLEFRAME, SIMPLESTATUSBAR

Frame "SIMPLESTATUSBAR" "SimpleBackdrop2" {
    DecorateFileNames,
    Width 0.1,
    Height 0.1,
    SetPoint CENTER, "ConsoleUI", CENTER,0.0,0.1,
    Backdrop {
        BackdropTileBackground,
        BackdropBackground  "EscMenuEditBoxBackground",
        BackdropCornerFlags "UL|UR|BL|BR|T|L|B|R",
        BackdropCornerSize  0.0125,
        BackdropBackgroundSize  0.1,
        BackdropBackgroundInsets 0.005 0.005 0.005 0.005,
        BackdropEdgeFile  "EscMenuEditBoxBorder",
//        BackdropBlendAll,
    }
}

Frame "SIMPLEFRAME" "SimpleBackdrop3" {
    Width 0.1,
    Height 0.1,
    SetPoint CENTER, "ConsoleUI", CENTER,0.0,0.1,
    Backdrop {
        BackdropBackground  "ReplaceableTextures/CommandButtons/BTNPriest",
        BackdropMirrored,
    }
    Layer "ARTWORK" {
    Texture {
        Width 0.05,
        Height 0.05,
        File  "ReplaceableTextures/CommandButtons/BTNPriest",
        Anchor CENTER,0,0,
    }
    }
    Layer "BACKGROUND" {
    Texture {
        Width 0.05,
        Height 0.05,
        File  "ReplaceableTextures/CommandButtons/BTNHeroPaladin",
        Anchor CENTER,0,0.05,
    }
    }
}