backdrop api: rework every single frame sizing

This commit breaks alot of compatibility and maybe
other things too. The change was necessary, because
the old framework ran up against its limits.
A lot of new configuration options are now possible
and some of them were already added.
This commit is contained in:
shagu
2016-11-22 00:04:14 +01:00
parent 32f3b15990
commit 8891a1df44
28 changed files with 692 additions and 682 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ pfUI:RegisterModule("uf_tukui", function ()
if pfUI_config.unitframes.layout == "tukui" then
pfUI.uf.player.caption = CreateFrame("Frame",nil, pfUI.uf.player)
pfUI.uf.player.caption:SetBackdrop(pfUI.backdrop)
pfUI.utils:CreateBackdrop( pfUI.uf.player.caption)
pfUI.uf.player.caption:SetHeight(pfUI_config.global.font_size * 2)
pfUI.uf.player.caption:SetPoint("TOPRIGHT",pfUI.uf.player,"BOTTOMRIGHT",0,-1)
pfUI.uf.player.caption:SetPoint("TOPLEFT",pfUI.uf.player,"BOTTOMLEFT",0,-1)
@@ -16,7 +16,7 @@ pfUI:RegisterModule("uf_tukui", function ()
pfUI.uf.player.powerText:SetPoint("LEFT",pfUI.uf.player.caption, "LEFT", 5, 0)
pfUI.uf.target.caption = CreateFrame("Frame",nil, pfUI.uf.target)
pfUI.uf.target.caption:SetBackdrop(pfUI.backdrop)
pfUI.utils:CreateBackdrop( pfUI.uf.target.caption)
pfUI.uf.target.caption:SetHeight(pfUI_config.global.font_size * 2)
pfUI.uf.target.caption:SetPoint("TOPRIGHT",pfUI.uf.target,"BOTTOMRIGHT",0,-1)
pfUI.uf.target.caption:SetPoint("TOPLEFT",pfUI.uf.target,"BOTTOMLEFT",0,-1)