WoWInterface SVN WhoFramedWatcherWabbit

Compare Revisions

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

Rev 25 → Rev 24

trunk/Who Framed Watcher Wabbit/Who Framed Watcher Wabbit.toc
1,6 → 1,6
## Interface: 60000
## Name: Who Framed Watcher Wabbit?
## Version: 2.0.2
## Version: 2.0.1
## Notes: Various tweaks to improve the quest watch frame
## SavedVariables: WFWWDB
## SavedVariablesPerCharacter: WFWWPCDB
trunk/Who Framed Watcher Wabbit/wfww.lua
10,8 → 10,6
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
560,9 → 558,6
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)
571,10 → 566,8
for k,v in pairs(WFWWSkinnedLines) do
v.Text:SetFont(font, db.fontSize, db.fontFlag)
v.Text: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
v.Dash:SetFont(font, db.fontSize, db.fontFlag)
v.Dash:SetShadowColor(0,0,0,shadow)
end
 
-- ObjectiveTracker_Update()
610,21 → 603,17
local function HookForUpdates(module, block, objectiveKey, text, lineType, useFullHeight, hideDash, colorStyle)
local header = block.HeaderText
local line = block.lines[objectiveKey]
--line.Text:SetWordWrap(false)
--print(block.currentLine.Text:GetText())
if header and not header.wfwwSkinned then
if 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 line and not line.wfwwSkinned then
if not line.wfwwSkinned then
line.Text:SetFont(font, db.fontSize, db.fontFlag)
line.Text: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
line.Dash:SetFont(font, db.fontSize, db.fontFlag)
line.Dash:SetShadowColor(0,0,0,db.disableShadow and 0 or 1)
tinsert(WFWWSkinnedLines, line)
line.wfwwSkinned = true
end
632,7 → 621,6
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)