Skip to content

Commit

Permalink
Added the wow classic kind of dialog frames
Browse files Browse the repository at this point in the history
  • Loading branch information
N0ich committed Sep 16, 2023
1 parent 1aa6f14 commit 17cf9c9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DialogKey.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: DialogKey DF
## Notes: Lets you hit a key to confirm loot/purchase dialogs, accept/complete quests, select quest rewards, etc. Hit 2 to select a reward then spacebar to complete quests? Easy!
## Author: N01ch & FuriousProgrammer
## Version: 1.5.3
## Version: 1.5.5
## SavedVariables: DialogKeyDFDB
## OptionalDeps: Immersion
embeds.xml
Expand Down
2 changes: 1 addition & 1 deletion DialogKey_Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: DialogKey DF
## Notes: Lets you hit a key to confirm loot/purchase dialogs, accept/complete quests, select quest rewards, etc. Hit 2 to select a reward then spacebar to complete quests? Easy!
## Author: N01ch & FuriousProgrammer
## Version: 1.5.3
## Version: 1.5.5
## SavedVariables: DialogKeyDFDB
## OptionalDeps: Immersion
embeds.xml
Expand Down
2 changes: 1 addition & 1 deletion DialogKey_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: DialogKey DF
## Notes: Lets you hit a key to confirm loot/purchase dialogs, accept/complete quests, select quest rewards, etc. Hit 2 to select a reward then spacebar to complete quests? Easy!
## Author: N01ch & FuriousProgrammer
## Version: 1.5.3
## Version: 1.5.5
## SavedVariables: DialogKeyDFDB
## OptionalDeps: Immersion
embeds.xml
Expand Down
8 changes: 8 additions & 0 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ function DialogKey:EnumerateGossips(isGossipFrame)
if QuestFrameGreetingPanel and QuestFrameGreetingPanel.titleButtonPool then
tab = QuestFrameGreetingPanel.titleButtonPool.activeObjects
-- _, tab = QuestFrameGreetingPanel.titleButtonPool:EnumerateActive()
elseif QuestFrameGreetingPanel and not QuestFrameGreetingPanel.titleButtonPool then
tab = {}
local children = {QuestGreetingScrollChildFrame:GetChildren()}
for i, c in ipairs(children) do
if c:GetObjectType() == "Button" and c:IsVisible() then
table.insert(DialogKey.frames, c)
end
end
else
return
end
Expand Down

0 comments on commit 17cf9c9

Please sign in to comment.