mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
buffwatch: add more color options
This commit is contained in:
+22
-7
@@ -1167,9 +1167,14 @@ pfUI:RegisterModule("gui", function ()
|
||||
if not this.setup then
|
||||
CreateConfig(update[c], this, T["Player Buffs"], nil, nil, "header")
|
||||
CreateConfig(nil, this, T["Enable Bar"], C.buffbar.pbuff, "enable", "checkbox")
|
||||
CreateConfig(nil, this, T["Use Unit Fonts"], C.buffbar.pbuff, "use_unitfonts", "checkbox")
|
||||
CreateConfig(nil, this, T["Sort Order"], C.buffbar.pbuff, "sort", "dropdown", pfUI.gui.dropdowns.buffbarsort)
|
||||
CreateConfig(nil, this, T["Custom Color"], C.buffbar.pbuff, "color", "color")
|
||||
CreateConfig(nil, this, T["Automatic Color"], C.buffbar.pbuff, "autocolor", "checkbox")
|
||||
CreateConfig(nil, this, T["Background Color"], C.buffbar.pbuff, "color", "color")
|
||||
CreateConfig(nil, this, T["Border Color"], C.buffbar.pbuff, "bordercolor", "color")
|
||||
CreateConfig(nil, this, T["Text Color"], C.buffbar.pbuff, "textcolor", "color")
|
||||
CreateConfig(nil, this, T["Automatic Background Color"], C.buffbar.pbuff, "dtypebg", "checkbox")
|
||||
CreateConfig(nil, this, T["Automatic Border Color"], C.buffbar.pbuff, "dtypeborder", "checkbox")
|
||||
CreateConfig(nil, this, T["Automatic Text Color"], C.buffbar.pbuff, "dtypetext", "checkbox")
|
||||
CreateConfig(nil, this, T["Buffbar Width"], C.buffbar.pbuff, "width")
|
||||
CreateConfig(nil, this, T["Buffbar Height"], C.buffbar.pbuff, "height")
|
||||
CreateConfig(nil, this, T["Filter Mode"], C.buffbar.pbuff, "filter", "dropdown", pfUI.gui.dropdowns.buffbarfilter)
|
||||
@@ -1179,9 +1184,14 @@ pfUI:RegisterModule("gui", function ()
|
||||
|
||||
CreateConfig(update[c], this, T["Player Debuffs"], nil, nil, "header")
|
||||
CreateConfig(nil, this, T["Enable Bar"], C.buffbar.pdebuff, "enable", "checkbox")
|
||||
CreateConfig(nil, this, T["Use Unit Fonts"], C.buffbar.pdebuff, "use_unitfonts", "checkbox")
|
||||
CreateConfig(nil, this, T["Sort Order"], C.buffbar.pdebuff, "sort", "dropdown", pfUI.gui.dropdowns.buffbarsort)
|
||||
CreateConfig(nil, this, T["Custom Color"], C.buffbar.pdebuff, "color", "color")
|
||||
CreateConfig(nil, this, T["Automatic Color"], C.buffbar.pdebuff, "autocolor", "checkbox")
|
||||
CreateConfig(nil, this, T["Background Color"], C.buffbar.pdebuff, "color", "color")
|
||||
CreateConfig(nil, this, T["Border Color"], C.buffbar.pdebuff, "bordercolor", "color")
|
||||
CreateConfig(nil, this, T["Text Color"], C.buffbar.pdebuff, "textcolor", "color")
|
||||
CreateConfig(nil, this, T["Automatic Background Color"], C.buffbar.pdebuff, "dtypebg", "checkbox")
|
||||
CreateConfig(nil, this, T["Automatic Border Color"], C.buffbar.pdebuff, "dtypeborder", "checkbox")
|
||||
CreateConfig(nil, this, T["Automatic Text Color"], C.buffbar.pdebuff, "dtypetext", "checkbox")
|
||||
CreateConfig(nil, this, T["Buffbar Width"], C.buffbar.pdebuff, "width")
|
||||
CreateConfig(nil, this, T["Buffbar Height"], C.buffbar.pdebuff, "height")
|
||||
CreateConfig(nil, this, T["Filter Mode"], C.buffbar.pdebuff, "filter", "dropdown", pfUI.gui.dropdowns.buffbarfilter)
|
||||
@@ -1191,9 +1201,14 @@ pfUI:RegisterModule("gui", function ()
|
||||
|
||||
CreateConfig(update[c], this, T["Target Debuffs"], nil, nil, "header")
|
||||
CreateConfig(nil, this, T["Enable Bar"], C.buffbar.tdebuff, "enable", "checkbox")
|
||||
CreateConfig(nil, this, T["Use Unit Fonts"], C.buffbar.tdebuff, "use_unitfonts", "checkbox")
|
||||
CreateConfig(nil, this, T["Sort Order"], C.buffbar.tdebuff, "sort", "dropdown", pfUI.gui.dropdowns.buffbarsort)
|
||||
CreateConfig(nil, this, T["Custom Color"], C.buffbar.tdebuff, "color", "color")
|
||||
CreateConfig(nil, this, T["Automatic Color"], C.buffbar.tdebuff, "autocolor", "checkbox")
|
||||
CreateConfig(nil, this, T["Background Color"], C.buffbar.tdebuff, "color", "color")
|
||||
CreateConfig(nil, this, T["Border Color"], C.buffbar.tdebuff, "bordercolor", "color")
|
||||
CreateConfig(nil, this, T["Text Color"], C.buffbar.tdebuff, "textcolor", "color")
|
||||
CreateConfig(nil, this, T["Automatic Background Color"], C.buffbar.tdebuff, "dtypebg", "checkbox")
|
||||
CreateConfig(nil, this, T["Automatic Border Color"], C.buffbar.tdebuff, "dtypeborder", "checkbox")
|
||||
CreateConfig(nil, this, T["Automatic Text Color"], C.buffbar.tdebuff, "dtypetext", "checkbox")
|
||||
CreateConfig(nil, this, T["Buffbar Width"], C.buffbar.tdebuff, "width")
|
||||
CreateConfig(nil, this, T["Buffbar Height"], C.buffbar.tdebuff, "height")
|
||||
CreateConfig(nil, this, T["Filter Mode"], C.buffbar.tdebuff, "filter", "dropdown", pfUI.gui.dropdowns.buffbarfilter)
|
||||
@@ -1517,4 +1532,4 @@ pfUI:RegisterModule("gui", function ()
|
||||
-- make those available to external modules
|
||||
pfUI.gui.CreateConfig = CreateConfig
|
||||
pfUI.gui.update = update
|
||||
end)
|
||||
end)
|
||||
Reference in New Issue
Block a user