Mercurial > wow > buffalo2
comparison ObjectiveWidgets.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 | f660f1c1e0aa |
children | 605e8f0e46db |
comparison
equal
deleted
inserted
replaced
15:f660f1c1e0aa | 16:880828018bf4 |
---|---|
339 end | 339 end |
340 }) | 340 }) |
341 | 341 |
342 --- WidgetTemplate 'OnHide' | 342 --- WidgetTemplate 'OnHide' |
343 mod.ReleaseWidget = function(frame) | 343 mod.ReleaseWidget = function(frame) |
344 --[[ | |
344 local print = B.print('ObjectiveWidgets') | 345 local print = B.print('ObjectiveWidgets') |
345 local reg = wr[frame.widgetType] | 346 local reg = wr[frame.widgetType] |
346 if reg and reg.used[frame.key] then | 347 if reg and reg.used[frame.key] then |
347 reg.used[frame.key] = nil | 348 reg.used[frame.key] = nil |
348 frame.line = nil | 349 frame.line = nil |
349 frame.info = nil | 350 frame.info = nil |
350 frame:UnregisterAllEvents() | 351 frame:UnregisterAllEvents() |
351 tinsert(reg.free, frame) | 352 tinsert(reg.free, frame) |
352 print('|cFFBBBBBBreleased from service', frame:GetName()) | 353 print('|cFFBBBBBBreleased from service', frame:GetName()) |
353 end | 354 end |
355 ]] | |
354 end | 356 end |
355 | 357 |
356 --- RemoveTrackedAchievement post-hook | 358 --- RemoveTrackedAchievement post-hook |
357 mod.CleanWidgets = function() | 359 mod.CleanWidgets = function() |
358 local print = B.print('ObjectiveWidgets') | 360 local print = B.print('ObjectiveWidgets') |