mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
actionbar: add option for pet indicators
This commit is contained in:
@@ -544,6 +544,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("bars", nil, "hunterbar", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "keydown", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "pagemaster", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "showcastable", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "hide_time", "1")
|
||||
pfUI:UpdateConfig("bars", nil, "hide_actionmain", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "hide_bottomleft", "0")
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["deDE"] = {
|
||||
["Show Hots as Buff Indicators"] = nil,
|
||||
["Show Hots of all Classes"] = nil,
|
||||
["Show Inactive Tracking"] = nil,
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = nil,
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["enUS"] = {
|
||||
["Show Hots as Buff Indicators"] = nil,
|
||||
["Show Hots of all Classes"] = nil,
|
||||
["Show Inactive Tracking"] = nil,
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = nil,
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["esES"] = {
|
||||
["Show Hots as Buff Indicators"] = "Mostrar Curación Periódica (HoTs) como Indicador de Buffs",
|
||||
["Show Hots of all Classes"] = "Mostrar Curación Periódica (HoTs) de Todas las Clases",
|
||||
["Show Inactive Tracking"] = "Mostrar Rastreo Inactivo",
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = "Mostrar Texto de Macro",
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["frFR"] = {
|
||||
["Show Hots as Buff Indicators"] = "Afficher les soins sur la durée en tant qu'indicateur d'amélioration",
|
||||
["Show Hots of all Classes"] = "Afficher les soins sur la durée de chaque classe",
|
||||
["Show Inactive Tracking"] = nil,
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = "Afficher le texte des macros",
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["koKR"] = {
|
||||
["Show Hots as Buff Indicators"] = "핫버프 표시기 보기",
|
||||
["Show Hots of all Classes"] = "모든 클래스 핫버프 보기",
|
||||
["Show Inactive Tracking"] = nil,
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = "매크로 텍스트 표시",
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["ruRU"] = {
|
||||
["Show Hots as Buff Indicators"] = "Показать лечение со временем (HoT) как индикаторы баффов",
|
||||
["Show Hots of all Classes"] = "Показать лечение со временем (HoT) всех классов",
|
||||
["Show Inactive Tracking"] = "Показать неактивное отслеживание",
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = "Показать всплывающую подсказку при наведении мыши на предмет",
|
||||
["Show Macro Text"] = "Показать текст макросов",
|
||||
["Show Meters By Default"] = "Показать счетчики по умолчанию",
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["zhCN"] = {
|
||||
["Show Hots as Buff Indicators"] = "在框架的Buff指示器显示Hot",
|
||||
["Show Hots of all Classes"] = "显示所有职业的Hot",
|
||||
["Show Inactive Tracking"] = "显示已激活的追踪图标",
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = "显示宏的名字",
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
Vendored
+1
@@ -385,6 +385,7 @@ pfUI_translation["zhTW"] = {
|
||||
["Show Hots as Buff Indicators"] = "在框架的Buff指示器顯示Hot",
|
||||
["Show Hots of all Classes"] = "顯示所有職業的Hot",
|
||||
["Show Inactive Tracking"] = nil,
|
||||
["Show Indicator For Castable Pet Actions"] = nil,
|
||||
["Show Items On Mouseover"] = nil,
|
||||
["Show Macro Text"] = "顯示巨集的名字",
|
||||
["Show Meters By Default"] = nil,
|
||||
|
||||
@@ -572,7 +572,14 @@ pfUI:RegisterModule("actionbar", function ()
|
||||
texture :SetAlpha(0)
|
||||
|
||||
local castable = _G["PetActionButton"..i..'AutoCastable']
|
||||
castable:SetAlpha(0)
|
||||
if C.bars.showcastable == "1" then
|
||||
castable:SetWidth(C.bars.icon_size*1.5)
|
||||
castable:SetHeight(C.bars.icon_size*1.5)
|
||||
castable:SetParent(button)
|
||||
castable:SetTexCoord(.08, .9, .08, .9)
|
||||
else
|
||||
castable:SetAlpha(0)
|
||||
end
|
||||
|
||||
local border = _G["PetActionButton"..i..'Border']
|
||||
border:SetAlpha(0)
|
||||
|
||||
@@ -1010,6 +1010,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(nil, this, T["Enable Range Based Auto Paging (Hunter)"], C.bars, "hunterbar", "checkbox")
|
||||
CreateConfig(nil, this, T["Enable Action On Key Down"], C.bars, "keydown", "checkbox")
|
||||
CreateConfig(nil, this, T["Switch Bar On Meta Key Press"], C.bars, "pagemaster", "checkbox")
|
||||
CreateConfig(nil, this, T["Show Indicator For Castable Pet Actions"], C.bars, "showcastable", "checkbox")
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user