Quantcast WoWInterface - View Single Post - How to make a visible window? image link in disc
View Single Post
02-20-17, 11:16 AM   #9
briskman3000
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 74
If all you want is a frame with a border, and not have to worry about Libs, this should create a simple 200x100 frame for you to work with

Lua Code:
  1. local frame = CreateFrame("Frame", nil, UIParent)
  2. frame:SetSize(200, 100)
  3. frame:SetPoint("CENTER")
  4. frame:SetBackdrop({
  5.     bgFile="Interface\\Tooltips\\UI-Tooltip-Background",
  6.     edgeFile="Interface\\Tooltips\\UI-Tooltip-Border",
  7.     tile=false,
  8.     tileSize=0,
  9.     edgeSize=2,})
  10. frame:SetBackdropColor(0,0,0,0.5)
  11. frame:SetBackdropBorderColor(0,0,0,1)
  Reply With Quote