add option to change raidicon size on nameplates

This commit is contained in:
shagu
2016-10-26 23:05:54 +02:00
parent 8703c22559
commit ed3f021d2a
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -47,6 +47,7 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("nameplates", nil, "showcastbar", "1")
pfUI:UpdateConfig("nameplates", nil, "showdebuffs", "0")
pfUI:UpdateConfig("nameplates", nil, "clickthrough", "0")
pfUI:UpdateConfig("nameplates", nil, "raidiconsize", "16")
pfUI:UpdateConfig("thirdparty", "dpsmate", "enable", "1")
pfUI:UpdateConfig("thirdparty", "wim", "enable", "1")
pfUI:UpdateConfig("thirdparty", "healcomm","enable", "1")
+1
View File
@@ -567,6 +567,7 @@ pfUI:RegisterModule("gui", function ()
pfUI.gui:CreateConfig(pfUI.gui.nameplates, "Show castbars:", pfUI_config.nameplates, "showcastbar", "checkbox")
pfUI.gui:CreateConfig(pfUI.gui.nameplates, "Show debuffs:", pfUI_config.nameplates, "showdebuffs", "checkbox")
pfUI.gui:CreateConfig(pfUI.gui.nameplates, "Enable Clickthrough:", pfUI_config.nameplates, "clickthrough", "checkbox")
pfUI.gui:CreateConfig(pfUI.gui.nameplates, "Raidicon size:", pfUI_config.nameplates, "raidiconsize")
-- thirdparty
pfUI.gui.thirdparty = pfUI.gui:CreateConfigTab("Thirdparty")
+2 -2
View File
@@ -94,8 +94,8 @@ pfUI:RegisterModule("nameplates", function ()
-- raidtarget
raidicon:ClearAllPoints()
raidicon:SetWidth(15)
raidicon:SetHeight(15)
raidicon:SetWidth(pfUI_config.nameplates.raidiconsize)
raidicon:SetHeight(pfUI_config.nameplates.raidiconsize)
raidicon:SetPoint("CENTER", healthbar, "CENTER", 0, -5)
-- debuffs