Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/data/themes/taillights/programs


Modified Files:
        login_area_programs.edc session_list_area_programs.edc 
        user_list_area_programs.edc 
Added Files:
        show.edc 


Log Message:
more embryo, still haven't fixed the fonts or the positioning of the current selected 
session
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/programs/login_area_programs.edc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- login_area_programs.edc     25 Apr 2004 00:26:27 -0000      1.4
+++ login_area_programs.edc     25 Apr 2004 04:50:36 -0000      1.5
@@ -1,20 +1,4 @@
        program {
-           name, "LoginAreaShow";
-           source, "";
-           signal, "show";
-           action, STATE_SET "visible" 1.0;
-           target, "login_area_clip";
-           transition, SINUSOIDAL 0.5;
-       }
-       program {
-           name, "LoginAreaMoveShow";
-           source, "";
-           signal, "show";
-           action, DRAG_VAL_SET 0.5 0.5;
-           target, "login_border";
-           transition, SINUSOIDAL 0.5;
-       }
-       program {
            name, "ToPass";
            source, "";
            signal, "EntranceUserAuth";
@@ -33,14 +17,27 @@
            transition, SINUSOIDAL 0.4;
        }
        program {
-           name, "ShakeOffFail";
+           name, "BadUser";
+           source, "";
+           signal, "EntranceUserFail";
+           action, SIGNAL_EMIT "shake,start" "";
+       }
+       program {
+           name, "BadPass";
            source, "";
            signal, "EntranceUserAuthFail";
+           action, SIGNAL_EMIT "shake,start" "";
+       }
+       program {
+           name, "ShakeOffFail";
+           source, "";
+           signal, "shake,start";
            script {
-               if(get_int(login_shaking) == 0)
+               new i = get_int(login_shaking);
+               if(i == 0)
                {
                    set_float(login_area_align_x, 0.5);
-                   set_float(login_area_shaking_direction, 0);
+                   set_int(login_area_shaking_direction, 0);
                    set_int(login_shaking, 1);
                    anim(1.55, "shake_off_bad_user", 2);
                }
@@ -49,7 +46,7 @@
        program {
            name, "ShakeOffFailReset";
            source, "";
-           signal, "EntranceUserAuthFail";
+           signal, "shake,start";
            script {
                set_int(login_shaking, 0);
            }
@@ -57,15 +54,6 @@
            after, "FaceReset";
        }
        program {
-           name, "animate_e_logo";
-           source, "";
-           signal, "show";
-           action, STATE_SET "default" 0.0;
-           transition, LINEAR 6.5;
-           target, "animated_e_logo";
-           after, "animate_e_logo";
-       }
-       program {
            name, "UserSelectedFromList";
            source, "";
            signal, "UserSelected";
@@ -90,13 +78,5 @@
            action, STATE_SET "default" 0.0;
            target, "entrance_face_clip";
            target, "entrance_e_logo_clip";
-           transition, DECELERATE 0.25;
-       }
-       program {
-           name, "setup";
-           source, "show";
-           signal, "";
-           script {
-               set_int(login_shaking, 0);
-           }
+           transition, SINUSOIDAL 0.25;
        }
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/programs/session_list_area_programs.edc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- session_list_area_programs.edc      25 Apr 2004 00:26:27 -0000      1.8
+++ session_list_area_programs.edc      25 Apr 2004 04:50:36 -0000      1.9
@@ -2,10 +2,7 @@
                name, "show_session_menu";
                signal, "mouse,clicked,1";
                source, "session_mouse_area";
-               action, STATE_SET "visible" 1.0;
-               target, "session_list_clip";
-               target, "session_list_border";
-               transition, LINEAR 0.5;
+               action, SIGNAL_EMIT "session,list,in" "";
            }
            program {
                name, "show_session_menu2";
@@ -45,10 +42,7 @@
                name, "hide_session_menu";
                signal, "mouse,clicked,3";
                source, "bgimage";
-               action, STATE_SET "default" 0.0;
-               target, "session_list_clip";
-               target, "session_list_border";
-               transition, DECELERATE 0.5;
+               action, SIGNAL_EMIT "session,list,out" "";
            }
 #if 0
            program {
@@ -104,16 +98,65 @@
                name, "mouse_clicked_session_list_minimize";
                signal, "mouse,clicked,1";
                source, "session_list_minimize";
-               action, STATE_SET "default" 0.0;
-               target, "session_list_border";
-               transition, DECELERATE 0.25;
+               action, SIGNAL_EMIT "session,list,out" "";
            }
            program {
                name, "mouse_double_clicked_session_list_border";
                signal, "mouse,down,1,double";
                source, "session_list_border";
+               action, SIGNAL_EMIT "session,list,out" "";
+           }
+           /* ani out */
+           program {
+               name, "slide_out_session_list";
+               signal, "session,list,out";
+               source, "";
+               script {
+                   if(get_int(session_list_visible) == 1)
+                   {
+                       set_int(session_list_visible, 0);
+                       anim(1.0, "animate_session_list_out", 5);
+                       run_program(PROGRAM:"fade_out_session_list");
+                   }
+                   else
+                   {
+                       emit("FOO", "BAR");
+                   }
+               }
+           }
+           program {
+               name, "fade_out_session_list";
+               signal, "";
+               source, "";
                action, STATE_SET "default" 0.0;
-               target, "session_list_border";
-               transition, DECELERATE 0.3;
+               target, "session_list_clip";
+               target, "session_list_confine";
+               transition, LINEAR 0.95;
+           }
+           /* ani in */
+           program {
+               name, "slide_in_session_list";
+               signal, "session,list,in";
+               source, "";
+               script {
+                   if(get_int(session_list_visible) == 0)
+                   {
+                       set_int(session_list_visible, 1);
+                       anim(1.0, "animate_session_list_in", 5);
+                       run_program(PROGRAM:"fade_in_session_list");
+                   }
+                   else
+                   {
+                       emit("BAR", "QUIT");
+                   }
+               }
+           }
+           program {
+               name, "fade_in_session_list";
+               signal, "";
+               source, "";
+               action, STATE_SET "visible" 0.0;
+               target, "session_list_clip";
+               target, "session_list_confine";
+               transition, LINEAR 0.95;
            }
-
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/programs/user_list_area_programs.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- user_list_area_programs.edc 25 Apr 2004 00:26:27 -0000      1.3
+++ user_list_area_programs.edc 25 Apr 2004 04:50:36 -0000      1.4
@@ -1,11 +1,4 @@
            program {
-               name, "user_list_show";
-               signal, "show";
-               source, "";
-               action, DRAG_VAL_SET 0.0 0.0;
-               target, "user_list_border";
-           }
-           program {
                name, "show_user_menu";
                signal, "mouse,clicked,1";
                source, "session_mouse_area";
@@ -36,18 +29,21 @@
                signal, "user,list,out";
                source, "";
                script {
-                   new i;
-                   i = get_int(user_list_visible);
-                   if(i == 1)
+                   if(get_int(user_list_visible) == 1)
                    {
                        set_int(user_list_visible, 0);
-                       anim(1.0, "animate_user_list_out_callback", 5);
+                       anim(1.0, "animate_user_list_out", 5);
+                       run_program(PROGRAM:"fade_out_user_list");
+                   }
+                   else
+                   {
+                       emit("FOO", "BAR");
                    }
                }
            }
            program {
                name, "fade_out_user_list";
-               signal, "user,list,out";
+               signal, "";
                source, "";
                action, STATE_SET "default" 0.0;
                target, "user_list_clip";
@@ -60,18 +56,21 @@
                signal, "user,list,in";
                source, "";
                script {
-                   new i;
-                   i = get_int(user_list_visible);
-                   if(i == 0)
+                   if(get_int(user_list_visible) == 0)
                    {
                        set_int(user_list_visible, 1);
-                       anim(1.0, "animate_user_list_in_callback", 5);
+                       anim(1.0, "animate_user_list_in", 5);
+                       run_program(PROGRAM:"fade_in_user_list");
+                   }
+                   else
+                   {
+                       emit("BAR", "QUIT");
                    }
                }
            }
            program {
                name, "fade_in_user_list";
-               signal, "user,list,in";
+               signal, "";
                source, "";
                action, STATE_SET "visible" 0.0;
                target, "user_list_clip";




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to