[PD-cvs] externals/ggee/gui button.c,1.14,1.15 fatom.h,1.13,1.14
Guenter Geiger
ggeiger at users.sourceforge.net
Sun Oct 17 23:31:34 CEST 2004
Update of /cvsroot/pure-data/externals/ggee/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20275
Modified Files:
button.c fatom.h
Log Message:
fixed minimized window behaviour
Index: fatom.h
===================================================================
RCS file: /cvsroot/pure-data/externals/ggee/gui/fatom.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** fatom.h 25 Jul 2004 15:01:14 -0000 1.13
--- fatom.h 17 Oct 2004 21:31:32 -0000 1.14
***************
*** 2,6 ****
#define x_val a_pos.a_w.w_float
! #define DEBUG(x)
#include <string.h>
--- 2,6 ----
#define x_val a_pos.a_w.w_float
! #define DEBUG(x)
#include <string.h>
***************
*** 93,97 ****
{
t_canvas *canvas=glist_getcanvas(glist);
!
if (!strcmp(x->x_type->s_name,"vslider")) {
x->x_rect_width = x->x_width+15;
--- 93,98 ----
{
t_canvas *canvas=glist_getcanvas(glist);
! post("slider create widget");
! sys_vgui("destroy .x%x.c.s%x\n",glist_getcanvas(glist),x);
if (!strcmp(x->x_type->s_name,"vslider")) {
x->x_rect_width = x->x_width+15;
***************
*** 205,208 ****
--- 206,210 ----
create_widget(x,glist);
x->x_glist = canvas;
+ post("create window to hold widget");
sys_vgui(".x%x.c create window %d %d -anchor nw -window .x%x.c.s%x -tags %xS\n",
canvas,text_xpix(&x->x_obj, glist), text_ypix(&x->x_obj, glist)+2,x->x_glist,x,x);
***************
*** 412,416 ****
else x->x_width = 15;
-
x->x_color = gensym("grey");
x->x_bgcolor = gensym("grey");
--- 414,417 ----
Index: button.c
===================================================================
RCS file: /cvsroot/pure-data/externals/ggee/gui/button.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** button.c 25 Jul 2004 15:01:14 -0000 1.14
--- button.c 17 Oct 2004 21:31:31 -0000 1.15
***************
*** 112,116 ****
text[i] = ' ';
}
!
sys_vgui("button .x%x.c.s%x -height %d -text \"%s\" -command button_cb%x\n",canvas,x,
x->x_height,text,
--- 112,116 ----
text[i] = ' ';
}
! sys_vgui("destroy .x%x.c.s%x\n",glist_getcanvas(glist),x);
sys_vgui("button .x%x.c.s%x -height %d -text \"%s\" -command button_cb%x\n",canvas,x,
x->x_height,text,
More information about the Pd-cvs
mailing list