[PD-cvs] externals/miXed/shared/hammer gui.c,1.4,1.5

Krzysztof Czaja krzyszcz at users.sourceforge.net
Fri Dec 10 21:47:06 CET 2004


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

Modified Files:
	gui.c 
Log Message:
restricted debug garbage to krzYszcz, few fixes in toxy

Index: gui.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/shared/hammer/gui.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** gui.c	8 Dec 2004 15:40:13 -0000	1.4
--- gui.c	10 Dec 2004 20:47:03 -0000	1.5
***************
*** 11,15 ****
--- 11,17 ----
  #include "hammer/gui.h"
  
+ #ifdef KRZYSZCZ
  //#define HAMMERGUI_DEBUG
+ #endif
  
  static t_class *hammergui_class = 0;
***************
*** 28,31 ****
--- 30,34 ----
         -- after last master is unbound, and before gui bindings are cleared. */
  #ifdef HAMMERGUI_DEBUG
+     /* FIXME */
      startpost("%s", s->s_name);
      postatom(ac, av);
***************
*** 38,42 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("_up %g (sink %x)", f, (int)snk);
  #endif
      if (!snk->g_psmouse)
--- 41,45 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "_up %g (sink %x)\n", f, (int)snk);
  #endif
      if (!snk->g_psmouse)
***************
*** 76,80 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("_focus %s %g (sink %x)", (s ? s->s_name : "???"), f, (int)snk);
  #endif
      if (!snk->g_psfocus)
--- 79,84 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "_focus %s %g (sink %x)\n",
! 	    (s ? s->s_name : "???"), f, (int)snk);
  #endif
      if (!snk->g_psfocus)
***************
*** 95,99 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("_vised %s %g (sink %x)", (s ? s->s_name : "???"), f, (int)snk);
  #endif
      if (!snk->g_psvised)
--- 99,104 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "_vised %s %g (sink %x)\n",
! 	    (s ? s->s_name : "???"), f, (int)snk);
  #endif
      if (!snk->g_psvised)
***************
*** 121,125 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("dobindmouse (sink %x)", (int)snk);
  #endif
  #if 0
--- 126,130 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "dobindmouse (sink %x)\n", (int)snk);
  #endif
  #if 0
***************
*** 186,190 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("dobindvised (sink %x)", (int)snk);
  #endif
      sys_vgui("bind Canvas <<hammervised>> \
--- 191,195 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "dobindvised (sink %x)\n", (int)snk);
  #endif
      sys_vgui("bind Canvas <<hammervised>> \
***************
*** 225,230 ****
  	char *cname = class_getname(*ps_hashhammergui->s_thing);
  #ifdef HAMMERGUI_DEBUG
! 	post("'%s' already registered as the global hammergui sink ",
! 	     (cname ? cname : "???"));
  #endif
  	if (strcmp(cname, ps__hammergui->s_name))
--- 230,236 ----
  	char *cname = class_getname(*ps_hashhammergui->s_thing);
  #ifdef HAMMERGUI_DEBUG
! 	fprintf(stderr,
! 		"'%s' already registered as the global hammergui sink \n",
! 		(cname ? cname : "???"));
  #endif
  	if (strcmp(cname, ps__hammergui->s_name))
***************
*** 418,422 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("bindmouse, master %x", (int)master);
  #endif
      hammergui_validate(1);
--- 424,428 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "bindmouse, master %x\n", (int)master);
  #endif
      hammergui_validate(1);
***************
*** 507,511 ****
  {
  #ifdef HAMMERGUI_DEBUG
!     post("bindvised, master %x", (int)master);
  #endif
      hammergui_validate(1);
--- 513,517 ----
  {
  #ifdef HAMMERGUI_DEBUG
!     fprintf(stderr, "bindvised, master %x\n", (int)master);
  #endif
      hammergui_validate(1);





More information about the Pd-cvs mailing list