[PD-cvs] pd/src desire.c,1.1.2.217.2.230,1.1.2.217.2.231

Mathieu Bouchard matju at users.sourceforge.net
Sun Aug 19 07:04:07 CEST 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2438

Modified Files:
      Tag: desiredata
	desire.c 
Log Message:
fix previous commit


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.230
retrieving revision 1.1.2.217.2.231
diff -C2 -d -r1.1.2.217.2.230 -r1.1.2.217.2.231
*** desire.c	19 Aug 2007 04:44:30 -0000	1.1.2.217.2.230
--- desire.c	19 Aug 2007 05:04:01 -0000	1.1.2.217.2.231
***************
*** 790,797 ****
  }
  
! /* When you ask a canvas its size the result is 2 pixels more than what
!    you gave it to open it; perhaps there's a 1-pixel border all around it
!    or something.  Anyway, we just add the 2 pixels back here; seems we
!    have to do this for linux but not MSW; not sure about MacOS. */
  #ifdef MSW
  #define HORIZBORDER 0
--- 790,796 ----
  }
  
! /* When you ask a canvas its size the result is 2 pixels more than what you gave it to open it;
!    perhaps there's a 1-pixel border all around it or something. Anyway, we just add the 2 pixels back here;
!    seems we have to do this for linux but not MSW; not sure about MacOS. */
  #ifdef MSW
  #define HORIZBORDER 0
***************
*** 6511,6519 ****
  
  static void cnv_get_pos(t_cnv *x) {
!     if(x->snd && x->snd->thing) {
! 	x->at[0].a_float = text_xpix(x, x->canvas);
! 	x->at[1].a_float = text_ypix(x, x->canvas);
! 	pd_list(x->snd->thing, &s_list, 2, x->at);
!     }
  }
  
--- 6510,6515 ----
  
  static void cnv_get_pos(t_cnv *x) {
!     error("unimplemented (TODO)");
! //    if(x->snd && x->snd->thing) {x->at[0].a_float = x; x->at[1].a_float = y; pd_list(x->snd->thing, &s_list, 2, x->at);}
  }
  
***************
*** 6966,6977 ****
      class_sethelpsymbol(c, gensym("vu"));
  
-     c = dropper_class = class_new2("dropper",dropper_new,iemgui_free,sizeof(t_dropper),0,"*");
-     iemgui_subclass(c);
-     class_addbang(c, dropper_bang);
-     class_addsymbol(c, dropper_symbol);
-     class_addmethod2(c,dropper_reload,"reload","*");
-     class_setsavefn(c, (t_savefn)dropper_savefn);
-     class_sethelpsymbol(c, gensym("dropper"));
- 
      visualloader_class = class_new2("#V",visualloader_new,visualloader_free,sizeof(t_object),CLASS_GOBJ,"*");
      class_addanything(visualloader_class,visualloader_anything);
--- 6962,6965 ----





More information about the Pd-cvs mailing list