Added in a more flat numbering icon for better visibility. Toggleable in the settings

Wobin [04-15-14 - 11:48]
Added in a more flat numbering icon for better visibility. Toggleable in the settings
Filename
SousChef.lua
media/five_flat.dds
media/four_flat.dds
media/one_flat.dds
media/six_flat.dds
media/three_flat.dds
media/two_flat.dds
diff --git a/SousChef.lua b/SousChef.lua
index 5ebae02..b611891 100644
--- a/SousChef.lua
+++ b/SousChef.lua
@@ -18,7 +18,16 @@ local COOKING_RANK_3 = [[SousChef\media\Three.dds]]
 local COOKING_RANK_4 = [[SousChef\media\Four.dds]]
 local COOKING_RANK_5 = [[SousChef\media\Five.dds]]
 local COOKING_RANK_6 = [[SousChef\media\Six.dds]]
+local COOKING_RANK_1B = [[SousChef\media\One_flat.dds]]
+local COOKING_RANK_2B = [[SousChef\media\Two_flat.dds]]
+local COOKING_RANK_3B = [[SousChef\media\Three_flat.dds]]
+local COOKING_RANK_4B = [[SousChef\media\Four_flat.dds]]
+local COOKING_RANK_5B = [[SousChef\media\Five_flat.dds]]
+local COOKING_RANK_6B = [[SousChef\media\Six_flat.dds]]
+
 local COOKING = { COOKING_RANK_1, COOKING_RANK_2, COOKING_RANK_3, COOKING_RANK_4, COOKING_RANK_5, COOKING_RANK_6 }
+local COOKINGB = { COOKING_RANK_1B, COOKING_RANK_2B, COOKING_RANK_3B, COOKING_RANK_4B, COOKING_RANK_5B, COOKING_RANK_6B }
+
 local CANLEARN = [[/esoui/art/loot/loot_finesseitem.dds]]
 local containerHooks = { INVENTORY_BACKPACK, INVENTORY_BANK, INVENTORY_GUILD_BANK }
 local itemQuality = { ITEM_QUALITY_MAGIC = { 0, 0, 1 }, ITEM_QUALITY_NORMAL = {1,1,1}, ITEM_QUALITY_ARCANE = {1, 0, 1}}
@@ -104,8 +113,11 @@ local function AddRankToSlot(row)
 		if texture then
 			rankIcon:SetColor(settings.colour[1], settings.colour[2], settings.colour[3])
 			rankIcon:SetHidden(false)
-			rankIcon:SetTexture(COOKING[texture])
-
+			if settings.boldIcon then
+				rankIcon:SetTexture(COOKINGB[texture])
+			else
+				rankIcon:SetTexture(COOKING[texture])
+			end

 		end
 	else
@@ -201,7 +213,9 @@ local function SousChefCreateSettings()
 	LAM:AddCheckbox(panel, "showAltKnows", "Alternate Character Recipe Knowledge", "Show rank indicators on alts for all recipe knowledge of all alternate characters",
 						function() return settings.showAltKnowledge end,
 						function(value) settings.showAltKnowledge = not settings.showAltKnowledge end)
-
+	LAM:AddCheckbox(panel, "useBold", "Use bolder icons", "Swap out rank icon to a more flat display",
+						function() return settings.boldIcon end,
+						function(value) settings.boldIcon = not settings.boldIcon end)
 	LAM:AddColorPicker(panel, "setColour", "Indicator colour",
 						"Allows you to set the colour of the indicator",
 						function() return settings.colour[1], settings.colour[2], settings.colour[3] end,
@@ -232,7 +246,8 @@ local function SousChef_Loaded(eventCode, addOnName)
 		Cookbook = {},
 		Pantry = {},
 		ReverseCookbook = {},
-		showAltKnowledge = false
+		showAltKnowledge = false,
+		boldIcon = false
 	}

 	settings = ZO_SavedVars:NewAccountWide("SousChef_Settings", 5, nil, defaults)
diff --git a/media/five_flat.dds b/media/five_flat.dds
new file mode 100644
index 0000000..eb71e43
Binary files /dev/null and b/media/five_flat.dds differ
diff --git a/media/four_flat.dds b/media/four_flat.dds
new file mode 100644
index 0000000..bc61ef3
Binary files /dev/null and b/media/four_flat.dds differ
diff --git a/media/one_flat.dds b/media/one_flat.dds
new file mode 100644
index 0000000..dbfa18c
Binary files /dev/null and b/media/one_flat.dds differ
diff --git a/media/six_flat.dds b/media/six_flat.dds
new file mode 100644
index 0000000..ac2e11d
Binary files /dev/null and b/media/six_flat.dds differ
diff --git a/media/three_flat.dds b/media/three_flat.dds
new file mode 100644
index 0000000..b01e4c8
Binary files /dev/null and b/media/three_flat.dds differ
diff --git a/media/two_flat.dds b/media/two_flat.dds
new file mode 100644
index 0000000..22f5336
Binary files /dev/null and b/media/two_flat.dds differ