2011-07-28, 00:06
Why does it need to be different for fixed/wrapped and lists/panels exactly? I would have thought all that would change is the allowed "slots" that the center of the interval may take.
eg for a list the slots would be 0 and m_itemsPerPage-1. From each of these you'd move down K and up K to give [-K, m_itemsPerPage+K-1].
For a wrap list that centers at slot C, you'd just have [C-K, C+K]?
Cheers,
Jonathan
eg for a list the slots would be 0 and m_itemsPerPage-1. From each of these you'd move down K and up K to give [-K, m_itemsPerPage+K-1].
For a wrap list that centers at slot C, you'd just have [C-K, C+K]?
Cheers,
Jonathan