mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-02 19:50:02 +00:00
custom settings for player and target
This commit is contained in:
+3
-3
@@ -2,8 +2,8 @@ PlayerFrame:Hide()
|
||||
PlayerFrame:UnregisterAllEvents()
|
||||
|
||||
pfUI.uf.player = CreateFrame("Button",nil,UIParent)
|
||||
pfUI.uf.player:SetWidth(pfUI.config.unitframes.width)
|
||||
pfUI.uf.player:SetHeight(pfUI.config.unitframes.height+pfUI.config.unitframes.pheight)
|
||||
pfUI.uf.player:SetWidth(pfUI.config.unitframes.player.width)
|
||||
pfUI.uf.player:SetHeight(pfUI.config.unitframes.player.height+pfUI.config.unitframes.player.pheight)
|
||||
pfUI.uf.player:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOM", -75, 125)
|
||||
pfUI.uf.player:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
|
||||
pfUI.uf.player:SetScript("OnClick", function ()
|
||||
@@ -103,7 +103,7 @@ pfUI.uf.player:SetScript("OnUpdate", function()
|
||||
|
||||
pfUI.uf.player.hp = CreateFrame("Frame",nil, pfUI.uf.player)
|
||||
pfUI.uf.player.hp:SetBackdrop(pfUI.backdrop)
|
||||
pfUI.uf.player.hp:SetHeight(pfUI.config.unitframes.height)
|
||||
pfUI.uf.player.hp:SetHeight(pfUI.config.unitframes.player.height)
|
||||
pfUI.uf.player.hp:SetPoint("TOPRIGHT",pfUI.uf.player,"TOPRIGHT")
|
||||
pfUI.uf.player.hp:SetPoint("TOPLEFT",pfUI.uf.player,"TOPLEFT")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user