mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
api: move infobox into ui-widgets
This commit is contained in:
@@ -38,7 +38,7 @@ pfUI:RegisterModule("hoverbind", function ()
|
||||
pfUI.hoverbind.edit:Show()
|
||||
|
||||
local txt = T["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."]
|
||||
pfUI.info:ShowInfoBox(txt, 30, pfUI.hoverbind.edit)
|
||||
CreateInfoBox(txt, 30, pfUI.hoverbind.edit)
|
||||
end)
|
||||
|
||||
pfUI.hoverbind:SetScript("OnHide",function()
|
||||
|
||||
+1
-1
@@ -309,7 +309,7 @@ pfUI:RegisterModule("unlock", function ()
|
||||
|
||||
function pfUI.unlock:UnlockFrames()
|
||||
local txt = T["|cff33ffccUnlock Mode|r\nThis mode allows you to move frames by dragging them using the mouse cursor. Frames can be scaled by scrolling up and down.\nTo scale multiple frames at once (eg. raidframes), hold down the shift key while scrolling. Click into an empty space to go back to the pfUI menu."]
|
||||
pfUI.info:ShowInfoBox(txt, 15, pfUI.unlock)
|
||||
CreateInfoBox(txt, 15, pfUI.unlock)
|
||||
|
||||
pfUI.unlock:Show()
|
||||
pfUI.gui:Hide()
|
||||
|
||||
Reference in New Issue
Block a user