Mercurial > wow > buffalo2
comparison ObjectiveCore.lua @ 10:f03c75f63566
ObjectiveStyle & ObjectiveFrame
- abstract aesthetic details away from ObjectiveFrame
- revise SetBlockStyle into a more general algorithm for every frame
- implement caching of resolved attribute combinations
- use loadstring functions to store resolved attributes and call upon those when, for example, a MouseUp leads a tracker block to restore its original style
| author | Nenue |
|---|---|
| date | Sat, 02 Apr 2016 03:19:25 -0400 |
| parents | 7923243ae972 |
| children | 9455693fc290 |
comparison
equal
deleted
inserted
replaced
| 9:2698173edd40 | 10:f03c75f63566 |
|---|---|
| 29 ]] | 29 ]] |
| 30 --- Global Frames | 30 --- Global Frames |
| 31 local Wrapper = _G.VeneerObjectiveWrapper | 31 local Wrapper = _G.VeneerObjectiveWrapper |
| 32 local Scroller = Wrapper.scrollArea | 32 local Scroller = Wrapper.scrollArea |
| 33 local Scroll = _G.VeneerObjectiveScroll | 33 local Scroll = _G.VeneerObjectiveScroll |
| 34 | |
| 35 --- Baseline defaults | |
| 36 mod.defaults = { | |
| 37 | |
| 38 } | |
| 34 | 39 |
| 35 --- list used to make things happen | 40 --- list used to make things happen |
| 36 mod.orderedNames = {[1] = 'AutoQuest', [2] = 'Quest', [3] = 'Cheevs'} | 41 mod.orderedNames = {[1] = 'AutoQuest', [2] = 'Quest', [3] = 'Cheevs'} |
| 37 | 42 |
| 38 --- ipairs() list of handlers for wrapper update | 43 --- ipairs() list of handlers for wrapper update |
