In the IupExpander code I used a IupTimer to control an expand/contract
animation. It works very nice.

The trick is to animate the position of the controls inside a backgroundbox
or native container so they get clipped instead of resized. But for the
whole dialog, for a generic effect like zoom out I don't know. Fade in is
possible with a very simple animation of the opacity attribute.

Best,
Scuri


On Tue, Sep 8, 2015 at 3:45 PM, Milind Gupta <milind.gu...@gmail.com> wrote:

> I wanted to animate the sliding of toolbars or popup of different dialogs
> in some cases. How do some programs do it?
>
> Thanks,
> Milind
>
>
> On Tue, Sep 8, 2015 at 11:42 AM, Antonio Scuri <sc...@tecgraf.puc-rio.br>
> wrote:
>
>>   You mean in offscreen? No.
>>
>>   What do you have in mind?
>>
>> Best,
>> Scuri
>>
>>
>> On Tue, Sep 8, 2015 at 3:38 PM, Milind Gupta <milind.gu...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>       Is it possible to convert a control to an image before making it
>>> visible, i.e. after mapping it? So it can be animated on the screen?
>>>
>>> Thanks,
>>> Milind
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Iup-users mailing list
>>> Iup-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to