[PD-cvs] externals/miXed/pddp build_counter, 1.2, 1.3 notes.txt, 1.2, 1.3 pddplink.c, 1.2, 1.3

Krzysztof Czaja krzyszcz at users.sourceforge.net
Mon Jun 13 22:41:53 CEST 2005


Update of /cvsroot/pure-data/externals/miXed/pddp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21923/pddp

Modified Files:
	build_counter notes.txt pddplink.c 
Log Message:
toxy alpha19 and pddp alpha3 (see notes.txt for toxy and pddp)

Index: notes.txt
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/pddp/notes.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** notes.txt	30 May 2005 09:29:25 -0000	1.2
--- notes.txt	13 Jun 2005 20:41:51 -0000	1.3
***************
*** 5,8 ****
--- 5,14 ----
  DONE for pddp
  
+ alpha3
+   * .pd back-link tries not to open patches that are already open:
+     if a patch window already exists, it is raised and given focus instead
+   * new option "-gop" (visible in a gop)
+   * bug fix: unclickable in gop, unless visible
+ 
  alpha2
    * loading tcl scripts through "package require pddp":

Index: pddplink.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/pddp/pddplink.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pddplink.c	30 May 2005 09:29:25 -0000	1.2
--- pddplink.c	13 Jun 2005 20:41:51 -0000	1.3
***************
*** 26,29 ****
--- 26,30 ----
      t_glist   *x_glist;
      int        x_isboxed;
+     int        x_isgopvisible;
      char      *x_vistext;
      int        x_vissize;
***************
*** 114,134 ****
  {
      t_pddplink *x = (t_pddplink *)z;
      if (vis)
      {
!         if (glist->gl_havewindow)
          {
-             t_rtext *y = glist_findrtext(glist, (t_text *)x);
              rtext_draw(y);
  	    sys_vgui(".x%lx.c itemconfigure %s -text {%s} -fill magenta\n",
! 		     glist, rtext_gettag(y), x->x_vistext);
          }
      }
      else
      {
!         if (glist->gl_havewindow)
! 	{
! 	    t_rtext *y = glist_findrtext(glist, (t_text *)x);
              rtext_erase(y);
- 	}
      }
  }
--- 115,134 ----
  {
      t_pddplink *x = (t_pddplink *)z;
+     t_rtext *y;
      if (vis)
      {
!         if ((glist->gl_havewindow || x->x_isgopvisible)
!             && (y = glist_findrtext(glist, (t_text *)x)))
          {
              rtext_draw(y);
  	    sys_vgui(".x%lx.c itemconfigure %s -text {%s} -fill magenta\n",
! 		     glist_getcanvas(glist), rtext_gettag(y), x->x_vistext);
          }
      }
      else
      {
!         if ((glist->gl_havewindow || x->x_isgopvisible)
! 	    && (y = glist_findrtext(glist, (t_text *)x)))
              rtext_erase(y);
      }
  }
***************
*** 189,196 ****
  			    int shift, int alt, int dbl, int doit)
  {
!     if (doit)
! 	pddplink_click((t_pddplink *)z, (t_floatarg)xpix, (t_floatarg)ypix,
! 		       (t_floatarg)shift, 0, (t_floatarg)alt);
!     return (1);
  }
  
--- 189,201 ----
  			    int shift, int alt, int dbl, int doit)
  {
!     t_pddplink *x = (t_pddplink *)z;
!     if (glist->gl_havewindow || x->x_isgopvisible)
!     {
! 	if (doit)
! 	    pddplink_click(x, (t_floatarg)xpix, (t_floatarg)ypix,
! 			   (t_floatarg)shift, 0, (t_floatarg)alt);
! 	return (1);
!     }
!     else return (0);
  }
  
***************
*** 295,298 ****
--- 300,304 ----
      int skip;
      xgen.x_isboxed = 0;
+     xgen.x_isgopvisible = 0;
      xgen.x_vistext = 0;
      xgen.x_vissize = 0;
***************
*** 308,311 ****
--- 314,319 ----
  	    if (opt == gensym("-box"))
  		xgen.x_isboxed = 1;
+ 	    else if (opt == gensym("-gop"))
+ 		xgen.x_isgopvisible = 1;
  	    else if (opt == gensym("-text"))
  	    {
***************
*** 324,327 ****
--- 332,336 ----
  
      x->x_isboxed = xgen.x_isboxed;
+     x->x_isgopvisible = xgen.x_isgopvisible;
      x->x_vistext = xgen.x_vistext;
      x->x_vissize = xgen.x_vissize;

Index: build_counter
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/pddp/build_counter,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** build_counter	30 May 2005 09:29:25 -0000	1.2
--- build_counter	13 Jun 2005 20:41:51 -0000	1.3
***************
*** 1,7 ****
  #define PDDP_VERSION "0.1"
  #define PDDP_RELEASE "alpha"
! #define PDDP_BUILD 2
  
  #if 0
! PDDP_SNAPSHOT = 0.1-alpha2
  #endif
--- 1,7 ----
  #define PDDP_VERSION "0.1"
  #define PDDP_RELEASE "alpha"
! #define PDDP_BUILD 3
  
  #if 0
! PDDP_SNAPSHOT = 0.1-alpha3
  #endif





More information about the Pd-cvs mailing list