[elm_animator.c]
authorChunEon Park <chuneon.park@samsung.com>
Tue, 13 Jul 2010 13:55:15 +0000 (22:55 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Tue, 13 Jul 2010 13:55:15 +0000 (22:55 +0900)
[elm_coverflow.c]

src/lib/elm_animator.c
src/lib/elm_coverflow.c

index 4b4098a..a649b0f 100644 (file)
@@ -286,10 +286,10 @@ elm_animator_add(Evas_Object *parent)
    elm_animator_auto_reverse_set(animator, EINA_FALSE);
    elm_animator_curve_style_set(animator, ELM_ANIMATOR_CURVE_LINEAR);
 
-   if (parent) {
-      evas_object_event_callback_add(parent, EVAS_CALLBACK_DEL,
-                                    _animator_parent_del, animator);
-       }
+//   if (parent) {
+  //    evas_object_event_callback_add(parent, EVAS_CALLBACK_DEL,
+//                                  _animator_parent_del, animator);
+//     }
 
    animator->parent = parent;
 
index 200312c..b1a87a7 100644 (file)
@@ -928,37 +928,32 @@ static void _mouse_up_ev( void* data, Evas* evas, Evas_Object* obj, void* event_
        wd->base_ani_data.from = wd->cur_pos.x;
        wd->sliding_vector = wd->ti_queue.tail->pos - wd->ti_queue.head->pos;
 
+       //TODO:Please check animator in direct_bouce and update_rotation_degree, bounce_to_left..
+
        //Rotation 
        if( wd->sliding_vector > 0 ) {
                wd->stack_raise = EINA_FALSE;
-               fprintf( stderr, "update roatation degree first!\n" );
                _update_rotation_degree( wd, 180 - ROTATION_DEGREE );
        }else {
                wd->stack_raise = EINA_TRUE;
-               fprintf( stderr, "update roatation degree second!\n" );
                _update_rotation_degree( wd, ROTATION_DEGREE );
        }
 
-       fprintf( stderr, "up!\n" );
-
        //Check Bouncing
        Evas_Coord w;
        evas_object_geometry_get( obj, NULL, NULL, &w, NULL );
        
        //bounce to left directly  
        if( wd->cur_pos.x > 0 ) {
-                         fprintf( stderr, "_direct_bounce! first\n" );
                _direct_bounce( wd, 0 );
                return ;
        //bounce to right directly
        }else if( wd->cur_pos.x + (Evas_Coord) wd->valid_item_length < w ) {
-                         fprintf( stderr, "_direct_bounce! second\n" );
                _direct_bounce( wd, w - (Evas_Coord) wd->valid_item_length );
                return ;
        }
 
        if( _bounce_to_left( wd ) == EINA_TRUE ) {
-                         fprintf( stderr, "_bounce_to_left!\n" );
                return ;
        }
 /*