unitframes: add option to show group in raidframes

This commit is contained in:
shagu
2017-09-08 18:09:54 +02:00
parent 339e47adbd
commit 509d60ef6e
10 changed files with 46 additions and 17 deletions
+3 -2
View File
@@ -1119,7 +1119,9 @@ pfUI:RegisterModule("gui", function ()
pfUI.gui.tabs.gf.tabs.general = pfUI.gui.tabs.gf.tabs:CreateChildFrame(T["General"], 70)
pfUI.gui.tabs.gf.tabs.general:SetScript("OnShow", function()
if not this.setup then
CreateConfig(this, T["Show Self as Group Member"], C.unitframes, "selfingroup", "checkbox")
CreateConfig(this, T["Show Self in Group Frames"], C.unitframes, "selfingroup", "checkbox")
CreateConfig(this, T["Hide Group Frames While In Raid"], C.unitframes.group, "hide_in_raid", "checkbox")
CreateConfig(this, T["Use Raid Frames To Display Group Members"], C.unitframes, "raidforgroup", "checkbox")
CreateConfig(this, T["Show Hots as Buff Indicators"], C.unitframes, "show_hots", "checkbox")
CreateConfig(this, T["Show Hots of all Classes"], C.unitframes, "all_hots", "checkbox")
CreateConfig(this, T["Show Procs as Buff Indicators"], C.unitframes, "show_procs", "checkbox")
@@ -1196,7 +1198,6 @@ pfUI:RegisterModule("gui", function ()
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.group, "debuff_indicator", "checkbox")
CreateConfig(this, T["Enable Clickcast"], C.unitframes.group, "clickcast", "checkbox")
CreateConfig(this, T["Enable Range Fading"], C.unitframes.group, "faderange", "checkbox")
CreateConfig(this, T["Hide Group Frames When In A Raid"], C.unitframes.group, "hide_in_raid", "checkbox")
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.group, "healthcolor", "checkbox")
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.group, "powercolor", "checkbox")
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.group, "levelcolor", "checkbox")