mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-13 17:00:49 +00:00
unitframes: health & power texts
This commit is contained in:
+54
-24
@@ -21,20 +21,35 @@ pfUI:RegisterModule("uf_tukui", function ()
|
||||
pfUI.uf.player.caption:SetPoint("BOTTOMRIGHT",pfUI.uf.player, "BOTTOMRIGHT",0, 0)
|
||||
pfUI.uf.player.caption:SetPoint("BOTTOMLEFT",pfUI.uf.player, "BOTTOMLEFT",0, 0)
|
||||
|
||||
pfUI.uf.player.leftText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.leftText:ClearAllPoints()
|
||||
pfUI.uf.player.leftText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.leftText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
pfUI.uf.player.hpLeftText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.hpLeftText:ClearAllPoints()
|
||||
pfUI.uf.player.hpLeftText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.hpLeftText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.player.centerText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.centerText:ClearAllPoints()
|
||||
pfUI.uf.player.centerText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.centerText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
pfUI.uf.player.hpCenterText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.hpCenterText:ClearAllPoints()
|
||||
pfUI.uf.player.hpCenterText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.hpCenterText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.player.rightText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.rightText:ClearAllPoints()
|
||||
pfUI.uf.player.rightText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.rightText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
pfUI.uf.player.hpRightText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.hpRightText:ClearAllPoints()
|
||||
pfUI.uf.player.hpRightText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.hpRightText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.player.powerLeftText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.powerLeftText:ClearAllPoints()
|
||||
pfUI.uf.player.powerLeftText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.powerLeftText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.player.powerCenterText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.powerCenterText:ClearAllPoints()
|
||||
pfUI.uf.player.powerCenterText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.powerCenterText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.player.powerRightText:SetParent(pfUI.uf.player.caption)
|
||||
pfUI.uf.player.powerRightText:ClearAllPoints()
|
||||
pfUI.uf.player.powerRightText:SetPoint("TOPLEFT",pfUI.uf.player.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.player.powerRightText:SetPoint("BOTTOMRIGHT",pfUI.uf.player.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.castbar.player:SetAllPoints(pfUI.uf.player.caption)
|
||||
UpdateMovable(pfUI.castbar.player)
|
||||
@@ -50,20 +65,35 @@ pfUI:RegisterModule("uf_tukui", function ()
|
||||
pfUI.uf.target.caption:SetPoint("BOTTOMRIGHT",pfUI.uf.target,"BOTTOMRIGHT", 0, 0)
|
||||
pfUI.uf.target.caption:SetPoint("BOTTOMLEFT",pfUI.uf.target,"BOTTOMLEFT", 0, 0)
|
||||
|
||||
pfUI.uf.target.leftText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.leftText:ClearAllPoints()
|
||||
pfUI.uf.target.leftText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.leftText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
pfUI.uf.target.hpLeftText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.hpLeftText:ClearAllPoints()
|
||||
pfUI.uf.target.hpLeftText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.hpLeftText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.target.centerText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.centerText:ClearAllPoints()
|
||||
pfUI.uf.target.centerText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.centerText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
pfUI.uf.target.hpCenterText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.hpCenterText:ClearAllPoints()
|
||||
pfUI.uf.target.hpCenterText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.hpCenterText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.target.rightText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.rightText:ClearAllPoints()
|
||||
pfUI.uf.target.rightText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.rightText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
pfUI.uf.target.hpRightText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.hpRightText:ClearAllPoints()
|
||||
pfUI.uf.target.hpRightText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.hpRightText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.target.powerLeftText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.powerLeftText:ClearAllPoints()
|
||||
pfUI.uf.target.powerLeftText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.powerLeftText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.target.powerCenterText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.powerCenterText:ClearAllPoints()
|
||||
pfUI.uf.target.powerCenterText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.powerCenterText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.uf.target.powerRightText:SetParent(pfUI.uf.target.caption)
|
||||
pfUI.uf.target.powerRightText:ClearAllPoints()
|
||||
pfUI.uf.target.powerRightText:SetPoint("TOPLEFT",pfUI.uf.target.caption, "TOPLEFT", default_border, 1)
|
||||
pfUI.uf.target.powerRightText:SetPoint("BOTTOMRIGHT",pfUI.uf.target.caption, "BOTTOMRIGHT", -default_border, 0)
|
||||
|
||||
pfUI.castbar.target:SetAllPoints(pfUI.uf.target.caption)
|
||||
UpdateMovable(pfUI.castbar.target)
|
||||
|
||||
Reference in New Issue
Block a user