<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>tektip.lua</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -96,41 +96,36 @@ end
 --      Tooltip!      --
 ------------------------
 
-local function GetTipAnchor(frame)
-	local x,y = frame:GetCenter()
-	if not x or not y then return &quot;TOPLEFT&quot;, &quot;BOTTOMLEFT&quot; end
-	local hhalf = (x &gt; UIParent:GetWidth()*2/3) and &quot;RIGHT&quot; or (x &lt; UIParent:GetWidth()/3) and &quot;LEFT&quot; or &quot;&quot;
-	local vhalf = (y &gt; UIParent:GetHeight()/2) and &quot;TOP&quot; or &quot;BOTTOM&quot;
-	return vhalf..hhalf, frame, (vhalf == &quot;TOP&quot; and &quot;BOTTOM&quot; or &quot;TOP&quot;)..hhalf
-end
-
-
-function dataobj.OnLeave() GameTooltip:Hide() end
+local tip = LibStub(&quot;tektip-1.0&quot;).new(6, &quot;LEFT&quot;, &quot;LEFT&quot;, &quot;CENTER&quot;, &quot;RIGHT&quot;, &quot;RIGHT&quot;, &quot;RIGHT&quot;)
+function dataobj.OnLeave() tip:Hide() end
 function dataobj.OnEnter(self)
- 	GameTooltip:SetOwner(self, &quot;ANCHOR_NONE&quot;)
-	GameTooltip:SetPoint(GetTipAnchor(self))
-	GameTooltip:ClearLines()
+	tip:AnchorTo(self)
+
+	tip:AddLine(&quot;picoGuild&quot;)
 
 	if IsInGuild() then
-		GameTooltip:AddDoubleLine(&quot;picoGuild&quot;, GetGuildInfo(&quot;player&quot;))
-		GameTooltip:AddLine(GetGuildRosterMOTD(), 0, 1, 0, true)
-		GameTooltip:AddLine(&quot; &quot;)
+		tip:AddLine(&quot;&lt;&quot;..GetGuildInfo(&quot;player&quot;)..&quot;&gt;&quot;, 1, 1, 1)
+		tip:AddLine(GetGuildRosterMOTD(), 0, 1, 0, true)
+		tip:AddLine(&quot; &quot;)
 
 		local mylevel = UnitLevel(&quot;player&quot;)
 		for i=1,GetNumGuildMembers(true) do
 			local name, rank, rankIndex, level, class, area, note, officernote, connected, status, engclass = GetGuildRosterInfo(i)
 			if connected then
+				local cc = RAID_CLASS_COLORS[engclass]
+				local lr, lg, lb = 0, 1, 0
+				if level &lt; (mylevel - 5) then lr, lg, lb = .6, .6, .6
+				elseif level &gt; (mylevel + 5) then lr, lg, lb = 1, 0, 0 end
 				local levelcolor = (level &gt;= (mylevel - 5) and level &lt;= (mylevel + 5)) and &quot;|cff00ff00&quot; or &quot;&quot;
-				GameTooltip:AddDoubleLine(levelcolor.. (level &lt; 10 and &quot;0&quot; or &quot;&quot;).. level.. &quot;:|cff&quot;.. (colors[engclass] or &quot;000000&quot;).. name.. &quot;|r (&quot;.. (area or &quot;???&quot;).. &quot;)&quot;,
-					&quot;|cffffff00&quot;..note.. &quot; |cffff00ff&quot;..officernote..&quot; |cff00ff00(&quot;..rank..&quot;)&quot;)
+				tip:AddMultiLine((level &lt; 10 and &quot;0&quot; or &quot;&quot;)..level, name, area or &quot;???&quot;, note, officernote, rank,
+					lr,lg,lb, cc.r,cc.g,cc.b, 1,1,1, nil,nil,nil, 1,1,0, .7,.7,1)
 			end
 		end
 	else
-		GameTooltip:AddLine(&quot;picoGuild&quot;)
-		GameTooltip:AddLine(L[&quot;Not in a guild&quot;])
+		tip:AddLine(L[&quot;Not in a guild&quot;])
 	end
 
-	GameTooltip:Show()
+	tip:Show()
 end
 
 </diff>
      <filename>picoGuild.lua</filename>
    </modified>
    <modified>
      <diff>@@ -15,5 +15,6 @@ LibStub.lua
 CallbackHandler-1.0.lua
 LibDataBroker-1.1\LibDataBroker-1.1.lua
 tekKonfigAboutPanel.lua
+tektip.lua
 
 picoGuild.lua</diff>
      <filename>picoGuild.toc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dd05e3c6571842c5f633a029f5688e39e5aee8aa</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/picoguild/commit/11d563f065bbb99905a7ff5656bfb2782e5877f9</url>
  <id>11d563f065bbb99905a7ff5656bfb2782e5877f9</id>
  <committed-date>2008-10-30T20:06:46-07:00</committed-date>
  <authored-date>2008-10-30T20:06:46-07:00</authored-date>
  <message>tektip!</message>
  <tree>a4e537660f6a1dd79547a649dc67a964540f7433</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
