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]={
|
2013-07-12 18:04:32 +08:00
|
|
|
// Point(pos.x+1, pos.y+1),
|
|
|
|
// Point(pos.x+size.width-1, pos.y+1),
|
|
|
|
// Point(pos.x+size.width-1, pos.y+size.height-1),
|
|
|
|
// Point(pos.x+1, pos.y+size.height-1),
|
2012-09-09 22:34:32 +08:00
|
|
|
// };
|
2013-07-26 05:49:43 +08:00
|
|
|
// DrawPrimitives::drawColor4B(0, 0, 255, 255);
|
|
|
|
// DrawPrimitives::drawPoly(vertices, 4, true);
|
2012-09-09 22:34:32 +08:00
|
|
|
}
|