• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

"BACKDROP" and "TEXT" as child frames of "SIMPLEFRAME"

Level 10
Joined
Jul 18, 2005
Messages
323
Code:
Frame "SIMPLEFRAME" "InfoPanelMagicResistExTooltip" {
    UseActiveContext,
    DecorateFileNames,
    Width 0.28,
    Height 0.023,

    Frame "BACKDROP" "InfoPanelMagicResistExTooltipBackground" {
        SetPoint TOPLEFT, "InfoPanelMagicResistExTooltip", TOPLEFT, -0.005, 0.005,
        SetPoint BOTTOMRIGHT, "InfoPanelMagicResistExTooltip", BOTTOMRIGHT, 0.005, -0.005,
        BackdropTileBackground,
        BackdropBackground "UI\Widgets\ToolTips\Human\human-tooltip-background.blp",
        BackdropCornerFlags "UL|UR|BL|BR|T|L|B|R",
        BackdropCornerSize 0.008,
        BackdropBackgroundInsets 0.002 0.002 0.002 0.002,
        BackdropEdgeFile "UI\Widgets\ToolTips\Human\human-tooltip-border.blp",
        BackdropBlendAll,

        Frame "TEXT" "InfoPanelMagicResistExTooltipValue" {
            SetPoint TOPLEFT, "InfoPanelMagicResistExTooltip", TOPLEFT, 0., 0.,
            SetPoint BOTTOMRIGHT, "InfoPanelMagicResistExTooltip", BOTTOMRIGHT, 0., 0.,
            FrameFont "Fonts\BLQ55Web.ttf", 0.011, "",
            FontJustificationH JUSTIFYLEFT,
            FontJustificationV JUSTIFYMIDDLE,
            FontFlags "FIXEDSIZE",
            FontColor 1.0 1.0 1.0 1.0,
            FontHighlightColor 1.0 1.0 1.0 1.0,
            FontDisabledColor 0.2 0.2 0.2 1.0,
            FontShadowColor 0.0 0.0 0.0 0.9,
            FontShadowOffset 0.001 -0.001,
        }
    }
}
Top