Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2936
Modified Files: Tag: impd_0_37 g_hslider.c Log Message: fix (upside-down vslider)
Index: g_hslider.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_hslider.c,v retrieving revision 1.1.1.3.2.2.2.15 retrieving revision 1.1.1.3.2.2.2.16 diff -C2 -d -r1.1.1.3.2.2.2.15 -r1.1.1.3.2.2.2.16 *** g_hslider.c 27 Apr 2004 18:09:34 -0000 1.1.1.3.2.2.2.15 --- g_hslider.c 27 Apr 2004 18:39:07 -0000 1.1.1.3.2.2.2.16 *************** *** 187,191 **** int m = (isvert(x) ? x->x_gui.x_h : x->x_gui.x_w)*100 - 100; x->x_pos += (x->x_gui.x_finemoved ? 1 : 100) ! * (int)(isvert(x) ? dy : dx); x->x_val = x->x_pos; if(x->x_val > m) {x->x_val = m; x->x_pos += 50; x->x_pos -= x->x_pos%100;} --- 187,191 ---- int m = (isvert(x) ? x->x_gui.x_h : x->x_gui.x_w)*100 - 100; x->x_pos += (x->x_gui.x_finemoved ? 1 : 100) ! * (int)(isvert(x) ? -dy : dx); x->x_val = x->x_pos; if(x->x_val > m) {x->x_val = m; x->x_pos += 50; x->x_pos -= x->x_pos%100;}