Here's an example where some ds stuff is drawn outside the bounding box by hiding it before the gop dimensions are set. Move the red box to make the y-value and mouse-action appear.
For the y-value on the right, there's obviously a bug because if you quickly minimize and maximize the patch when it's visible, the gop box widens to compensate (in windows at least).
But the symbol to the left doesn't seem to affect the gop dimensions. I'm guessing this is because I set it's x-value to a negative number.
I'd assuming this works with filledpolygon, but I haven't tried it yet.
-Jonathan
--- On Mon, 1/19/09, Luke Iannini lukexipd@gmail.com wrote:
From: Luke Iannini lukexipd@gmail.com Subject: [PD] Yet more DS GUI excursions To: "PD list" pd-list@iem.at Date: Monday, January 19, 2009, 11:14 AM Here's another experiment with datastructure-based GUI replacements. As with Chris (with his recent excellent "expanding GUI" concept), I'm a big big fan of hiding complexity, and I also like keeping details and interaction "in context", as in, somehow connected to or growing from the control you're manipulating. Apple's doing this tons lately, e.g., the new iLife http://blog.cocoia.com/2009/01/07/iwork-ilife-09-ui-roundup/ ("HUD panel changes" is the only pic I can find, but there are many more examples in the new iMovie videos @ http://www.apple.com/ilife/imovie/).
So, this is a simple context-bubble sketch: dragging the slider reveals a bubble with two different interpretations of the slider's value. With the new "click" message, these could me more than transient datalayers, and could graduate to being actual interactive controls.
The biggest problem with this example is that the bounding box of the GOP needs to be bigger than the control to give room for the context popup to appear, meaning every control has a giant black rectangular halo. It would be really awesome if there was a way to hide that box, just like IOhannes added the option to hide the object name and arguments.
Another really nice addition to DS would be variable opacity, so when I do a filledpolygon I can specify 9005 as the color to get a transparent red rather than just 900. That would be of great use for both these context bubbles as well as, say, a sample range selection box where you can still see the sample data under the selection. And as ever, a way to specify a persistent z-index for DS is pretty essential for any complex use.
Okee, that's all for the moment Best Luke _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list