mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
unitframes: health & power texts
This commit is contained in:
+72
-27
@@ -893,13 +893,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.player, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.player, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.player, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.player, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.player, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.player, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.player, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.player, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.player, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.player, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.player, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.player, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.player, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.player, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.player, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.player, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -928,13 +933,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.target, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.target, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.target, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.target, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.target, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.target, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.target, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.target, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.target, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.target, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.target, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.target, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.target, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.target, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.target, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.target, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -962,13 +972,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.ttarget, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.ttarget, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.ttarget, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.ttarget, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.ttarget, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.ttarget, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.ttarget, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.ttarget, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.ttarget, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.ttarget, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.ttarget, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.ttarget, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.ttarget, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.ttarget, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.ttarget, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.ttarget, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -996,13 +1011,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.pet, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.pet, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.pet, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.pet, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.pet, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.pet, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.pet, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.pet, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.pet, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.pet, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.pet, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.pet, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.pet, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.pet, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.pet, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.pet, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -1030,13 +1050,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.focus, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.focus, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.focus, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.focus, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.focus, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.focus, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.focus, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.focus, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.focus, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.focus, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.focus, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.focus, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.focus, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.focus, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.focus, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.focus, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -1086,13 +1111,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.raid, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.raid, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.raid, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.raid, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.raid, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.raid, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.raid, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.raid, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.raid, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.raid, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.raid, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.raid, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.raid, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.raid, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.raid, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.raid, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -1120,14 +1150,19 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.group, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.group, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.group, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.group, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.group, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.group, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Hide Group Frames When In A Raid"], C.unitframes.group, "hide_in_raid", "checkbox")
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.group, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.group, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.group, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.group, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.group, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.group, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.group, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.group, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.group, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.group, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -1155,13 +1190,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.grouptarget, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.grouptarget, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.grouptarget, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.grouptarget, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.grouptarget, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.grouptarget, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.grouptarget, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.grouptarget, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.grouptarget, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.grouptarget, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.grouptarget, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.grouptarget, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.grouptarget, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.grouptarget, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.grouptarget, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.grouptarget, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
@@ -1189,13 +1229,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Enable Debuff Indicators"], C.unitframes.grouppet, "debuff_indicator", "checkbox")
|
||||
CreateConfig(this, T["Enable Clickcast"], C.unitframes.grouppet, "clickcast", "checkbox")
|
||||
CreateConfig(this, T["Enable Range Fading"], C.unitframes.grouppet, "faderange", "checkbox")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.grouppet, "txtleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.grouppet, "txtcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.grouppet, "txtright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Enable Health Color in Text"], C.unitframes.grouppet, "healthcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Power Color in Text"], C.unitframes.grouppet, "powercolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Level Color in Text"], C.unitframes.grouppet, "levelcolor", "checkbox")
|
||||
CreateConfig(this, T["Enable Class Color in Text"], C.unitframes.grouppet, "classcolor", "checkbox")
|
||||
CreateConfig(this, T["Health Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.grouppet, "txthpleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.grouppet, "txthpcenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.grouppet, "txthpright", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Power Bar Texts"], nil, nil, "header")
|
||||
CreateConfig(this, T["Left Text"], C.unitframes.grouppet, "txtpowerleft", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Center Text"], C.unitframes.grouppet, "txtpowercenter", "dropdown", dropdown_unitframes_text)
|
||||
CreateConfig(this, T["Right Text"], C.unitframes.grouppet, "txtpowerright", "dropdown", dropdown_unitframes_text)
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user