Quantcast

AckisRecipeList:

Jim-Bim [05-13-09 - 20:24]
AckisRecipeList:
- added texts to the original, bc and wotlk checkboxes
- moved these checkboxes to a better ui position
- removed duplicate wrath common lines from ackis
Filename
ARLFrame.lua
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 9b0b87d..5f4d97e 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -2666,9 +2666,6 @@ function addon.setFlyawayState()
 	ARL_RepOraclesCB:SetChecked(filterdb.rep.oracles)
 	ARL_RepWyrmrestCB:SetChecked(filterdb.rep.wyrmrest)
 	ARL_WrathCommon1CB:SetChecked(filterdb.rep.wrathcommon1)
-	ARL_WrathCommon2CB:SetChecked(filterdb.rep.wrathcommon2)
-	ARL_WrathCommon3CB:SetChecked(filterdb.rep.wrathcommon3)
-	ARL_WrathCommon4CB:SetChecked(filterdb.rep.wrathcommon4)
 --[[
 	--Disable unused Rep Options
 	ARL_WrathCommon2CB:SetChecked(filterdb.rep.wrathcommon2)
@@ -3698,15 +3695,6 @@ function addon:CreateFrame(
 			local ARL_UnknownCB = CreateFrame("CheckButton", "ARL_UnknownCB", addon.Fly_General, "UICheckButtonTemplate")
 				addon:GenericMakeCB(ARL_UnknownCB, addon.Fly_General, L["UNKNOWN_DESC"], 6, 5, 1, 0)
 				ARL_UnknownCBText:SetText(L["Unknown"])
-			local ARL_OriginalWoWCB = CreateFrame("CheckButton", "ARL_OriginalWoWCB", addon.Fly_General, "UICheckButtonTemplate")
-				addon:GenericMakeCB(ARL_OriginalWoWCB, addon.Fly_General, L["ORIGINAL_WOW_DESC"], 89, 1, 2, 0)
-				ARL_OriginalWoWCB:SetText(L["Old World"])
-			local ARL_BCCB = CreateFrame("CheckButton", "ARL_BCCB", addon.Fly_General, "UICheckButtonTemplate")
-				addon:GenericMakeCB(ARL_BCCB, addon.Fly_General, L["BC_WOW_DESC"], 90, 2, 2, 0)
-				ARL_BCCB:SetText(L["Burning Crusade"])
-			local ARL_WrathCB = CreateFrame("CheckButton", "ARL_WrathCB", addon.Fly_General, "UICheckButtonTemplate")
-				addon:GenericMakeCB(ARL_WrathCB, addon.Fly_General, L["LK_WOW_DESC"], 91, 3, 2, 0)
-				ARL_WrathCB:SetText(L["Wrath of the Lich King"])
 			local ARL_ClassButton = addon:GenericCreateButton("ARL_ClassButton", addon.Fly_General,
 				20, 70, "TOPLEFT", ARL_UnknownCB, "BOTTOMLEFT", -4, 6, "GameFontHighlight",
 				"GameFontHighlightSmall", L["Classes"], "LEFT", L["CLASS_TEXT_DESC"], 0)
@@ -3834,6 +3822,15 @@ function addon:CreateFrame(
 			local ARL_MobDropCB = CreateFrame("CheckButton", "ARL_MobDropCB", addon.Fly_Obtain, "UICheckButtonTemplate")
 				addon:GenericMakeCB(ARL_MobDropCB, addon.Fly_Obtain, L["MOB_DROP_DESC"], 40, 10, 1, 0)
 				ARL_MobDropCBText:SetText(L["Mob Drop"])
+			local ARL_OriginalWoWCB = CreateFrame("CheckButton", "ARL_OriginalWoWCB", addon.Fly_Obtain, "UICheckButtonTemplate")
+				addon:GenericMakeCB(ARL_OriginalWoWCB, addon.Fly_Obtain, L["ORIGINAL_WOW_DESC"], 89, 12, 1, 0)
+				ARL_OriginalWoWCBText:SetText(L["Old World"])
+			local ARL_BCCB = CreateFrame("CheckButton", "ARL_BCCB", addon.Fly_Obtain, "UICheckButtonTemplate")
+				addon:GenericMakeCB(ARL_BCCB, addon.Fly_Obtain, L["BC_WOW_DESC"], 90, 13, 1, 0)
+				ARL_BCCBText:SetText(L["Burning Crusade"])
+			local ARL_WrathCB = CreateFrame("CheckButton", "ARL_WrathCB", addon.Fly_Obtain, "UICheckButtonTemplate")
+				addon:GenericMakeCB(ARL_WrathCB, addon.Fly_Obtain, L["LK_WOW_DESC"], 91, 14, 1, 0)
+				ARL_WrathCBText:SetText(L["Wrath of the Lich King"])

 		addon.Fly_Binding = CreateFrame("Frame", "addon.Fly_Binding", addon.Flyaway)
 			addon.Fly_Binding:SetWidth(210)