[PD-cvs] SF.net SVN: pure-data: [9750] branches/pd-extended/v0-40/pd/src
eighthave at users.sourceforge.net
eighthave at users.sourceforge.net
Thu May 1 15:31:32 CEST 2008
Revision: 9750
http://pure-data.svn.sourceforge.net/pure-data/?rev=9750&view=rev
Author: eighthave
Date: 2008-05-01 06:31:31 -0700 (Thu, 01 May 2008)
Log Message:
-----------
made sure that the cords are always on top, even with external GUIs, since the
new look has opaque boxes.
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/g_editor.c
branches/pd-extended/v0-40/pd/src/g_text.c
Modified: branches/pd-extended/v0-40/pd/src/g_editor.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/g_editor.c 2008-05-01 12:56:49 UTC (rev 9749)
+++ branches/pd-extended/v0-40/pd/src/g_editor.c 2008-05-01 13:31:31 UTC (rev 9750)
@@ -82,6 +82,7 @@
return;
}
(*x->g_pd->c_wb->w_visfn)(x, glist, flag);
+ sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
}
Modified: branches/pd-extended/v0-40/pd/src/g_text.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/g_text.c 2008-05-01 12:56:49 UTC (rev 9749)
+++ branches/pd-extended/v0-40/pd/src/g_text.c 2008-05-01 13:31:31 UTC (rev 9750)
@@ -1253,14 +1253,11 @@
outline = "$box_outline";
}
if (firsttime)
- {
sys_vgui(".x%lx.c create polygon %d %d %d %d %d %d %d %d %d %d \
-dash %s -outline %s -fill $obj_box_fill -tags %sR\n",
glist_getcanvas(glist),
x1, y1, x2, y1, x2, y2, x1, y2, x1, y1,
pattern, outline, tag);
- sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
- }
else
{
sys_vgui(".x%lx.c coords %sR %d %d %d %d %d %d %d %d %d %d\n",
@@ -1312,6 +1309,8 @@
if (ob = pd_checkobject(&x->te_pd))
glist_drawiofor(glist, ob, firsttime, tag, x1, y1, x2, y2);
+ if (firsttime) /* raise cords over everything else */
+ sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
void glist_eraseiofor(t_glist *glist, t_object *ob, char *tag)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Pd-cvs
mailing list