cocos2d/cocos2d-x — pull request #1724 by edbartley (2012-12-04 20:56:49+00:00)
Title: CCScrollView and CCTableView updates

This pull request fixes an issue with CCScrollView scrolling incorrectly if the container items do not fill or exceed the ScrollView bounds. The issue can be observed by modifying TableViewTestLayer::numberOfCellsInTableView(…) in the ExtensionsTest/TableViewTest project from 20 cells to 2 cells.

This pull request also adds additional functionality to the CCTableView delegates:
1) adds CCTableViewDelegate::tableCellHighlight(...) to inform the delegate that a table cell is currently being pressed. Thus allowing the implementer to highlight the cell or perform some animation and provide visual feedback of the press to the user.

2) adds CCTableViewDelegate::tableCellUnhighlight(...) to inform the delegate that a table cell is no longer being pressed. Thus allowing the implementer to unhighlight the cell or perform some animation and provide visual feedback of the release to the user.