Mercurial > wow > buffalo2
comparison ObjectiveTracker/Layout.lua @ 55:dd9b5f59632c v1.0a-release
Core
- updated comment notes
Objectives
- force hide blocks when their tracker is hidden
Clock
- convert clock into its own module
- display zone coordinates alongside time
author | Nenue |
---|---|
date | Fri, 10 Jun 2016 20:52:27 -0400 |
parents | ed74c5cabe98 |
children | f253baf6022d |
comparison
equal
deleted
inserted
replaced
54:ed74c5cabe98 | 55:dd9b5f59632c |
---|---|
74 local textBlend = 'BLEND' | 74 local textBlend = 'BLEND' |
75 | 75 |
76 local widgetTextFont, widgetTextSize, widgetTextOutline = [[Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF]], 11, 'OUTLINE' | 76 local widgetTextFont, widgetTextSize, widgetTextOutline = [[Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF]], 11, 'OUTLINE' |
77 local widgetTextColor = {1,1,1,1 } | 77 local widgetTextColor = {1,1,1,1 } |
78 local widgetHeight, widgetBorder = 17, 1 | 78 local widgetHeight, widgetBorder = 17, 1 |
79 | 79 local widgetWidth = 250 |
80 | 80 |
81 local selectionbg = {'HORIZONTAL', 1, 1, 1, 0, 1, 1, 1, 0.225} | 81 local selectionbg = {'HORIZONTAL', 1, 1, 1, 0, 1, 1, 1, 0.225} |
82 local titleSpacing, textSpacing, blockSpacing = 3, 3, 1 | 82 local titleSpacing, textSpacing, blockSpacing = 3, 3, 1 |
83 local titleIndent, textIndent,selectionIndent = 2, 5, 50 | 83 local titleIndent, textIndent,selectionIndent = 2, 5, 50 |
84 --- END SCHEMA | 84 --- END SCHEMA |
609 tprint(self:GetName(), isNew) | 609 tprint(self:GetName(), isNew) |
610 if isNew then | 610 if isNew then |
611 self:SetMinMaxValues(0, self.maxValue) | 611 self:SetMinMaxValues(0, self.maxValue) |
612 | 612 |
613 self:SetHeight(widgetHeight) | 613 self:SetHeight(widgetHeight) |
614 self:SetWidth(widgetWidth) | |
614 self.height = widgetHeight | 615 self.height = widgetHeight |
615 | 616 |
616 self.status:SetFont(widgetTextFont, widgetTextSize, widgetTextOutline) | 617 self.status:SetFont(widgetTextFont, widgetTextSize, widgetTextOutline) |
617 self.status:SetTextColor(unpack(widgetTextColor)) | 618 self.status:SetTextColor(unpack(widgetTextColor)) |
618 end | 619 end |