mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 13:30:50 +00:00
added /pfui command to show gui
This commit is contained in:
@@ -1,8 +1,17 @@
|
|||||||
SLASH_RELOAD1 = '/rl'; -- 3.
|
SLASH_RELOAD1 = '/rl';
|
||||||
function SlashCmdList.RELOAD(msg, editbox) -- 4.
|
function SlashCmdList.RELOAD(msg, editbox)
|
||||||
ReloadUI()
|
ReloadUI()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
SLASH_PFUI1 = '/pfui';
|
||||||
|
function SlashCmdList.PFUI(msg, editbox)
|
||||||
|
if pfUI.gui:IsShown() then
|
||||||
|
pfUI.gui:Hide()
|
||||||
|
else
|
||||||
|
pfUI.gui:Show()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
pfUI = CreateFrame("Frame",nil,UIParent)
|
pfUI = CreateFrame("Frame",nil,UIParent)
|
||||||
pfUI.backdrop = {
|
pfUI.backdrop = {
|
||||||
bgFile = "Interface\\AddOns\\pfUI\\img\\bg", tile = true, tileSize = 8,
|
bgFile = "Interface\\AddOns\\pfUI\\img\\bg", tile = true, tileSize = 8,
|
||||||
|
|||||||
Reference in New Issue
Block a user