解决方案 »
- android 修改preference中view属性(title,summary字体颜色等)
- android 如何将图片转换成Byte[]数组
- SQlLite一个关键字多个匹配项的查询有问
- 如何自己定制view,并在指定位置添加图片?
- 请教:如何区别点击事件和滑屏事件,不要通过判断滑动距离的那种判断方式
- android执行某个方法后,想停顿3秒,然后去执行另外一个 方法
- 跪求android4.0开发入门书籍Pdf
- 安卓关于上传文件到服务器
- Android有没有好用点的模拟器
- Error:Unable to start the daemon process.
- 真机Nexus4,adb shell 问题:device not found
- android 发送mail实现
void CCTableView::ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent)
{
if (!this->isVisible()) {
return;
} if (m_pTouchedCell){
CCRect bb=this->boundingBox();
CCPoint nodepos=m_pParent->convertTouchToNodeSpace(pTouch);
if (bb.containsPoint(nodepos)) {
m_pTableViewDelegate->tableCellUnhighlight(this, m_pTouchedCell);
m_pTableViewDelegate->tableCellTouched(this, m_pTouchedCell);
}
m_pTouchedCell=NULL;
// CCRect bb = this->boundingBox();
// bb.origin = m_pParent->convertToWorldSpace(bb.origin);
//
// if (bb.containsPoint(pTouch->getLocation()) && m_pTableViewDelegate != NULL)
// {
// m_pTableViewDelegate->tableCellUnhighlight(this, m_pTouchedCell);
// m_pTableViewDelegate->tableCellTouched(this, m_pTouchedCell);
// }
//
// m_pTouchedCell = NULL;
} CCScrollView::ccTouchEnded(pTouch, pEvent);
}http://