Mercurial > wow > buffalo2
comparison ObjectiveUI.lua @ 16:880828018bf4
ObjectiveEvents
- trim down the number of events that fire full updates
- begin the general outline for determining which trackers need to refresh
- handlers for accepting and completing auto-popup quests
ObjectiveFrame
- correct variables for money reward calculation
- make sure everythign is scaling to the font strings and that the font strings aren't being pinned by SetSize
ObjectiveInfo
- implementation of autoquest popups
- discern between internal and client bonus objective indexes
- acquire the correct data set from bonus objective query
ObjectiveStyle
- look for a style table under the previously interpreted set before deferring standard options
- horizontal/vertical options in gradient
- remove height-fixing for font strings
author | Nenue |
---|---|
date | Tue, 05 Apr 2016 00:39:12 -0400 |
parents | ed642234f017 |
children | 605e8f0e46db |
comparison
equal
deleted
inserted
replaced
15:f660f1c1e0aa | 16:880828018bf4 |
---|---|
47 self:SetStyle('TrackerBlock', self.handler.name, 'MouseDown') | 47 self:SetStyle('TrackerBlock', self.handler.name, 'MouseDown') |
48 print(IsModifiedClick("CHATLINK"), IsModifiedClick("QUESTWATCHTOGGLE")) | 48 print(IsModifiedClick("CHATLINK"), IsModifiedClick("QUESTWATCHTOGGLE")) |
49 print(self.info.title) | 49 print(self.info.title) |
50 end | 50 end |
51 | 51 |
52 Quest.Select = function(self) | 52 AutoQuest.Select = function(self) |
53 SetSuperTrackedQuestID(self.info.questID) | 53 if self.info.popupType == 'OFFER' then |
54 ShowQuestOffer(self.info.questIndex) | |
55 else | |
56 ShowQuestComplete(self.info.questIndex) | |
57 end | |
58 RemoveAutoQuestPopUp(self.info.questID) | |
59 end | |
60 | |
61 Quest.Select = function(self) -- remote quests will get listed here as well, so their turn-in data needs to be checked | |
62 if AutoQuest.Info[self.info.questID] then | |
63 AutoQuest.Select(self) | |
64 else | |
65 SetSuperTrackedQuestID(self.info.questID) | |
66 end | |
54 mod.UpdateWrapper() | 67 mod.UpdateWrapper() |
55 end | 68 end |
69 | |
56 Quest.Link = function(self) | 70 Quest.Link = function(self) |
57 local questLink = GetQuestLink(block.questLogIndex); | 71 local questLink = GetQuestLink(block.questLogIndex); |
58 if ( questLink ) then | 72 if ( questLink ) then |
59 ChatEdit_InsertLink(questLink); | 73 ChatEdit_InsertLink(questLink); |
60 end | 74 end |