diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2003-09-15 16:54:29 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2003-09-15 16:54:29 +0000 |
commit | 4e63ca0a66ba3b0e34a8a817a421a60ae2cd3eb8 (patch) | |
tree | 8e9e6d6b4ac62e4591de08cb8622b024cddc04ea | |
parent | 1b1c7f613b147566cbb354f25cd25a0276d2770f (diff) |
added fatom text attribute
svn path=/trunk/externals/ggee/; revision=972
-rw-r--r-- | gui/gcanvas.c | 4 | ||||
-rwxr-xr-x | gui/slider.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/gcanvas.c b/gui/gcanvas.c index 656820f..dccba01 100644 --- a/gui/gcanvas.c +++ b/gui/gcanvas.c @@ -33,11 +33,11 @@ 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 "BACKGROUNDCOLOR"\n",
+%d %d %d %d -tags %xS -fill %s\n",
glist_getcanvas(glist),
x->x_obj.te_xpix, x->x_obj.te_ypix,
x->x_obj.te_xpix + x->x_width, x->x_obj.te_ypix + x->x_height,
- x);
+ x,x->x_color);
}
else {
sys_vgui(".x%x.c coords %xS \
diff --git a/gui/slider.c b/gui/slider.c index ecb3bf6..140f7c3 100755 --- a/gui/slider.c +++ b/gui/slider.c @@ -29,7 +29,7 @@ static void *slider_new(t_floatarg max, t_floatarg min, t_floatarg h) { t_fatom *x = (t_fatom *)pd_new(slider_class); x->x_type = gensym("vslider"); - return fatom_new(x,max,min,h); + return fatom_new(x,max,min,h,&s_); } |