On Jan 2, 2010, at 8:22 PM, Jonathan Wilkes wrote:
--- On Sun, 1/3/10, Hans-Christoph Steiner hans@at.or.at wrote:
From: Hans-Christoph Steiner hans@at.or.at Subject: [PD] 'relocate' message To: "Pd List" pd-list@iem.at Date: Sunday, January 3, 2010, 12:00 AM
Is anyone using the 'relocate' message to move/resize windows in Pd? I ask because I want to simplify that code and the message itself in pd-gui-rewrite 0.43. Its currently a very strange format, and it no longer needs to be.
Here's the only working example that I know of: http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/doc/additional/p...
The idea is to make the message like this:
"relocate WIDTHxHEIGHT+XLoc+YLoc"
Currently its like this:
"relocate WIDTHxHEIGHT+0+0 0x0+XLoc+YLoc"
.hc
Hi Hans, Is there a reason the message can't simply be "relocate WIDTH
HEIGHT XLoc Yloc"? Whether using pd-ext or vanilla, I've always thought it
seems really awkward to cram the coordinates into one big symbol.-Jonathan
Hmm, that makes sense. I wonder if this should just have the same
syntax as 'canvas', so:
relocate x1 y1 x2 y2
Where x is the upper left corner, and y is the lower right corner.
.hc
There is no way to peace, peace is the way. -A.J. Muste