[PD] hide/show controls at runtime

alexandre matheson amatheso at alcor.concordia.ca
Tue Apr 18 02:50:49 CEST 2006


On closer inspection is isn't that difficult at all to store the  
previous states. See updated patch.

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 mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>>
>
> regards,
> Alexandre Matheson
> amatheso at alcor.concordia.ca
> iChat: ealx at mac.com
>
>
> _______________________________________________
> 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
iChat: ealx at mac.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060417/dd339c54/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guithing.pd
Type: application/octet-stream
Size: 743 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060417/dd339c54/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060417/dd339c54/attachment-0001.htm>


More information about the Pd-list mailing list