Mercurial > wow > buffalo2
diff ObjectiveTracker/Schema.lua @ 38:1f8f9cc3d956
- module integration brought up to speed with current frame management structure
author | Nenue |
---|---|
date | Thu, 21 Apr 2016 11:36:41 -0400 |
parents | e84d645c8ab8 |
children | 92534dc793f2 |
line wrap: on
line diff
--- a/ObjectiveTracker/Schema.lua Mon Apr 18 07:56:23 2016 -0400 +++ b/ObjectiveTracker/Schema.lua Thu Apr 21 11:36:41 2016 -0400 @@ -7,7 +7,7 @@ local B = select(2,...).frame local T = B:RegisterModule("ObjectiveTracker", _G.VeneerObjectiveWrapper, 'BuffFrame') local setmetatable, type, rawset = setmetatable, type, rawset -local print = B.print('Tracker') +local print = B.print('Schema') local lprint = B.print('Layout') local oprint = B.print('Objectives') T.defaults.Schema = setmetatable({}, { @@ -51,13 +51,16 @@ T.defaults.Schema.tracker = { default = { headerbg = {'VERTICAL', 1, 1, 0.5, 0.5, 1, 1, 0.5, 0}, - headerFont = {[[Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf]], 14, 'OUTLINE'}, + headerFont = {[[Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF]], 13, 'OUTLINE'}, + headerHeight = 16, + headerSpacing = 0, + headerColor = {1,1,1,1}, blockSpacing = 1, } } T.defaults.Schema.block = { default = { - titleColor = {1, 0.7, 0, 1}, + titleColor = {1, 1, 1, 1}, titlebg = {'HORIZONTAL', 1, 0, .7, 0, 1, 0, .7, .125}, textbg = {'HORIZONTAL', 0, 0, 0, 0, 0, 0, 0, 0.4 }, selectionbg = {'HORIZONTAL', 1, 1, 1, 0, 1, 1, 1, 0.225}, @@ -78,17 +81,17 @@ }, daily = { titleColor = {0, 0.7, 1, 1}, - titlebg = {'HORIZONTAL', 0, .7, 1, .25, 0, 1, .7, .125}, - textbg = {'HORIZONTAL', 0, .7, 1, .075, 0, 1, .7, .1}, + titlebg = {'HORIZONTAL', 0, .7, 1, 0, 0, 1, .7, .125}, + textbg = {'HORIZONTAL', 0, .7, 1, 0, 0, 1, .7, .1}, }, weekly = { titleColor = {.25, 0.7, 1, 1}, - titlebg = {'HORIZONTAL', 0, .35, .7, .25, 0, .35, .7, .125}, - textbg = {'HORIZONTAL', 0, .35, .7, .1, 0, .35, .7, .075 }, + titlebg = {'HORIZONTAL', 0, .35, .7, 0, 0, .35, .7, .125}, + textbg = {'HORIZONTAL', 0, .35, .7, .0, 0, .35, .7, .075 }, }, account = { - titlebg = {'HORIZONTAL', .1, .1, .1, .25, .1, .1, .1, .125}, - textbg = {'HORIZONTAL', .1, .1, .1, 0.4, .1, .1, .1, .085 }, + titlebg = {'HORIZONTAL', .1, .1, .1, 0, .1, .1, .1, .125}, + textbg = {'HORIZONTAL', .1, .1, .1, 0, .1, .1, .1, .085 }, }, -- alliance faction_1 = { @@ -103,7 +106,7 @@ } T.defaults.Schema.line = { default = { - textColor = {.5,.75,1}, + textColor = {1, 1, 1}, textSpacing = 3, textIndent = 3, }, @@ -124,7 +127,16 @@ }, item = { textColor = {1,.25,.5} - } + }, + achievement_complete = { + textColor = {1, 1, 1, 1}, + }, + achievement = { + textColor = {0, 0.7, 1, 1}, + }, + achievement_account = { + textColor = {.35, 0.7, 1, 1}, + }, } T.defaults.Schema.widget = { progressbar = {