From ddcfe2037ad0146e7f99f92deb2ba8aff13690ab Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sun, 20 Mar 2011 07:33:10 -0500 Subject: [PATCH] Updated the comments on createScrollableTieredList --- weights.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weights.lua b/weights.lua index c87c4cd..4255d3e 100644 --- a/weights.lua +++ b/weights.lua @@ -453,12 +453,12 @@ local function createSublist(template, containingFrame, categoryType, defaultEle return numElements end --- TODO: update the notes here -- Creates a tiered list that can be scrolled -- template is a table of key-value pairs with text keys as the categories their values as a template, and numeric keys's values as items -- scrollFrame is the scrollframe that controls scrolledFrame -- NOTE: scrollFrame must have an OnShow handler that updates the scrollbar -- scrolledFrame is the frame that will hold everything +-- categoryType is the category template type -- elementType is the element template type -- elementHeight is the height of each element -- nameTable is a table that will return the display name for each item and category name -- 1.7.9.5