Update of /cvsroot/pure-data/externals/pidip/modules In directory sc8-pr-cvs1:/tmp/cvs-serv4475
Modified Files: pdp_shape.c Log Message: Updated for PiDiP 0.12.10
Index: pdp_shape.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_shape.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pdp_shape.c 17 Oct 2003 20:58:57 -0000 1.1 --- pdp_shape.c 23 Oct 2003 17:18:59 -0000 1.2 *************** *** 340,344 **** x->x_cursX = (t_int) (X*(t_float)x->x_vwidth); x->x_cursY = (t_int) (Y*(t_float)x->x_vheight); ! post( "pdp_shape : pick color at : %d,%d", x->x_cursX, x->x_cursY ); if ( ( x->x_cursX >= 0 ) && ( x->x_cursX < x->x_vwidth ) && ( x->x_cursY >= 0 ) && ( x->x_cursY < x->x_vheight ) ) --- 340,344 ---- x->x_cursX = (t_int) (X*(t_float)x->x_vwidth); x->x_cursY = (t_int) (Y*(t_float)x->x_vheight); ! // post( "pdp_shape : pick color at : %d,%d", x->x_cursX, x->x_cursY ); if ( ( x->x_cursX >= 0 ) && ( x->x_cursX < x->x_vwidth ) && ( x->x_cursY >= 0 ) && ( x->x_cursY < x->x_vheight ) ) *************** *** 354,358 **** x->x_green = yuv_YUVtoG( y, u, v ); x->x_blue = yuv_YUVtoB( y, u, v ); ! post( "pdp_shape : picked color set to : %d,%d,%d", x->x_red, x->x_green, x->x_blue ); } } --- 354,358 ---- x->x_green = yuv_YUVtoG( y, u, v ); x->x_blue = yuv_YUVtoB( y, u, v ); ! // post( "pdp_shape : picked color set to : %d,%d,%d", x->x_red, x->x_green, x->x_blue ); } } *************** *** 382,386 **** wX = (t_int) (X*(t_float)x->x_vwidth); wY = (t_int) (Y*(t_float)x->x_vheight); ! post( "pdp_shape : detect %d %d", wX, wY ); if ( (wX<0) || (wX>x->x_vwidth) ) { --- 382,386 ---- wX = (t_int) (X*(t_float)x->x_vwidth); wY = (t_int) (Y*(t_float)x->x_vheight); ! // post( "pdp_shape : detect %d %d", wX, wY ); if ( (wX<0) || (wX>x->x_vwidth) ) { *************** *** 575,578 **** --- 575,579 ---- class_addmethod(pdp_shape_class, (t_method)pdp_shape_tolerance, gensym("tolerance"), A_FLOAT, A_NULL); class_addmethod(pdp_shape_class, (t_method)pdp_shape_paint, gensym("paint"), A_FLOAT, A_NULL); + class_addmethod(pdp_shape_class, (t_method)pdp_shape_luminosity, gensym("luminosity"), A_FLOAT, A_NULL);
}