Quantcast

ARL_RecipeScrollFrame is now MainPanel.scroll_frame, and is created at the top of the file instead of in addon:InitializeFrame()

Author torhal <torhal@dummy.example.com>
Author date 2009-11-20 13:22:39
Author local date 2009-11-20 13:22:39 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-11-20 13:22:39
Committer local date 2009-11-20 13:22:39 +0000
Commit 91f80407a0e344c489ed2081dbf89602d5cf205c
Tree f7fd307de0b4b03075b78450281ef15d29bb9a21
Parent 515b0d562c80da1826915cefc440487ed1d4163b
ARL_RecipeScrollFrame is now MainPanel.scroll_frame, and is created at the top of the file instead of in addon:InitializeFrame()
RecipeList_Update() is now MainPanel.scroll_frame:Update() - it and all associated code has been re-factored for clarity/efficiency.
Removed WipeDisplayStrings() and initDisplayStrings() - their code now resides in MainPanel.scroll_frame:Update().
addon.RecipeItem_OnClick() is now RecipeItem_OnClick(), is defined within a do block in addon:InitializeFrame(), and now utilizes a "self" parameter so it no longer needs to be set as a script from a closure.
RepFilterSwitch() is now a local function within a do block in addon:InitializeFrame().
ARL_ProgressBarText now uses :SetFormattedText() rather than :SetText() to help reduce garbage generation.
Removed the check for the old "Skill" sort type - certainly, nobody is still running a version of ARL that has it.
Renamed most of the DisplayString members.
Removed a plethora of whitespace.