[PD-cvs] pd/src desire.h,1.1.2.49.2.11,1.1.2.49.2.12

Mathieu Bouchard matju at users.sourceforge.net
Thu Dec 14 03:07:50 CET 2006


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

Modified Files:
      Tag: desiredata
	desire.h 
Log Message:
removed parentwidgetbehavior


Index: desire.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.h,v
retrieving revision 1.1.2.49.2.11
retrieving revision 1.1.2.49.2.12
diff -C2 -d -r1.1.2.49.2.11 -r1.1.2.49.2.12
*** desire.h	13 Dec 2006 15:26:43 -0000	1.1.2.49.2.11
--- desire.h	14 Dec 2006 02:07:48 -0000	1.1.2.49.2.12
***************
*** 84,88 ****
      t_listmethod    c_listmethod;
      t_anymethod     c_anymethod;
-     struct _parentwidgetbehavior *c_pwb;/* widget behavior in parent */
      t_savefn c_savefn;                  /* function to call when saving */
      int c_floatsignalin;                /* onset to float for signal input */
--- 84,87 ----
***************
*** 253,283 ****
  } t_linetraverser;
  
- /* -------- behaviors for scalars defined by objects in template --------- */
- /* these are set by "drawing commands" in g_template.c which add appearance to
- scalars, which live in some other window.  If the scalar is just included
- in a canvas the "parent" is a misnomer.  There is also a text scalar object
- which really does draw the scalar on the parent window; see g_scalar.c. */
- 
- /* note how the click function wants the whole scalar, not the "data", so
- doesn't work on array elements... LATER reconsider this */
- 
- #define STUFF t_gobj *x, t_canvas *canvas, t_word *data, t_template *tmpl
- typedef void (*t_parentgetrectfn)( STUFF, float basex, float basey, int *x1, int *y1, int *x2, int *y2);
- typedef void (*t_parentdisplacefn)(STUFF, float basex, float basey, int dx, int dy);
- typedef void (*t_parentselectfn)(  STUFF, float basex, float basey, int state);
- typedef void (*t_parentactivatefn)(STUFF, float basex, float basey, int state);
- typedef void (*t_parentvisfn)(     STUFF, float basex, float basey, int flag);
- typedef int  (*t_parentclickfn)(   STUFF, t_scalar *sc, t_array *ap,
- 	float basex, float basey, int xpix, int ypix, int shift, int alt, int dbl, int doit);
- 
- struct _parentwidgetbehavior {
-     t_parentgetrectfn  w_parentgetrectfn;
-     t_parentdisplacefn w_parentdisplacefn;
-     t_parentselectfn   w_parentselectfn;
-     t_parentactivatefn w_parentactivatefn;
-     t_parentvisfn      w_parentvisfn;
-     t_parentclickfn    w_parentclickfn;
- };
- 
  extern t_canvas *canvas_list; /* list of all root canvases */
  extern t_class *vinlet_class, *voutlet_class, *canvas_class;
--- 252,255 ----





More information about the Pd-cvs mailing list