From e2d8533c8d8705782d7f4731a0d3b089b469cf2a Mon Sep 17 00:00:00 2001 From: James Whitehead Ii Date: Fri, 25 Jan 2008 19:51:37 +0000 Subject: [PATCH] * Fix for minimap/world textures --- Images/GoldGreenDot.tga | Bin 0 -> 1039 bytes TomTom_Waypoints.lua | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 Images/GoldGreenDot.tga diff --git a/Images/GoldGreenDot.tga b/Images/GoldGreenDot.tga new file mode 100644 index 0000000000000000000000000000000000000000..4b5a47fc025ff43b51e0be9d255db61aff8cbef6 GIT binary patch literal 1039 zcmaKrdu&rx9LG=ZyS?4|pqpE1x4yRCI@UGr0iAbqrR!wTZlXX~6af* z29+_MCT?udG=Y(fhmxqw{efFz&`1yvCHl7#5=|5af4RARJ?AR^=}A84oSS<--`~l- z=MZ8c51O6WiBHM0M};C2j`t8wh*J`T<5~zu7&@hb@I=lMfvu&@_Rl~}bYyvP!pj4a zJ8;obRe#O;hWbQ*sQ3!S`5-{1qL~tBvN=?ByR3hBQ5&CvcI7=vyov+zHq2tx%H|Ye4-R&a}mh8W#Bp= zLU7L>#Li5ieBcepLC-V|sF6ig-EObb?}zqJ!k-<7xv|QS3tmdVJgg%_j`<*(js{TL zy9L!JKf=Rfd01ny`^040B+G@4Zf9fLJ#Fj)Lht4v`@P`PZkUI3h(}^n&rzK_9)f46 z7lDyMten0MXKVT%5yWSyUcAFm``BFM@Fc?fPC)jQfppU?kNQByeN@l0>iHmwkFSOI zWDi=d+(pq78|SFrCCde_ZdXgk-RQ*Z|LDTmN|ffGL&dqhh=2J59IKOa^pJJg1jU+m z)F*z6d~gP_(_cYN*MYRzVEWJx(|8E1u5hjrwyU)$pLi8@U(BNVlT$F)2Y#m?Z-Y!k z(PIvTM=Se>=bLAK#)^p?9DQxDzTAM~gX@u5mVX?gcd{4pvomP@_7=)E_bd=WI6`%Y zjVOvhNjMslGton*|4iMugH zbUtMJ)X~)RSFooakvE5+^}Pe%rk$`i#}}35Wm80!8<=TW#(iZ+p9Phecz%uSD%q}< t2Vb;!%eRR(`!;$$wy<{;&R9(+MqBsv`qYN@XWBbEsyDW^KbeY>zX9$BO1=O9 literal 0 HcmV?d00001 diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua index 9f436e5..bc80810 100644 --- a/TomTom_Waypoints.lua +++ b/TomTom_Waypoints.lua @@ -56,8 +56,7 @@ function TomTom:SetWaypoint(c,z,x,y,far,near,arrive,callback) -- Create the actual texture attached for the minimap icon point.minimap.icon = point.minimap:CreateTexture("BACKGROUND") - point.minimap.icon:SetTexture("Interface\\Minimap\\ObjectIcons") - point.minimap.icon:SetTexCoord(0.5, 0.75, 0, 0.25) + point.minimap.icon:SetTexture("Interface\\AddOns\\TomTom\\Images\\GoldGreenDot") point.minimap.icon:SetPoint("CENTER", 0, 0) point.minimap.icon:SetHeight(12) point.minimap.icon:SetWidth(12) @@ -77,8 +76,7 @@ function TomTom:SetWaypoint(c,z,x,y,far,near,arrive,callback) point.world:RegisterForClicks("RightButtonUp") point.world.icon = point.world:CreateTexture() point.world.icon:SetAllPoints() - point.world.icon:SetTexture("Interface\\Minimap\\ObjectIcons") - point.world.icon:SetTexCoord(0.5, 0.75, 0, 0.25) + point.world.icon:SetTexture("Interface\\AddOns\\TomTom\\Images\\MinimapArrow-Green") -- Add the behavior scripts point.minimap:SetScript("OnEnter", Minimap_OnEnter) -- 1.7.9.5