WoWInterface SVN WhoFramedWatcherWabbit

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 24 to Rev 25
    Reverse comparison

Rev 24 → Rev 25

trunk/Who Framed Watcher Wabbit/Who Framed Watcher Wabbit.toc
1,6 → 1,6
## Interface: 60000
## Name: Who Framed Watcher Wabbit?
## Version: 2.0.1
## Version: 2.0.2
## Notes: Various tweaks to improve the quest watch frame
## SavedVariables: WFWWDB
## SavedVariablesPerCharacter: WFWWPCDB
trunk/Who Framed Watcher Wabbit/wfww.lua
10,6 → 10,8
local otfQuests = ObjectiveTrackerBlocksFrame.QuestHeader
local otfAchievements = ObjectiveTrackerBlocksFrame.AchievementHeader
local otfScenarios = ObjectiveTrackerBlocksFrame.ScenarioHeader
local otfBonus = BONUS_OBJECTIVE_TRACKER_MODULE.Header
local ScenarioStageBlock = ScenarioStageBlock
local LSM = LibStub("LibSharedMedia-3.0")
local widgetLists = AceGUIWidgetLSMlists
local GameTooltip = GameTooltip
558,6 → 560,9
otfAchievements.Text:SetShadowColor(0,0,0,shadow)
otfScenarios.Text:SetFont(font, db.fontSize+2, db.fontFlag)
otfScenarios.Text:SetShadowColor(0,0,0,shadow)
otfBonus.Text:SetFont(font, db.fontSize+2, db.fontFlag)
otfBonus.Text:SetShadowColor(0,0,0,shadow)
ScenarioStageBlock.Stage:SetFont(font, db.fontSize+5, db.fontFlag)
 
for k,v in pairs(WFWWSkinnedHeaders) do
v:SetFont(font, db.fontSize, db.fontFlag)
566,8 → 571,10
for k,v in pairs(WFWWSkinnedLines) do
v.Text:SetFont(font, db.fontSize, db.fontFlag)
v.Text:SetShadowColor(0,0,0,shadow)
v.Dash:SetFont(font, db.fontSize, db.fontFlag)
v.Dash:SetShadowColor(0,0,0,shadow)
if v.Dash then
v.Dash:SetFont(font, db.fontSize, db.fontFlag)
v.Dash:SetShadowColor(0,0,0,shadow)
end
end
 
-- ObjectiveTracker_Update()
603,17 → 610,21
local function HookForUpdates(module, block, objectiveKey, text, lineType, useFullHeight, hideDash, colorStyle)
local header = block.HeaderText
local line = block.lines[objectiveKey]
if not header.wfwwSkinned then
--line.Text:SetWordWrap(false)
--print(block.currentLine.Text:GetText())
if header and not header.wfwwSkinned then
header:SetFont(font, db.fontSize, db.fontFlag)
header:SetShadowColor(0,0,0,db.disableShadow and 0 or 1)
tinsert(WFWWSkinnedHeaders, header)
header.wfwwSkinned = true
end
if not line.wfwwSkinned then
if line and not line.wfwwSkinned then
line.Text:SetFont(font, db.fontSize, db.fontFlag)
line.Text:SetShadowColor(0,0,0,db.disableShadow and 0 or 1)
line.Dash:SetFont(font, db.fontSize, db.fontFlag)
line.Dash:SetShadowColor(0,0,0,db.disableShadow and 0 or 1)
if line.Dash then
line.Dash:SetFont(font, db.fontSize, db.fontFlag)
line.Dash:SetShadowColor(0,0,0,db.disableShadow and 0 or 1)
end
tinsert(WFWWSkinnedLines, line)
line.wfwwSkinned = true
end
621,6 → 632,7
for i = 1, #ObjectiveTrackerFrame.MODULES do
hooksecurefunc(ObjectiveTrackerFrame.MODULES[i], "AddObjective", HookForUpdates)
end
hooksecurefunc(SCENARIO_TRACKER_MODULE, "AddObjective", HookForUpdates)
 
ObjectiveTrackerFrame:SetParent(OTFContainer)
ObjectiveTrackerFrame:SetClampedToScreen(false)