infight: add option to set glow intensity

This commit is contained in:
shagu
2020-06-15 19:12:35 +02:00
parent 64fb0fa323
commit 146a0a2eb5
3 changed files with 15 additions and 4 deletions
+8
View File
@@ -1118,6 +1118,13 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
"TOP:" .. T["Top"],
"RIGHT:" .. T["Right"]
},
["glowintensity"] = {
"8:" .. T["Tiny"],
"16:" .. T["Small"],
"32:" .. T["Medium"],
"64:" .. T["Large"],
"128:" .. T["Huge"],
},
}
-- add locale dependent client fonts to the list
@@ -1454,6 +1461,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(U["infight"], T["Enable Combat Glow Effects On Screen Edges"], C.appearance.infight, "screen", "checkbox")
CreateConfig(U["infight"], T["Enable Aggro Glow Effects On Screen Edges"], C.appearance.infight, "aggro", "checkbox")
CreateConfig(U["infight"], T["Enable Low Health Glow Effects On Screen Edges"], C.appearance.infight, "health", "checkbox")
CreateConfig(U["infight"], T["Screen Edge Glow Intensity"], C.appearance.infight, "intensity", "dropdown", pfUI.gui.dropdowns.glowintensity)
end)
CreateGUIEntry(T["Settings"], T["Cooldown"], function()