mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
unitframes: add option to resize raid marks
This commit is contained in:
@@ -210,6 +210,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "player", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "player", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "player", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "player", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "player", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "player", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "player", "width", "200")
|
||||
@@ -266,6 +267,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "target", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "target", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "target", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "target", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "target", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "target", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "target", "width", "200")
|
||||
@@ -323,6 +325,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "focus", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "focus", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "focus", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "focus", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "focus", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "focus", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "focus", "width", "120")
|
||||
@@ -379,6 +382,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "group", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "group", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "group", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "group", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "group", "portrait", "off")
|
||||
pfUI:UpdateConfig("unitframes", "group", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "group", "width", "164")
|
||||
@@ -436,6 +440,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "portrait", "off")
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "grouptarget", "width", "120")
|
||||
@@ -492,6 +497,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "portrait", "off")
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "grouppet", "width", "100")
|
||||
@@ -548,6 +554,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "raid", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "raid", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "raid", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "raid", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "raid", "portrait", "off")
|
||||
pfUI:UpdateConfig("unitframes", "raid", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "raid", "width", "50")
|
||||
@@ -604,6 +611,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "ttarget", "width", "100")
|
||||
@@ -660,6 +668,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "pet", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "pet", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "pet", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "pet", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "pet", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "pet", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "pet", "width", "100")
|
||||
@@ -716,6 +725,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "ptarget", "width", "100")
|
||||
@@ -772,6 +782,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "raidicon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "leadericon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "looticon", "1")
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "raidiconsize", "24")
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "portrait", "bar")
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "bartexture", "Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI:UpdateConfig("unitframes", "fallback", "width", "200")
|
||||
|
||||
+2
-2
@@ -446,8 +446,8 @@ function pfUI.uf:UpdateConfig()
|
||||
f.pvpIcon.texture:SetVertexColor(1,1,1,.5)
|
||||
f.pvpIcon:Hide()
|
||||
|
||||
f.raidIcon:SetWidth(24)
|
||||
f.raidIcon:SetHeight(24)
|
||||
f.raidIcon:SetWidth(f.config.raidiconsize)
|
||||
f.raidIcon:SetHeight(f.config.raidiconsize)
|
||||
f.raidIcon:SetPoint("TOP", f, "TOP", 0, 6)
|
||||
f.raidIcon.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\raidicons")
|
||||
f.raidIcon.texture:SetAllPoints(f.raidIcon)
|
||||
|
||||
+2
-1
@@ -1503,9 +1503,10 @@ pfUI:RegisterModule("gui", 20400, function ()
|
||||
CreateConfig(U[c], T["Status Bar Texture"], C.unitframes[c], "bartexture", "dropdown", pfUI.gui.dropdowns.uf_bartexture)
|
||||
CreateConfig(U[c], T["UnitFrame Spacing"], C.unitframes[c], "pspace")
|
||||
CreateConfig(U[c], T["Show PvP-Flag"], C.unitframes[c], "showPVP", "checkbox")
|
||||
CreateConfig(U[c], T["Show Raid Mark"], C.unitframes[c], "raidicon", "checkbox")
|
||||
CreateConfig(U[c], T["Show Loot Icon"], C.unitframes[c], "looticon", "checkbox")
|
||||
CreateConfig(U[c], T["Show Leader Icon"], C.unitframes[c], "leadericon", "checkbox")
|
||||
CreateConfig(U[c], T["Show Raid Mark"], C.unitframes[c], "raidicon", "checkbox")
|
||||
CreateConfig(U[c], T["Raid Mark Size"], C.unitframes[c], "raidiconsize")
|
||||
CreateConfig(U[c], T["Show Class Buff Indicators"], C.unitframes[c], "buff_indicator", "checkbox")
|
||||
|
||||
CreateConfig(U[c], T["Healthbar"], nil, nil, "header")
|
||||
|
||||
Reference in New Issue
Block a user