2012-09-09 22:34:32 +08:00
|
|
|
#include "CustomTableViewCell.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
|
|
|
|
|
|
|
void CustomTableViewCell::draw()
|
|
|
|
{
|
2013-06-20 14:17:10 +08:00
|
|
|
TableViewCell::draw();
|
2012-09-09 22:34:32 +08:00
|
|
|
// draw bounding box
|
2013-06-20 14:17:10 +08:00
|
|
|
// Point pos = getPosition();
|
2013-07-12 14:30:26 +08:00
|
|
|
// Size size = Size(178, 200);
|
2013-06-20 14:17:10 +08:00
|
|
|
// Point vertices[4]={
|
2012-09-09 22:34:32 +08:00
|
|
|
// ccp(pos.x+1, pos.y+1),
|
|
|
|
// ccp(pos.x+size.width-1, pos.y+1),
|
|
|
|
// ccp(pos.x+size.width-1, pos.y+size.height-1),
|
|
|
|
// ccp(pos.x+1, pos.y+size.height-1),
|
|
|
|
// };
|
|
|
|
// ccDrawColor4B(0, 0, 255, 255);
|
|
|
|
// ccDrawPoly(vertices, 4, true);
|
|
|
|
}
|