Reposted from the edevelop forum, as no-one biting there ...

I have some backgrounds that have animations that are triggered by mouse 
events. How do I prevent a program from interrupting another program? 
For example if the user causes a mouse event, and then another one, how 
do I stop the 2nd mouse event from clobbering the 1st one, so that the 
animation continues playing and doesn't jump back to the start?

Small code clip:

                        program
                        {
                                name:           "logo_animate";
                                signal:         "mouse,in";
                                source:         "logo";
                                action:         STATE_SET "default" 0.0;
                                transition:     LINEAR 6.0;
                                target:         "logo";
                        }


So, can I block any further signals from being fired while the program 
is running? Or set a flag and check it before running? Or something?


Dan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to