1
0
Fork 0

Add and use texture file for mouseover area.

This commit is contained in:
Andrew Tomaka 2011-09-01 04:07:22 -04:00
parent 1621ed588d
commit f018fcc73a
2 changed files with 4 additions and 4 deletions

View file

@ -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

Binary file not shown.