if FryBidFrame then FryBidFrame = nil end --if true then return end local f = CreateFrame("Button", "FryBidFrame", WorldFrame) f:EnableMouse(true) f:SetMovable(true) f:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up") --f:SetScript("OnEnter", function() self:OnEnter() end) --f:SetScript("OnLeave", function() GameTooltip:Hide() end) --f:SetScript("OnClick", function() self:OnClick() end) f.name = f:CreateFontString(nil, "OVERLAY") f.name:SetFontObject(GameFontHighlightSmall) f.name:SetJustifyH("LEFT") f.name:SetWidth(200) f.name:SetHeight(20) f.name:ClearAllPoints() f.name:SetPoint("TOP", f, "TOP", 40, -15) f.name:SetText("AAAA") f:SetBackdrop({ bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 16, edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", edgeSize = 16, insets = { left = 3, right = 3, top = 3, bottom = 3 } }) f:SetBackdropColor(.25, .25, .25, 1) f:SetBackdropBorderColor(1, 1, 1, 1) f:SetWidth(200) f:SetHeight(70) f:ClearAllPoints() f:SetPoint("BOTTOM", WorldFrame, "BOTTOM", 0, 15) FryBidFrame = f