mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
130 lines
6.7 KiB
Lua
130 lines
6.7 KiB
Lua
pfUI.panel = CreateFrame("Frame",nil,UIParent)
|
|
|
|
pfUI.panel.left = CreateFrame("Frame", "leftChatPanelBottom", pfUI.panel)
|
|
pfUI.panel.left:ClearAllPoints()
|
|
pfUI.panel.left:SetHeight(19)
|
|
pfUI.panel.left:SetPoint("BOTTOMLEFT", pfUI.chat.left, "BOTTOMLEFT", 2, 2)
|
|
pfUI.panel.left:SetPoint("BOTTOMRIGHT", pfUI.chat.left, "BOTTOMRIGHT", -2, 2)
|
|
pfUI.panel.left:SetBackdrop(pfUI.backdrop)
|
|
pfUI.panel.left:SetBackdropColor(0,0,0,.75)
|
|
|
|
pfUI.panel.left.hide = CreateFrame("Button", nil, pfUI.panel.left)
|
|
pfUI.panel.left.hide:ClearAllPoints()
|
|
pfUI.panel.left.hide:SetWidth(15)
|
|
pfUI.panel.left.hide:SetHeight(pfUI.panel.left:GetHeight())
|
|
pfUI.panel.left.hide:SetPoint("LEFT", 0, 0)
|
|
pfUI.panel.left.hide:SetBackdrop(pfUI.backdrop)
|
|
pfUI.panel.left.hide.text = pfUI.panel.left.hide:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.left.hide.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.left.hide.text:ClearAllPoints()
|
|
pfUI.panel.left.hide.text:SetAllPoints(pfUI.panel.left.hide)
|
|
pfUI.panel.left.hide.text:SetPoint("LEFT", 0, 0)
|
|
pfUI.panel.left.hide.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.left.hide.text:SetText("< ")
|
|
pfUI.panel.left.hide:SetScript("OnClick", function()
|
|
if pfUI.chat.left:IsShown() then pfUI.chat.left:Hide() else pfUI.chat.left:Show() end
|
|
end)
|
|
|
|
pfUI.panel.left.left = CreateFrame("Frame", nil, pfUI.panel.left)
|
|
pfUI.panel.left.left:ClearAllPoints()
|
|
pfUI.panel.left.left:SetWidth(115)
|
|
pfUI.panel.left.left:SetHeight(pfUI.panel.left:GetHeight())
|
|
pfUI.panel.left.left:SetPoint("LEFT", 0, 0)
|
|
pfUI.panel.left.left.text = pfUI.panel.left.left:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.left.left.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.left.left.text:ClearAllPoints()
|
|
pfUI.panel.left.left.text:SetAllPoints(pfUI.panel.left.left)
|
|
pfUI.panel.left.left.text:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.left.left.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.left.left.text:SetText("[DUMMY]")
|
|
|
|
pfUI.panel.left.center = CreateFrame("Frame", nil, pfUI.panel.left)
|
|
pfUI.panel.left.center:ClearAllPoints()
|
|
pfUI.panel.left.center:SetWidth(115)
|
|
pfUI.panel.left.center:SetHeight(pfUI.panel.left:GetHeight())
|
|
pfUI.panel.left.center:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.left.center.text = pfUI.panel.left.center:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.left.center.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.left.center.text:ClearAllPoints()
|
|
pfUI.panel.left.center.text:SetAllPoints(pfUI.panel.left.center)
|
|
pfUI.panel.left.center.text:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.left.center.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.left.center.text:SetText("[DUMMY]")
|
|
|
|
pfUI.panel.left.right = CreateFrame("Frame", nil, pfUI.panel.left)
|
|
pfUI.panel.left.right:ClearAllPoints()
|
|
pfUI.panel.left.right:SetWidth(115)
|
|
pfUI.panel.left.right:SetHeight(pfUI.panel.left:GetHeight())
|
|
pfUI.panel.left.right:SetPoint("RIGHT", 0, 0)
|
|
pfUI.panel.left.right.text = pfUI.panel.left.right:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.left.right.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.left.right.text:ClearAllPoints()
|
|
pfUI.panel.left.right.text:SetAllPoints(pfUI.panel.left.right)
|
|
pfUI.panel.left.right.text:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.left.right.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.left.right.text:SetText("[DUMMY]")
|
|
|
|
pfUI.panel.right = CreateFrame("Frame", "rightChatPanelBottom", pfUI.panel)
|
|
pfUI.panel.right:ClearAllPoints()
|
|
pfUI.panel.right:SetHeight(19)
|
|
pfUI.panel.right:SetPoint("BOTTOMLEFT", pfUI.chat.right, "BOTTOMLEFT", 2, 2)
|
|
pfUI.panel.right:SetPoint("BOTTOMRIGHT", pfUI.chat.right, "BOTTOMRIGHT", -2, 2)
|
|
pfUI.panel.right:SetBackdrop(pfUI.backdrop)
|
|
pfUI.panel.right:SetBackdropColor(0,0,0,.75)
|
|
|
|
pfUI.panel.right.hide = CreateFrame("Button", nil, pfUI.panel.right)
|
|
pfUI.panel.right.hide:ClearAllPoints()
|
|
pfUI.panel.right.hide:SetWidth(15)
|
|
pfUI.panel.right.hide:SetHeight(pfUI.panel.right:GetHeight())
|
|
pfUI.panel.right.hide:SetPoint("RIGHT", 0, 0)
|
|
pfUI.panel.right.hide:SetBackdrop(pfUI.backdrop)
|
|
pfUI.panel.right.hide.text = pfUI.panel.right.hide:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.right.hide.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.right.hide.text:ClearAllPoints()
|
|
pfUI.panel.right.hide.text:SetAllPoints(pfUI.panel.right.hide)
|
|
pfUI.panel.right.hide.text:SetPoint("LEFT", 0, 0)
|
|
pfUI.panel.right.hide.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.right.hide.text:SetText(" >")
|
|
pfUI.panel.right.hide:SetScript("OnClick", function()
|
|
if pfUI.chat.right:IsShown() then pfUI.chat.right:Hide() else pfUI.chat.right:Show() end
|
|
end)
|
|
|
|
pfUI.panel.right.left = CreateFrame("Frame", nil, pfUI.panel.right)
|
|
pfUI.panel.right.left:ClearAllPoints()
|
|
pfUI.panel.right.left:SetWidth(115)
|
|
pfUI.panel.right.left:SetHeight(pfUI.panel.right:GetHeight())
|
|
pfUI.panel.right.left:SetPoint("LEFT", 0, 0)
|
|
pfUI.panel.right.left.text = pfUI.panel.right.left:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.right.left.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.right.left.text:ClearAllPoints()
|
|
pfUI.panel.right.left.text:SetAllPoints(pfUI.panel.right.left)
|
|
pfUI.panel.right.left.text:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.right.left.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.right.left.text:SetText("[DUMMY]")
|
|
|
|
pfUI.panel.right.center = CreateFrame("Frame", nil, pfUI.panel.right)
|
|
pfUI.panel.right.center:ClearAllPoints()
|
|
pfUI.panel.right.center:SetWidth(115)
|
|
pfUI.panel.right.center:SetHeight(pfUI.panel.right:GetHeight())
|
|
pfUI.panel.right.center:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.right.center.text = pfUI.panel.right.center:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.right.center.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.right.center.text:ClearAllPoints()
|
|
pfUI.panel.right.center.text:SetAllPoints(pfUI.panel.right.center)
|
|
pfUI.panel.right.center.text:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.right.center.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.right.center.text:SetText("[DUMMY]")
|
|
|
|
pfUI.panel.right.right = CreateFrame("Frame", nil, pfUI.panel.right)
|
|
pfUI.panel.right.right:ClearAllPoints()
|
|
pfUI.panel.right.right:SetWidth(115)
|
|
pfUI.panel.right.right:SetHeight(pfUI.panel.right:GetHeight())
|
|
pfUI.panel.right.right:SetPoint("RIGHT", 0, 0)
|
|
pfUI.panel.right.right.text = pfUI.panel.right.right:CreateFontString("Status", "LOW", "GameFontNormal")
|
|
pfUI.panel.right.right.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", 9, "OUTLINE")
|
|
pfUI.panel.right.right.text:ClearAllPoints()
|
|
pfUI.panel.right.right.text:SetAllPoints(pfUI.panel.right.right)
|
|
pfUI.panel.right.right.text:SetPoint("CENTER", 0, 0)
|
|
pfUI.panel.right.right.text:SetFontObject(GameFontWhite)
|
|
pfUI.panel.right.right.text:SetText("[DUMMY]")
|