diff --git a/ARLFrame.lua b/ARLFrame.lua
index fb185f8..86c8c43 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -6,10 +6,10 @@ ARLFrame.lua
Frame functions for all of AckisRecipeList
-File date: @file-date-iso@
-File revision: @file-revision@
-Project revision: @project-revision@
-Project version: @project-version@
+File date: 2008-11-04T22:46:16Z
+File revision: 1028
+Project revision: 1028
+Project version: r1028
****************************************************************************************
@@ -3167,6 +3167,7 @@ function addon:CreateFrame(
if (searchtext ~= "") then
addon:SearchRecipeDB(recipeDB, searchtext)
+ initDisplayStrings()
RecipeList_Update()
end
@@ -3174,19 +3175,6 @@ function addon:CreateFrame(
end
)
- local ARL_SearchText = CreateFrame("ARL_SearchText", nil, addon.Frame, "InputBoxTemplate")
- ARL_CloseButton:SetText(L["SEARCH_BOX_DESC"])
- ARL_CloseButton:SetScript("OnClick",
- function(this)
- if (this:GetText() == L["SEARCH_BOX_DESC"]) then
-
- this:SetText("")
-
- end
-
- end
- )
-
local ARL_ClearButton = addon:GenericCreateButton("ARL_ClearButton", addon.Frame,
28, 28, "RIGHT", ARL_SearchButton, "LEFT", 3, -1, "GameFontNormalSmall",
"GameFontHighlightSmall", "", "CENTER", L["CLEAR_DESC"], 3)
@@ -3194,12 +3182,34 @@ function addon:CreateFrame(
function()
addon:ResetSearch(recipeDB)
- ARL_ClearButton:SetText(L["SEARCH_BOX_DESC"])
+ ARL_SearchText:SetText(L["SEARCH_BOX_DESC"])
+ initDisplayStrings()
RecipeList_Update()
end
)
+ ARL_SearchText = CreateFrame("EditBox", "ARL_SearchText", addon.Frame, "InputBoxTemplate")
+ ARL_SearchText:SetText(L["SEARCH_BOX_DESC"])
+ ARL_SearchText:SetScript("OnEditFocusGained",
+ function(this)
+
+ if (this:GetText() == L["SEARCH_BOX_DESC"]) then
+
+ this:SetText("")
+
+ end
+
+ end
+ )
+ ARL_SearchText:EnableMouse(true)
+ ARL_SearchText:SetAutoFocus(false)
+ ARL_SearchText:SetFontObject(ChatFontNormal)
+ ARL_SearchText:SetWidth(135)
+ ARL_SearchText:SetHeight(270)
+ ARL_SearchText:SetPoint("RIGHT", ARL_ClearButton, "LEFT", 4, -1)
+ ARL_SearchText:Show()
+
local ARL_CloseButton = addon:GenericCreateButton("ARL_CloseButton", addon.Frame,
22, 69, "BOTTOMRIGHT", addon.Frame, "BOTTOMRIGHT", -4, 3, "GameFontNormalSmall",
"GameFontHighlightSmall", L["Close"], "CENTER", L["CLOSE_DESC"], 1)
@@ -3966,7 +3976,7 @@ function addon:CreateFrame(
-- reset the scale
addon.Frame:SetScale(addon.db.profile.uiscale)
- arlTooltip:SetScale (addon.db.profile.tooltipscale)
+ arlTooltip:SetScale(addon.db.profile.tooltipscale)
-- We'll be in "ExpandAll" mode to start with. Make sure the button knows that:
ARL_ExpandButton:SetText(L["EXPANDALL"])
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index e176448..72fc10b 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -4,10 +4,10 @@
AckisRecipeList.lua
-File date: @file-date-iso@
-File revision: @file-revision@
-Project revision: @project-revision@
-Project version: @project-version@
+File date: 2008-11-04T00:41:27Z
+File revision: 1021
+Project revision: 1028
+Project version: r1028
Author: Ackis on Illidan US Horde
GUI done by Zhinjio