api: option to add shadows to frames

This commit is contained in:
shagu
2018-10-03 13:03:00 +02:00
parent 295438d414
commit 5ec895542e
3 changed files with 58 additions and 34 deletions
+3
View File
@@ -748,6 +748,9 @@ pfUI:RegisterModule("gui", function ()
CreateConfig(nil, this, T["Border Color"], C.appearance.border, "color", "color")
CreateConfig(update["mapreveal"], this, T["Map Reveal Color"], C.appearance.worldmap, "mapreveal_color", "color")
CreateConfig(nil, this) -- spacer
CreateConfig(nil, this, T["Enable Frame Shadow"], C.appearance.border, "shadow", "checkbox")
CreateConfig(nil, this, T["Frame Shadow Intensity"], C.appearance.border, "shadow_intensity", "dropdown", pfUI.gui.dropdowns.uf_debuff_indicator_size)
CreateConfig(nil, this) -- spacer
CreateConfig(nil, this, T["Global Border Size"], C.appearance.border, "default")
CreateConfig(nil, this, T["Action Bar Border Size"], C.appearance.border, "actionbars")
CreateConfig(nil, this, T["Unit Frame Border Size"], C.appearance.border, "unitframes")