[PD] hide/show controls at runtime

Federico xaero at inwind.it
Sat Apr 22 00:39:53 CEST 2006


thanks for the patch

changing the send/receive symbol dinamically sound a good idea!
this could save a lot of patching with gui objects.

however it remains the problem of patching 128 or more cables to 
[select] and [f] ... eheh

[my post "suggestion... or question" tries to look at this problem]


ciao

-- 
Federico

Hans-Christoph Steiner wrote:

>
> I like the idea of morphing, here's a quick test of the idea:
>
>
> ------------------------------------------------------------------------
>
>
> I wonder if we could include such functionality in a library of GUI 
> objects which can dynamically hide and reshape themselves...
>
> .hc
>
>
> On Apr 18, 2006, at 2:50 AM, alexandre matheson wrote:
>
>> On closer inspection is isn't that difficult at all to store the 
>> previous states. See updated patch.
>> <guithing.pd>
>>
>> On 17-Apr-06, at 8:42 PM, alexandre matheson wrote:
>>
>>>
>>> On 17-Apr-06, at 7:59 PM, derek holzer wrote:
>>>
>>>> Roman Haefeli wrote:
>>>>
>>>>> i just checked the code: it seems like changing the page moves 
>>>>> some gui-objs out of the gop-window and others into the window 
>>>>> with [pos X Y(-messages. 
>>>>
>>>>
>>>> Send messages to resize your GUI objects to/from 0 width or 0 
>>>> height. They effectively "don't exist" if they are zero pixels high 
>>>> or wide (although they still use some CPU resources). You could 
>>>> even do it with [line], so that they seem to fade out or drop down.
>>>
>>>
>>> I tried this and it refused to resize below 2 by 8 on a hslider 
>>> which is too bad cause using line to make it morph is a really cool 
>>> idea.
>>>
>>> Maybe you could reuse the same gui objects for different parameters 
>>> by changing the send (see attached patch). The big problem with this 
>>> is storing the settings and having them recalled when you move from 
>>> one parameter to another.
>>> <guithing.pd>
>>>
>>>>
>>>> d.
>>>>
>>>> -- 
>>>> derek holzer ::: http://www.umatic.nl
>>>> ---Oblique Strategy # 14:
>>>> "Ask people to work against their better judgement"
>>>>
>>>> _______________________________________________
>>>> PD-list at iem.at <mailto:PD-list at iem.at> mailing list
>>>> UNSUBSCRIBE and account-management -> 
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>
>>> regards,
>>> Alexandre Matheson
>>> amatheso at alcor.concordia.ca <mailto:amatheso at alcor.concordia.ca>
>>> iChat: ealx at mac.com <mailto:ealx at mac.com>
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at <mailto:PD-list at iem.at> mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>> regards,
>> Alexandre Matheson
>> amatheso at alcor.concordia.ca <mailto:amatheso at alcor.concordia.ca>
>> iChat: ealx at mac.com <mailto:ealx at mac.com>
>>
>>
>> _______________________________________________
>> PD-list at iem.at <mailto:PD-list at iem.at> mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
> ____________________________________________________________________________
>
>
> "Looking at things from a more basic level, you can come up with a 
> more direct solution... It may sound small in theory, but it in 
> practice, it can change entire economies."
>
>                                                     - Amy Smith
>
>





More information about the Pd-list mailing list