mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
added /pfui command to show gui
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
SLASH_RELOAD1 = '/rl'; -- 3.
|
||||
function SlashCmdList.RELOAD(msg, editbox) -- 4.
|
||||
SLASH_RELOAD1 = '/rl';
|
||||
function SlashCmdList.RELOAD(msg, editbox)
|
||||
ReloadUI()
|
||||
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.backdrop = {
|
||||
bgFile = "Interface\\AddOns\\pfUI\\img\\bg", tile = true, tileSize = 8,
|
||||
|
||||
Reference in New Issue
Block a user