Add and use texture file for mouseover area.
This commit is contained in:
parent
1621ed588d
commit
f018fcc73a
2 changed files with 4 additions and 4 deletions
|
@ -189,7 +189,7 @@ function core:GetNextVPReset()
|
||||||
end
|
end
|
||||||
|
|
||||||
--return calendar
|
--return calendar
|
||||||
SetCVar('calendarShowResets',currentCalendarSetting)
|
SetCVar('calendarShowResets', currentCalendarSetting)
|
||||||
|
|
||||||
--and combine for the reset timestamp
|
--and combine for the reset timestamp
|
||||||
if(resetDate ~= nil) then
|
if(resetDate ~= nil) then
|
||||||
|
@ -265,9 +265,9 @@ function core:CreateChoreFrame()
|
||||||
ChoresDisplay:SetPoint('TOPLEFT')
|
ChoresDisplay:SetPoint('TOPLEFT')
|
||||||
ChoresDisplay.background = ChoresDisplay:CreateTexture(nil, 'BACKGROUND')
|
ChoresDisplay.background = ChoresDisplay:CreateTexture(nil, 'BACKGROUND')
|
||||||
ChoresDisplay.background:SetAllPoints(true)
|
ChoresDisplay.background:SetAllPoints(true)
|
||||||
ChoresDisplay.background:SetTexture(1, 0.5, 0, 0.5)
|
ChoresDisplay.background:SetTexture('Interface\\AddOns\\ChoreTracker\\icon')
|
||||||
ChoresDisplay:SetHeight(50)
|
ChoresDisplay:SetHeight(32)
|
||||||
ChoresDisplay:SetWidth(50)
|
ChoresDisplay:SetWidth(32)
|
||||||
ChoresDisplay:Show()
|
ChoresDisplay:Show()
|
||||||
|
|
||||||
ChoresDisplay:EnableMouse(true)
|
ChoresDisplay:EnableMouse(true)
|
||||||
|
|
BIN
icon.tga
Normal file
BIN
icon.tga
Normal file
Binary file not shown.
Loading…
Reference in a new issue