diff --git a/TaosGroupTools/ui/CompactSwimlaneList.lua b/TaosGroupTools/ui/CompactSwimlaneList.lua
index 8feed06..5d7b793 100644
--- a/TaosGroupTools/ui/CompactSwimlaneList.lua
+++ b/TaosGroupTools/ui/CompactSwimlaneList.lua
@@ -333,7 +333,7 @@ function TGU_CompactSwimlaneList.SetControlActive()
CALLBACK_MANAGER:UnregisterCallback(TGU_PLAYER_DATA_CHANGED, TGU_CompactSwimlaneList.UpdatePlayer)
CALLBACK_MANAGER:UnregisterCallback(TGU_MOVABLE_CHANGED, TGU_CompactSwimlaneList.SetControlMovable)
CALLBACK_MANAGER:UnregisterCallback(TGU_SWIMLANE_ULTIMATE_GROUP_ID_CHANGED, TGU_CompactSwimlaneList.SetSwimlaneUltimate)
- CALLBACK_MANAGER:UnregisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_CompactSwimlaneList.SetControlHidden)
+ CALLBACK_MANAGER:UnregisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_CompactSwimlaneList.SetControlHidden)
-- Invis
TGU_CompactSwimlaneList.SetControlHidden(isHidden)
@@ -348,7 +348,7 @@ function TGU_CompactSwimlaneList.SetControlActive()
CALLBACK_MANAGER:RegisterCallback(TGU_PLAYER_DATA_CHANGED, TGU_CompactSwimlaneList.UpdatePlayer)
CALLBACK_MANAGER:RegisterCallback(TGU_MOVABLE_CHANGED, TGU_CompactSwimlaneList.SetControlMovable)
CALLBACK_MANAGER:RegisterCallback(TGU_SWIMLANE_ULTIMATE_GROUP_ID_CHANGED, TGU_CompactSwimlaneList.SetSwimlaneUltimate)
- CALLBACK_MANAGER:RegisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_CompactSwimlaneList.SetControlHidden)
+ CALLBACK_MANAGER:RegisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_CompactSwimlaneList.SetControlHidden)
end
end
diff --git a/TaosGroupTools/ui/GroupUltimateSelector.lua b/TaosGroupTools/ui/GroupUltimateSelector.lua
index 3ef8028..65c870a 100644
--- a/TaosGroupTools/ui/GroupUltimateSelector.lua
+++ b/TaosGroupTools/ui/GroupUltimateSelector.lua
@@ -157,7 +157,7 @@ function TGU_GroupUltimateSelector.SetControlActive()
if (isHidden) then
CALLBACK_MANAGER:UnregisterCallback(TGU_MOVABLE_CHANGED, TGU_GroupUltimateSelector.SetControlMovable)
CALLBACK_MANAGER:UnregisterCallback(TGU_STATIC_ULTIMATE_ID_CHANGED, TGU_GroupUltimateSelector.SetUltimateIcon)
- CALLBACK_MANAGER:UnregisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_GroupUltimateSelector.SetControlHidden)
+ CALLBACK_MANAGER:UnregisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_GroupUltimateSelector.SetControlHidden)
else
TGU_GroupUltimateSelector.SetControlMovable(TGU_SettingsHandler.SavedVariables.Movable)
TGU_GroupUltimateSelector.RestorePosition(TGU_SettingsHandler.SavedVariables.SelectorPosX, TGU_SettingsHandler.SavedVariables.SelectorPosY)
@@ -165,7 +165,7 @@ function TGU_GroupUltimateSelector.SetControlActive()
CALLBACK_MANAGER:RegisterCallback(TGU_MOVABLE_CHANGED, TGU_GroupUltimateSelector.SetControlMovable)
CALLBACK_MANAGER:RegisterCallback(TGU_STATIC_ULTIMATE_ID_CHANGED, TGU_GroupUltimateSelector.SetUltimateIcon)
- CALLBACK_MANAGER:RegisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_GroupUltimateSelector.SetControlHidden)
+ CALLBACK_MANAGER:RegisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_GroupUltimateSelector.SetControlHidden)
end
end
diff --git a/TaosGroupTools/ui/SimpleList.lua b/TaosGroupTools/ui/SimpleList.lua
index fbf0fb8..e6e00d4 100644
--- a/TaosGroupTools/ui/SimpleList.lua
+++ b/TaosGroupTools/ui/SimpleList.lua
@@ -263,7 +263,7 @@ function TGU_SimpleList.SetControlActive()
CALLBACK_MANAGER:UnregisterCallback(TGU_GROUP_CHANGED, TGU_SimpleList.RefreshList)
CALLBACK_MANAGER:UnregisterCallback(TGU_PLAYER_DATA_CHANGED, TGU_SimpleList.UpdatePlayer)
CALLBACK_MANAGER:UnregisterCallback(TGU_MOVABLE_CHANGED, TGU_SimpleList.SetControlMovable)
- CALLBACK_MANAGER:UnregisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_SimpleList.SetControlHidden)
+ CALLBACK_MANAGER:UnregisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_SimpleList.SetControlHidden)
else
TGU_SimpleList.SetControlMovable(TGU_SettingsHandler.SavedVariables.Movable)
TGU_SimpleList.RestorePosition(TGU_SettingsHandler.SavedVariables.PosX, TGU_SettingsHandler.SavedVariables.PosY)
@@ -274,7 +274,7 @@ function TGU_SimpleList.SetControlActive()
CALLBACK_MANAGER:RegisterCallback(TGU_GROUP_CHANGED, TGU_SimpleList.RefreshList)
CALLBACK_MANAGER:RegisterCallback(TGU_PLAYER_DATA_CHANGED, TGU_SimpleList.UpdatePlayer)
CALLBACK_MANAGER:RegisterCallback(TGU_MOVABLE_CHANGED, TGU_SimpleList.SetControlMovable)
- CALLBACK_MANAGER:RegisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_SimpleList.SetControlHidden)
+ CALLBACK_MANAGER:RegisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_SimpleList.SetControlHidden)
end
end
diff --git a/TaosGroupTools/ui/SwimlaneList.lua b/TaosGroupTools/ui/SwimlaneList.lua
index e76667a..cf3eabf 100644
--- a/TaosGroupTools/ui/SwimlaneList.lua
+++ b/TaosGroupTools/ui/SwimlaneList.lua
@@ -332,7 +332,7 @@ function TGU_SwimlaneList.SetControlActive()
CALLBACK_MANAGER:UnregisterCallback(TGU_PLAYER_DATA_CHANGED, TGU_SwimlaneList.UpdatePlayer)
CALLBACK_MANAGER:UnregisterCallback(TGU_MOVABLE_CHANGED, TGU_SwimlaneList.SetControlMovable)
CALLBACK_MANAGER:UnregisterCallback(TGU_SWIMLANE_ULTIMATE_GROUP_ID_CHANGED, TGU_SwimlaneList.SetSwimlaneUltimate)
- CALLBACK_MANAGER:UnregisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_SwimlaneList.SetControlHidden)
+ CALLBACK_MANAGER:UnregisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_SwimlaneList.SetControlHidden)
else
TGU_SwimlaneList.SetControlMovable(TGU_SettingsHandler.SavedVariables.Movable)
TGU_SwimlaneList.RestorePosition(TGU_SettingsHandler.SavedVariables.PosX, TGU_SettingsHandler.SavedVariables.PosY)
@@ -344,7 +344,7 @@ function TGU_SwimlaneList.SetControlActive()
CALLBACK_MANAGER:RegisterCallback(TGU_PLAYER_DATA_CHANGED, TGU_SwimlaneList.UpdatePlayer)
CALLBACK_MANAGER:RegisterCallback(TGU_MOVABLE_CHANGED, TGU_SwimlaneList.SetControlMovable)
CALLBACK_MANAGER:RegisterCallback(TGU_SWIMLANE_ULTIMATE_GROUP_ID_CHANGED, TGU_SwimlaneList.SetSwimlaneUltimate)
- CALLBACK_MANAGER:RegisterCallback(TUI_HUD_HIDDEN_STATE_CHANGED, TGU_SwimlaneList.SetControlHidden)
+ CALLBACK_MANAGER:RegisterCallback(TAO_HUD_HIDDEN_STATE_CHANGED, TGU_SwimlaneList.SetControlHidden)
end
end
diff --git a/TaosGroupTools/util/UiHelper.lua b/TaosGroupTools/util/UiHelper.lua
index 86c9c86..9365a67 100644
--- a/TaosGroupTools/util/UiHelper.lua
+++ b/TaosGroupTools/util/UiHelper.lua
@@ -15,10 +15,10 @@ if (TaosUiHelper == nil) then
TaosUiHelper.__index = TaosUiHelper
-- Global Callback Variables
- TUI_HUD_HIDDEN_STATE_CHANGED = "TUI-HudHiddenStateChange"
+ TAO_HUD_HIDDEN_STATE_CHANGED = "TAO-HudHiddenStateChange"
-- isHidden logic for hud scenes
- -- This logic will fire TUI_HUD_HIDDEN_STATE_CHANGED if hud scenes not visible:
+ -- This logic will fire TAO_HUD_HIDDEN_STATE_CHANGED if hud scenes not visible:
-- hud = true; hudui = true -> isHidden = true
-- hud = true; hudui = false -> isHidden = false
-- hud = false; hudui = true -> isHidden = false
@@ -42,7 +42,7 @@ if (TaosUiHelper == nil) then
if (isHidden ~= internalHudHiddenState) then
internalHudHiddenState = isHidden
- CALLBACK_MANAGER:FireCallbacks(TUI_HUD_HIDDEN_STATE_CHANGED, isHidden)
+ CALLBACK_MANAGER:FireCallbacks(TAO_HUD_HIDDEN_STATE_CHANGED, isHidden)
end
end