<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,13 +1,9 @@
-local L = GetLocale == &quot;koKR&quot; and {
-	[&quot;Border style&quot;] = &quot;&#50808;&#44285;&#49440;&quot;,
-	[&quot;Change the minimap border style&quot;] = &quot;&#48120;&#45768;&#47605;&#51032; &#50808;&#44285;&#49440;&#51032; &#51333;&#47448;&#47484; &#48320;&#44221;&#54633;&#45768;&#45796;&quot;,
-} or {
-	[&quot;Border style&quot;] = true,
-	[&quot;Change the minimap border style&quot;] = true,
-}
+
+if not Squeenix then return end
+local Squeenix = Squeenix
 
 
-local borders = {
+Squeenix.borders = {
 	[&quot;Rounded&quot;] = {bgFile = &quot;Interface\\Tooltips\\UI-Tooltip-Background&quot;, tile = true, tileSize = 16, edgeSize = 16,
 		edgeFile = &quot;Interface\\Tooltips\\UI-Tooltip-Border&quot;, insets = {left = 5, right = 5, top = 5, bottom = 5}},
 
@@ -27,28 +23,9 @@ border:SetFrameStrata(&quot;BACKGROUND&quot;)
 border:SetFrameLevel(1)
 
 
---~ function Squeenix:InitializeBorder()
---~ 	self.db = Squeenix:AcquireDBNamespace(&quot;Border&quot;)
---~ 	Squeenix:RegisterDefaults(&quot;Border&quot;, &quot;profile&quot;, {style = &quot;Square&quot;})
-
---~ 	local borderList = {}
---~ 	for k in pairs(borders) do table.insert(borderList, k) end
-
---~ 	Squeenix.Options.args.border = {
---~ 		name = L[&quot;Border style&quot;],
---~ 		type = &quot;text&quot;,
---~ 		desc = L[&quot;Change the minimap border style&quot;],
---~ 		handler = self,
---~ 		get = function() return self.db.profile.style end,
---~ 		set = &quot;SetBorder&quot;,
---~ 		validate = borderList,
---~ 	}
---~ end
-
-
 function Squeenix:SetBorder(v)
 	if v then self.db.border = v end
-	border:SetBackdrop(borders[self.db.border or &quot;Rounded&quot;])
+	border:SetBackdrop(self.borders[self.db.border or &quot;Rounded&quot;])
 	border:SetBackdropColor(0,0,0,1)
 end
 </diff>
      <filename>Border.lua</filename>
    </modified>
    <modified>
      <diff>@@ -10,6 +10,7 @@ local Squeenix = Squeenix
 local tekcheck = LibStub(&quot;tekKonfig-Checkbox&quot;)
 local tekbutton = LibStub(&quot;tekKonfig-Button&quot;)
 local tekslider = LibStub(&quot;tekKonfig-Slider&quot;)
+local tekdropdown = LibStub(&quot;tekKonfig-Dropdown&quot;)
 local GAP = 8
 
 
@@ -69,6 +70,28 @@ frame:SetScript(&quot;OnShow&quot;, function(frame)
 	end)
 
 
+	local borderdropdown, borderdropdowntext, borderdropdowncontainer = tekdropdown.new(frame, &quot;Border style&quot;, &quot;TOPLEFT&quot;, scalecontainer, &quot;BOTTOMLEFT&quot;, 0, -GAP)
+	borderdropdowntext:SetText(Squeenix.db.border or &quot;Rounded&quot;)
+	borderdropdown.tiptext = &quot;Change the minimap border style.&quot;
+
+	local function OnClick()
+		UIDropDownMenu_SetSelectedValue(borderdropdown, this.value)
+		borderdropdowntext:SetText(this.value)
+		Squeenix:SetBorder(this.value)
+	end
+	UIDropDownMenu_Initialize(borderdropdown, function()
+		local selected, info = UIDropDownMenu_GetSelectedValue(borderdropdown) or &quot;Rounded&quot;, UIDropDownMenu_CreateInfo()
+
+		for name in pairs(Squeenix.borders) do
+			info.text = name
+			info.value = name
+			info.func = OnClick
+			info.checked = name == selected
+			UIDropDownMenu_AddButton(info)
+		end
+	end)
+
+
 	frame:SetScript(&quot;OnShow&quot;, LibStub(&quot;tekKonfig-FadeIn&quot;).FadeIn)
 	LibStub(&quot;tekKonfig-FadeIn&quot;).FadeIn(frame)
 end)</diff>
      <filename>Config.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3d6b90ab8abfcef812dcf5e6144a5449b5ee003d</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/squeenix/commit/63ddfab53a924f4e03226cdd5642bd0185820327</url>
  <id>63ddfab53a924f4e03226cdd5642bd0185820327</id>
  <committed-date>2008-03-15T00:29:40-07:00</committed-date>
  <authored-date>2008-03-15T00:29:40-07:00</authored-date>
  <message>Add border config option</message>
  <tree>e21373a8c6eb6b429ddd9c8d852e1b97b20f9fbe</tree>
  <committer>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
