[PD] 'relocate' message

Jonathan Wilkes jancsika at yahoo.com
Sun Jan 3 02:22:30 CET 2010



--- On Sun, 1/3/10, Hans-Christoph Steiner <hans at at.or.at> wrote:

> From: Hans-Christoph Steiner <hans at at.or.at>
> Subject: [PD] 'relocate' message
> To: "Pd List" <pd-list at 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/pd-msg/1.msg_and_patch/6.relocate_windows..pd?view=log
> 
> 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


      





More information about the Pd-list mailing list