ControlPoint pt = (ControlPoint) list.get(i);
g.translate(10+(width * pt.pos),y+barHeight);
g.setColor(pt.col);
g.fillPolygon(poly);
g.setColor(Color.black);
g.drawPolygon(poly);
if (pt == selected) {
g.drawLine(-5, 12, 5, 12);
}
g.translate(-10-(width * pt.pos),-y-barHeight);