core: add option to change unit name font

Allows changing the font of the unit names, PvP ranks and guild names
(above players' heads) in the general settings. Requires game restart
to be applied.
This commit is contained in:
Pizzahawaiii
2022-12-26 10:33:26 +01:00
committed by GitHub
parent 06a6e1c49b
commit 0c337d0152
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -1453,6 +1453,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(nil, T["Enable Region Compatible Font"], C.global, "force_region", "checkbox")
CreateConfig(nil, T["Standard Text Font"], C.global, "font_default", "dropdown", pfUI.gui.dropdowns.fonts)
CreateConfig(nil, T["Standard Text Font Size"], C.global, "font_size")
CreateConfig(nil, T["Unit Name Font"], C.global, "font_unit_name", "dropdown", pfUI.gui.dropdowns.fonts)
CreateConfig(nil, T["Scrolling Combat Text Font"], C.global, "font_combat", "dropdown", combatfonts)
CreateConfig(U["pixelperfect"], T["Enable UI-Scale"], C.global, "pixelperfect", "dropdown", pfUI.gui.dropdowns.scaling)
CreateConfig(nil, T["Enable Offscreen Frame Positions"], C.global, "offscreen", "checkbox")