<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -31,10 +31,10 @@ frame:SetScript(&quot;OnShow&quot;, function(frame)
 	lockpos:SetChecked(Squeenix.db.locked)
 
 
---~ 	local showtip = tekcheck.new(frame, nil, &quot;Show tooltip&quot;, &quot;TOPLEFT&quot;, lockpos, &quot;BOTTOMLEFT&quot;, 0, -GAP)
---~ 	showtip.tiptext = &quot;Show help tooltip on hover&quot;
---~ 	showtip:SetScript(&quot;OnClick&quot;, function(self) checksound(self); ControlFreak.db.char.showtooltip = not ControlFreak.db.char.showtooltip end)
---~ 	showtip:SetChecked(ControlFreak.db.char.showtooltip)
+	local showcompass = tekcheck.new(frame, nil, &quot;Show full compass&quot;, &quot;TOPLEFT&quot;, lockpos, &quot;BOTTOMLEFT&quot;, 0, -GAP)
+	showcompass.tiptext = &quot;Add 'ESW' compass directions to the map&quot;
+	showcompass:SetScript(&quot;OnClick&quot;, function(self) checksound(self); Squeenix.db.hidecompass = not Squeenix.db.hidecompass; Squeenix:ShowCompass() end)
+	showcompass:SetChecked(not Squeenix.db.hidecompass)
 
 
 --~ 	local threshslider, threshslidertext, threshcontainer = tekslider.new(frame, &quot;Break Threshold: &quot;..ControlFreak.db.char.breakthreshold..&quot; sec&quot;, 0, 10, &quot;LEFT&quot;, frame, &quot;TOP&quot;, GAP, 0)</diff>
      <filename>Config.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,43 +1,18 @@
 
-local L = GetLocale() == &quot;koKR&quot; and {
-	[&quot;Compass&quot;] = &quot;&#48169;&#54693;&#51648;&#49884;&#51088;&quot;,
-	[&quot;Show compass directions on map frame&quot;] = &quot;&#48120;&#45768;&#47605;&#50640; &#48169;&#54693;&#51648;&#49884;&#51088;&#47484; &#54364;&#49884;&#54633;&#45768;&#45796;&quot;,
-} or {
-	[&quot;Compass&quot;] = &quot;Compass&quot;,
-	[&quot;Show compass directions on map frame&quot;] = &quot;Show compass directions on map frame&quot;,
-}
+if not Squeenix then return end
+local Squeenix = Squeenix
 
-local frames = {}
-local nesw = Squeenix:NewModule(&quot;Squeenix-NESW&quot;)
 
-function nesw:Initialize()
---~ 	self.db = Squeenix:AcquireDBNamespace(&quot;NESW&quot;)
---~ 	Squeenix:RegisterDefaults(&quot;NESW&quot;, &quot;profile&quot;, {show = true})
---~ 	Squeenix.Options.args.compass = {
---~ 		name = L[&quot;Compass&quot;],
---~ 		type = &quot;toggle&quot;,
---~ 		desc = L[&quot;Show compass directions on map frame&quot;],
---~ 		handler = self,
---~ 		get = function() return self.db.profile.show end,
---~ 		set = &quot;SetVisible&quot;,
---~ 	}
-
-	local f = Minimap
-	for dir,anc in pairs({W= &quot;LEFT&quot;, S = &quot;BOTTOM&quot;, E = &quot;RIGHT&quot;, N = &quot;TOP&quot;}) do
-		local w = f:CreateFontString()
-		w:SetFontObject(GameFontNormal)
-		w:SetPoint(&quot;CENTER&quot;, f, anc)
-		w:SetTextColor(1, 1, dir == &quot;N&quot; and 0 or 1)
-		w:SetText(dir)
---~ 		if self.db.profile.show then w:Show()
---~ 		else w:Hide() end
-		frames[w] = true
-	end
+local f = CreateFrame(&quot;Frame&quot;, nil, Minimap)
+f:SetAllPoints()
+for dir,anc in pairs{W = &quot;LEFT&quot;, S = &quot;BOTTOM&quot;, E = &quot;RIGHT&quot;} do
+	local w = f:CreateFontString()
+	w:SetFontObject(GameFontWhite)
+	w:SetPoint(&quot;CENTER&quot;, f, anc)
+	w:SetText(dir)
 end
 
 
-function nesw:SetVisible(v)
-	self.db.profile.show = v
-	if v then for f in pairs(frames) do f:Show() end
-	else for f in pairs(frames) do f:Hide() end end
+function Squeenix:ShowCompass()
+	if self.db.hidecompass then f:Hide() else f:Show() end
 end</diff>
      <filename>NESW.lua</filename>
    </modified>
    <modified>
      <diff>@@ -60,6 +60,7 @@ function Squeenix:ADDON_LOADED()
 
 	self:SetBorder()
 	self:HideButtons()
+	self:ShowCompass()
 
 	f:UnregisterEvent(&quot;ADDON_LOADED&quot;)
 	self.ADDON_LOADED = nil</diff>
      <filename>Squeenix.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a3e5e6f7c3dd8452b8ffa5ce3f91cc4a97a26799</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/squeenix/commit/317c6fa1314fcae0bfe2e7d3d3ccc9880a0c0659</url>
  <id>317c6fa1314fcae0bfe2e7d3d3ccc9880a0c0659</id>
  <committed-date>2008-03-14T17:07:09-07:00</committed-date>
  <authored-date>2008-03-14T15:49:57-07:00</authored-date>
  <message>Flesh out full compass</message>
  <tree>e1129f557b59786d03a9c9d451e767562635ac77</tree>
  <committer>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
