From f018fcc73a6e2540a0fedc81384077ec4cbf0476 Mon Sep 17 00:00:00 2001 From: atomaka Date: Thu, 1 Sep 2011 04:07:22 -0400 Subject: [PATCH] Add and use texture file for mouseover area. --- ChoreTracker.lua | 8 ++++---- icon.tga | Bin 0 -> 2943 bytes 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 icon.tga diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 59e1d1b..4dc9f78 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -189,7 +189,7 @@ function core:GetNextVPReset() end --return calendar - SetCVar('calendarShowResets',currentCalendarSetting) + SetCVar('calendarShowResets', currentCalendarSetting) --and combine for the reset timestamp if(resetDate ~= nil) then @@ -265,9 +265,9 @@ function core:CreateChoreFrame() ChoresDisplay:SetPoint('TOPLEFT') ChoresDisplay.background = ChoresDisplay:CreateTexture(nil, 'BACKGROUND') ChoresDisplay.background:SetAllPoints(true) - ChoresDisplay.background:SetTexture(1, 0.5, 0, 0.5) - ChoresDisplay:SetHeight(50) - ChoresDisplay:SetWidth(50) + ChoresDisplay.background:SetTexture('Interface\\AddOns\\ChoreTracker\\icon') + ChoresDisplay:SetHeight(32) + ChoresDisplay:SetWidth(32) ChoresDisplay:Show() ChoresDisplay:EnableMouse(true) diff --git a/icon.tga b/icon.tga new file mode 100644 index 0000000000000000000000000000000000000000..568fdc207d26491a9e670d7e5beed7c42aba3f0e GIT binary patch literal 2943 zcmZ`*SxgmY7@fI`pd}=gM|~jJrzY)_Z?i)+-NrOcjmCW!TyVvE+3E^{QA9Du z7`52esBw!#iKvKL)F46Qii*YsgHa;ud_Ct3chH9p;oh0K|9{T;_TO=aIEgFW!C!I# zAJevM*`n8G=EURi$lkqshi%=uHGA2zWq+?&v7$XYJKJW>nq@O*&b0aS=NsO)=j7!4 zy=l{?>|MKd4PUx+X@q-u6&DvfLe10T;lqcW81FvZvuDqcva+&~d3kw%&6_vRn>ux> z&6qL6rca;FZ;#&u2e7wf$r4+NDW zy4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