Mercurial > wow > bloodhound2
comparison Bloodhound2.lua @ 1:6ab5b23877a6
Changed the layer of the BH arrow so that it is always on top of the rubies.
author | only1yzerman |
---|---|
date | Fri, 10 May 2013 03:45:15 -0400 |
parents | ff01eb61abab |
children | 91131c35a2c3 |
comparison
equal
deleted
inserted
replaced
0:ff01eb61abab | 1:6ab5b23877a6 |
---|---|
194 local function GetArrowTexture() | 194 local function GetArrowTexture() |
195 | 195 |
196 local tex = Bloodhound2.GravityTexture | 196 local tex = Bloodhound2.GravityTexture |
197 | 197 |
198 if not ( tex ) then | 198 if not ( tex ) then |
199 tex = Minimap:CreateTexture(); | 199 tex = Minimap:CreateTexture("Bloodhound2_Arrow", "OVERLAY"); |
200 tex:SetTexture("Interface\\AddOns\\Bloodhound2\\MinimapArrow"); | 200 tex:SetTexture("Interface\\AddOns\\Bloodhound2\\MinimapArrow"); |
201 Bloodhound2.GravityTexture = tex | 201 Bloodhound2.GravityTexture = tex |
202 end | 202 end |
203 | 203 |
204 return tex | 204 return tex |
246 end | 246 end |
247 | 247 |
248 function Bloodhound2.SetCircle(dx, dy, alpha) | 248 function Bloodhound2.SetCircle(dx, dy, alpha) |
249 local circle; | 249 local circle; |
250 if (#circles < nextCircle) then | 250 if (#circles < nextCircle) then |
251 circle = Minimap:CreateTexture(); | 251 circle = Minimap:CreateTexture("Bloodhound_Circle", "ARTWORK", nil, -7); |
252 circles[nextCircle] = circle; | 252 circles[nextCircle] = circle; |
253 circle:SetTexture("Interface\\AddOns\\Bloodhound2\\Circle"); | 253 circle:SetTexture("Interface\\AddOns\\Bloodhound2\\Circle"); |
254 circle:SetWidth(12); | 254 circle:SetWidth(12); |
255 circle:SetHeight(12); | 255 circle:SetHeight(12); |
256 circle:SetAlpha(1); | 256 circle:SetAlpha(1); |