Skip to content

Commit

Permalink
new popup
Browse files Browse the repository at this point in the history
  • Loading branch information
TannerShmoog committed Nov 14, 2022
1 parent 394ff24 commit 6a10f53
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,7 @@ function addon:OnInitialize()
LFGMsgGearType = 3,
defaultLFGModeOn = false,
showedv160InfoPopup = false,

--Auto Response Types:
-- 1 : Respond to Global Friends, but only when You are in Town
-- 2 : Respond to Local Friends & Guildies, but only when You are in Town
Expand Down Expand Up @@ -1948,6 +1949,7 @@ function addon:OnInitialize()
gearSummaryTooltips = true,
charSheetGear = true,
announceInstanceReset = true,
showedv161InfoPopup = false,
}
}

Expand Down Expand Up @@ -2829,11 +2831,11 @@ function addon.SetupConfig()
addon.db.global.lastServer = currentServer


if not addon.db.char.showedv160InfoPopup then
addon.db.char.showedv160InfoPopup = true
if not addon.db.global.showedv161InfoPopup then
addon.db.global.showedv161InfoPopup = true
local PopupFrame = nil
local POPUP_WINDOW_WIDTH = 400
local POPUP_WINDOW_HEIGHT = 400
local POPUP_WINDOW_HEIGHT = 450
PopupFrame = CreateFrame("Frame", "GroupiePopUp", UIParent, "PortraitFrameTemplate")
PopupFrame:Hide()
PopupFrame:SetFrameStrata("DIALOG")
Expand Down Expand Up @@ -2867,12 +2869,12 @@ function addon.SetupConfig()
local PopupGroupieTitle = PopupFrame:CreateFontString("FontString", "OVERLAY", "GameFontNormalMed1")
PopupGroupieTitle:SetPoint("TOP", PopupFrame, "TOP", 0, -36)
PopupGroupieTitle:SetWidth(POPUP_WINDOW_WIDTH - 32)
PopupGroupieTitle:SetText("Groupie 1.60")
PopupGroupieTitle:SetText("Groupie 1.61")
--Info Text
local PopupMsg = PopupFrame:CreateFontString("FontString", "OVERLAY", "GameFontHighlight")
PopupMsg:SetPoint("TOPLEFT", PopupFrame, "TOPLEFT", 16, -64)
PopupMsg:SetWidth(POPUP_WINDOW_WIDTH - 32)
PopupMsg:SetText("Hola Amigo, we've got some changes for you.\n\n1) LFG Auto-Response is a new feature that responds to your Friends and Guildies when they create 5-man groups. It's enabled by default. To turn it off, or change what sort of groups it responds to, check out the Options Interface. You can also toggle LFG Auto Response by Right Clicking on the Groupie Mini-map Icon.\n\n2) We've re-worked the \"challenge\" messages when you're being invited to a group, or someone requests to join your group. By default, we've disabled these messages when someone invites you, and kept on the \"What role are you?...\" messages when someone requests to join your group. These messages don't fire at all when someone messages you before inviting or requesting to join, and you can tweak the behavior in the Options Interface.\n\nCheers!")
PopupMsg:SetText("LFG Auto-Response has been Disabled by default on Start-up; to Enable it just Right click the Groupie Mini-map Icon.\n\nFixed a few other bugs.\n---\nGroupie 1.60\n\nHola Amigo, we've got some changes for you.\n\n1) LFG Auto-Response is a new feature that responds to your Friends and Guildies when they create 5-man groups. It's enabled by default. To turn it off, or change what sort of groups it responds to, check out the Options Interface. You can also toggle LFG Auto Response by Right Clicking on the Groupie Mini-map Icon.\n\n2) We've re-worked the \"challenge\" messages when you're being invited to a group, or someone requests to join your group. By default, we've disabled these messages when someone invites you, and kept on the \"What role are you?...\" messages when someone requests to join your group. These messages don't fire at all when someone messages you before inviting or requesting to join, and you can tweak the behavior in the Options Interface.\n\nCheers!")
PopupMsg:SetJustifyH("LEFT")
--Edit Box for Discord Link
local PopupEditBox = CreateFrame("EditBox", "GroupieEditBoxPopup", PopupFrame, "InputBoxTemplate")
Expand Down

0 comments on commit 6a10f53

Please sign in to comment.