From 0e8822ae1bbc119ec78ef217d2f5350240bf6784 Mon Sep 17 00:00:00 2001 From: Arrvis the Lion Date: Thu, 25 Mar 2021 14:39:51 +0300 Subject: [PATCH] Made announcements in "custom" format movable on the screen --- RaidNotifier.lua | 1 + RaidNotifier.xml | 11 ++++++++-- Settings.lua | 10 +++++++++ UI.lua | 56 ++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 74 insertions(+), 4 deletions(-) diff --git a/RaidNotifier.lua b/RaidNotifier.lua index 6b284ba..2b11163 100644 --- a/RaidNotifier.lua +++ b/RaidNotifier.lua @@ -795,6 +795,7 @@ do ---------------------- self:InitializeStatusDisplay("StatusDisplay") self:InitializeGlyphWindow("GlyphWindow", self.Vars.mawLorkhaj.zhaj_glyphs_invert) self:InitializeArrowDisplay("ArrowDisplay") + self.AnnouncementUIManager:Initialize(RaidNotifierUICenterAnnounce) RaidNotifier.NotificationsPool.GetInstance():SetScale(self.Vars.general.notifications_scale / 100); RaidNotifier.NotificationsPool.GetInstance():SetPrecise(self.Vars.countdown.timerPrecise) diff --git a/RaidNotifier.xml b/RaidNotifier.xml index 54fed87..a31f6fb 100644 --- a/RaidNotifier.xml +++ b/RaidNotifier.xml @@ -79,10 +79,17 @@