解决方案 »
- android vpn实现 ,求大神帮助
- Android连接服务器跟服务器连接数据库的问题.
- android 获取SD卡 所有图片 ?????????
- 从一个Activity跳转到另一个Activity,发生FATAL EXCEPTION:main错误求解决!
- android 应用层 如何 发送at命令
- 摄像头预览 显示有不清晰
- 在android中的service中怎样使用SharedPreferences?
- Android自定义 的TextView有些属性无效
- viewflipper中的子元素,比如说是个layout,能让这个layout中的button获取到焦点吗
- android gps gettime 一直返回-2881000?求教原因
- 真机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://