void box_handler::motion( event& e ) { // if dragging stretch if (dragging) { id.del(); id = c->rectangle(x,y,e.x(),e.y()); // x and y are fixed } }
void box_handler::motion( event& e ) { // if dragging stretch if (dragging) { id.del(); id = c->rectangle(x,y,e.x(),e.y()); // x and y are fixed } }