From bcf3ed9bf539585a240def116825fca5a17f2c05 Mon Sep 17 00:00:00 2001 From: Jim-Bim Date: Thu, 6 Nov 2008 22:56:22 +0000 Subject: [PATCH] AckisRecipeList: - use grey textcolor for button in disabled state --- ARLFrame.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index d4cb37d..10fe96f 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -703,6 +703,7 @@ function addon.filterSwitch(val) addon.resetTitle() -- Make sure our apply button gets enabled + ARL_ApplyButton:SetNormalFontObject("GameFontNormalSmall") ARL_ApplyButton:Enable() end @@ -1857,6 +1858,7 @@ function RecipeList_Update() end -- Make sure our apply button gets disabled + ARL_ApplyButton:SetNormalFontObject("GameFontDisableSmall") ARL_ApplyButton:Disable() end @@ -3335,7 +3337,7 @@ function addon:CreateFrame( ARL_ResetButton:Hide() local ARL_ApplyButton = addon:GenericCreateButton("ARL_ApplyButton", addon.Frame, - 22, 69, "RIGHT", ARL_CloseButton, "LEFT", -82, 0, "GameFontNormalSmall", + 22, 69, "RIGHT", ARL_CloseButton, "LEFT", -82, 0, "GameFontDisableSmall", "GameFontHighlightSmall", L["Apply"], "CENTER", L["APPLY_DESC"], 1) ARL_ApplyButton:SetScript("OnClick", ReDisplay) ARL_ApplyButton:Hide() -- 1.7.9.5