• 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.

Tooltipbackdrop as SimpleFrame

An attempt to create a "Box" for simpleframes uses the default Tooltip images. There are some small errors.
Free to use.
Code:
Frame "SIMPLEFRAME" "SimpleBackdropFrame" {
    SetPoint TOP, "ConsoleUI", TOP, 0, -0.1,
    Width 0.12,
    Height 0.12,
    DecorateFileNames,
    Layer "BACKGROUND" {
        Texture "SimpleBackdropFrameTextureCenter" {
            //SetAllPoints,
            SetPoint TOPLEFT, "SimpleBackdropFrame", TOPLEFT, -0.003, 0.003,
            SetPoint BOTTOMRIGHT, "SimpleBackdropFrame", BOTTOMRIGHT, 0.003, -0.003,
            
            AlphaMode "BLEND",
            File "ToolTipBackground",
        }
        Texture "SimpleBackdropFrameTextureTop" {
            Height 0.0075,
            SetPoint BOTTOMRIGHT, "SimpleBackdropFrame", TOPRIGHT, 0,0,
            SetPoint BOTTOMLEFT, "SimpleBackdropFrame", TOPLEFT, 0,0,
            Anchor TOPLEFT,0,0,
            AlphaMode "BLEND",
            //TexCoord 0.8047, 0.9453, 0.5, 1,
            TexCoord 0.5625, 0.6875, 0.0, 0.5,
            File "ToolTipBorder",
        }
        Texture "SimpleBackdropFrameTextureLeft" {
            Width 0.0075,
            SetPoint TOPRIGHT, "SimpleBackdropFrame", TOPLEFT, 0,0,
            SetPoint BOTTOMRIGHT, "SimpleBackdropFrame", BOTTOMLEFT, 0,0,
            AlphaMode "BLEND",
            //TexCoord Left, Right, Up, Bottom,
            TexCoord 0.1875, 0.25, 0, 1,
            File "ToolTipBorder",
        }
        
        Texture "SimpleBackdropFrameTextureRight" {
            Width 0.0075,
            SetPoint TOPLEFT, "SimpleBackdropFrame", TOPRIGHT, 0,0,
            SetPoint BOTTOMLEFT, "SimpleBackdropFrame", BOTTOMRIGHT, 0,0,
            AlphaMode "BLEND",             
            TexCoord 0, 0.0625, 0, 1, 
            File "ToolTipBorder",
        }        
        Texture "SimpleBackdropFrameTextureBottom" {
            Height 0.0075,
            SetPoint TOPRIGHT, "SimpleBackdropFrame", BOTTOMRIGHT, 0,0,
            SetPoint TOPLEFT, "SimpleBackdropFrame", BOTTOMLEFT, 0,0,
            AlphaMode "BLEND",
            TexCoord 0.8125, 0.9375, 0.5, 1, 
            File "ToolTipBorder",
        }
        Texture "SimpleBackdropFrameTextureBottomLeft" {
            Height 0.0075,
            Width 0.0075,
            SetPoint TOPRIGHT, "SimpleBackdropFrame", BOTTOMLEFT, 0, 0.0,
            AlphaMode "BLEND",
            TexCoord 0.75, 0.8125, 0.5, 1, 
            File "ToolTipBorder",
        }
        Texture "SimpleBackdropFrameTextureBottomRight" {
            Height 0.0075,
            Width 0.0075,
            SetPoint TOPLEFT, "SimpleBackdropFrame", BOTTOMRIGHT, 0,0.0,
            AlphaMode "BLEND",
            TexCoord 0.9375, 1, 0.5, 1, 
            File "ToolTipBorder",
        }
        Texture "SimpleBackdropFrameTextureTopLeft" {
            Height 0.0075,
            Width 0.0075,
            SetPoint BOTTOMRIGHT, "SimpleBackdropFrame", TOPLEFT, 0, -0.0005,
            AlphaMode "BLEND",
            TexCoord 0.5, 0.5625, 0, 0.5625, 
            File "ToolTipBorder",
        }
        Texture "SimpleBackdropFrameTextureTopRight" {
            Height 0.0075,
            Width 0.0075,
            SetPoint BOTTOMLEFT, "SimpleBackdropFrame", TOPRIGHT, 0,-0.0005,
            AlphaMode "BLEND",
            TexCoord 0.6876, 0.7501, 0, 0.5625, 
            File "ToolTipBorder",
        }
    }
}
Top