Mercurial > wow > buffalo2
comparison ObjectiveTracker/Layout.lua @ 58:f253baf6022d
ObjectiveTracker:
- Quest tracker now checks all of its allotted frames for data validity,
- it also uses GetQuestLogTitle to verify non-zero log indexes
| author | Nenue |
|---|---|
| date | Fri, 08 Jul 2016 18:01:49 -0400 |
| parents | dd9b5f59632c |
| children | 07ef62fe201f |
comparison
equal
deleted
inserted
replaced
| 57:3cecf50070ba | 58:f253baf6022d |
|---|---|
| 36 | 36 |
| 37 --- FRAMES | 37 --- FRAMES |
| 38 local Wrapper = _G.VeneerObjectiveWrapper | 38 local Wrapper = _G.VeneerObjectiveWrapper |
| 39 local Scroller = Wrapper.scrollArea | 39 local Scroller = Wrapper.scrollArea |
| 40 local Scroll = _G.VeneerObjectiveScroll | 40 local Scroll = _G.VeneerObjectiveScroll |
| 41 local orderedHandlers = T.orderedHandlers | 41 local orderedHandlers = T.orderedHandlers -- ['module'].frame |
| 42 local orderedNames = T.orderedNames | 42 local orderedNames = T.orderedNames -- ['module'].frame |
| 43 | 43 |
| 44 --- FRAME TEMP VARIABLES | 44 --- FRAME TEMP VARIABLES |
| 45 local wrapperWidth, wrapperHeight = 0, 0 | 45 local wrapperWidth, wrapperHeight = 0, 0 |
| 46 local scrollWidth, scrollHeight | 46 local scrollWidth, scrollHeight |
| 47 local blockPosition | |
| 47 | 48 |
| 48 --- SCHEMA VARIABLES | 49 --- SCHEMA VARIABLES |
| 49 local schemaName, lastSchema = { | 50 local schemaName, lastSchema = { |
| 50 tracker = '', | 51 tracker = '', |
| 51 block = '', | 52 block = '', |
| 80 | 81 |
| 81 local selectionbg = {'HORIZONTAL', 1, 1, 1, 0, 1, 1, 1, 0.225} | 82 local selectionbg = {'HORIZONTAL', 1, 1, 1, 0, 1, 1, 1, 0.225} |
| 82 local titleSpacing, textSpacing, blockSpacing = 3, 3, 1 | 83 local titleSpacing, textSpacing, blockSpacing = 3, 3, 1 |
| 83 local titleIndent, textIndent,selectionIndent = 2, 5, 50 | 84 local titleIndent, textIndent,selectionIndent = 2, 5, 50 |
| 84 --- END SCHEMA | 85 --- END SCHEMA |
| 85 local blockPosition | |
| 86 | 86 |
| 87 | 87 |
| 88 local SetAnimate = function(reason, animate) | 88 local SetAnimate = function(reason, animate) |
| 89 print('comparing', animateReason, reason) | 89 print('comparing', animateReason, reason) |
| 90 if animate then | 90 if animate then |
