mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
unitframes: add options to disable text-colors
This commit is contained in:
@@ -935,6 +935,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.player, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.player, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.player, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.player, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.player, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.player, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.player, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable PvP Icon", C.unitframes.player, "showPVP", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Align PvP Icon to Minimap", C.unitframes.player, "showPVPMinimap", "checkbox")
|
||||
@@ -964,6 +968,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.target, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.target, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.target, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.target, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.target, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.target, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.target, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Focus", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Player Frame", C.unitframes.focus, "visible", "checkbox")
|
||||
@@ -988,6 +996,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.focus, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.focus, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.focus, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.focus, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.focus, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.focus, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.focus, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Group", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Group Frames", C.unitframes.group, "visible", "checkbox")
|
||||
@@ -1013,6 +1025,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.group, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.group, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Hide Group Frames When In A Raid", C.unitframes.group, "hide_in_raid", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.group, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.group, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.group, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.group, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Group Target", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Group Target Frames", C.unitframes.grouptarget, "visible", "checkbox")
|
||||
@@ -1037,6 +1053,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.grouptarget, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.grouptarget, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.grouptarget, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.grouptarget, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.grouptarget, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.grouptarget, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.grouptarget, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Group Pet", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Group Pet Frames", C.unitframes.grouppet, "visible", "checkbox")
|
||||
@@ -1061,6 +1081,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.grouppet, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.grouppet, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.grouppet, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.grouppet, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.grouppet, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.grouppet, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.grouppet, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Raid", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Raid Frames", C.unitframes.raid, "visible", "checkbox")
|
||||
@@ -1085,6 +1109,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.raid, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.raid, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.raid, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.raid, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.raid, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.raid, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.raid, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Target of Target", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Target of Target Frame", C.unitframes.ttarget, "visible", "checkbox")
|
||||
@@ -1109,6 +1137,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.ttarget, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.ttarget, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.ttarget, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.ttarget, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.ttarget, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.ttarget, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.ttarget, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Pet", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Pet Frame", C.unitframes.player, "visible", "checkbox")
|
||||
@@ -1133,6 +1165,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.pet, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.pet, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.pet, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.pet, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.pet, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.pet, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.pet, "classcolor", "checkbox")
|
||||
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Custom Units", nil, nil, "header")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Display Custom Frames", C.unitframes.fallback, "visible", "checkbox")
|
||||
@@ -1157,6 +1193,10 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Left Text", C.unitframes.fallback, "txtleft", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Center Text", C.unitframes.fallback, "txtcenter", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Right Text", C.unitframes.fallback, "txtright", "dropdown", txtValues)
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Health Color in Text", C.unitframes.fallback, "healthcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Power Color in Text", C.unitframes.fallback, "powercolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Level Color in Text", C.unitframes.fallback, "levelcolor", "checkbox")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.uf, "Enable Class Color in Text", C.unitframes.fallback, "classcolor", "checkbox")
|
||||
|
||||
-- action bar
|
||||
pfUI.gui.bar = pfUI.gui:CreateConfigTab("Action Bar")
|
||||
|
||||
Reference in New Issue
Block a user