Update of /cvsroot/pure-data/externals/ggee/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14219/ggee/gui
Modified Files: gcanvas.c Log Message: Something weird is going on with CR, have to check that later
Index: gcanvas.c =================================================================== RCS file: /cvsroot/pure-data/externals/ggee/gui/gcanvas.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gcanvas.c 27 Oct 2003 18:23:10 -0000 1.3 --- gcanvas.c 22 May 2005 13:17:33 -0000 1.4 *************** *** 1,35 **** ! /* (C) Guenter Geiger geiger@xdv.org */ ! ! ! #include <m_pd.h> ! #include "g_canvas.h" ! ! /* ------------------------ gcanvas ----------------------------- */ ! ! ! #define BACKGROUNDCOLOR "grey" ! ! #define DEFAULTSIZE 80 ! ! static t_class *gcanvas_class; ! ! typedef struct _gcanvas ! { ! t_object x_obj; ! t_glist * x_glist; ! t_outlet* out2; ! int x_width; ! int x_height; ! int x; ! int y; ! } t_gcanvas; ! ! /* widget helper functions */ ! ! void gcanvas_drawme(t_gcanvas *x, t_glist *glist, int firsttime) { if (firsttime) { ! sys_vgui(".x%x.c create rectangle \ ! %d %d %d %d -tags %xS -fill %s\n", glist_getcanvas(glist), x->x_obj.te_xpix, x->x_obj.te_ypix, --- 1,34 ---- ! /* (C) Guenter Geiger geiger@xdv.org */ ! ! ! #include <m_pd.h> ! #include "g_canvas.h" ! ! /* ------------------------ gcanvas ----------------------------- */ ! ! ! #define BACKGROUNDCOLOR "grey" ! ! #define DEFAULTSIZE 80 ! ! static t_class *gcanvas_class; ! ! typedef struct _gcanvas ! { ! t_object x_obj; ! t_glist * x_glist; ! t_outlet* out2; ! int x_width; ! int x_height; ! int x; ! int y; ! } t_gcanvas; ! ! /* widget helper functions */ ! ! void gcanvas_drawme(t_gcanvas *x, t_glist *glist, int firsttime) { if (firsttime) { ! sys_vgui(".x%x.c create rectangle %d %d %d %d -tags %xS -fill %s\n", glist_getcanvas(glist), x->x_obj.te_xpix, x->x_obj.te_ypix, *************** *** 38,42 **** } else { ! sys_vgui(".x%x.c coords %xS \ %d %d %d %d\n", glist_getcanvas(glist), x, --- 37,41 ---- } else { ! sys_vgui(".x%x.c coords %xS \ %d %d %d %d\n", glist_getcanvas(glist), x,