EPhysics: test_soft_ellipsoid.c becomes test_soft_sphere.c
authorLeandro Dorileo <dorileo@profusion.mobi>
Tue, 11 Dec 2012 21:11:25 +0000 (21:11 +0000)
committerLeandro Dorileo <dorileo@profusion.mobi>
Tue, 11 Dec 2012 21:11:25 +0000 (21:11 +0000)
Following the renaming wave test_soft_ellipsoid.c is renamed to its
sphere counter part.

SVN revision: 80721

legacy/ephysics/src/bin/Makefile.am
legacy/ephysics/src/bin/test.c
legacy/ephysics/src/bin/test_soft_sphere.c [moved from legacy/ephysics/src/bin/test_soft_ellipsoid.c with 92% similarity]

index 6d93e3d..285f942 100644 (file)
@@ -50,7 +50,7 @@ test_sleeping_threshold.c \
 test_slider.c \
 test_soft_body.c \
 test_soft_button.c \
-test_soft_ellipsoid.c \
+test_soft_sphere.c \
 test_win_resize.c
 
 ephysics_logo_SOURCES = \
index 8f55489..39fe46e 100644 (file)
@@ -49,7 +49,7 @@ void test_sleeping(void *data, Evas_Object *obj, void *event_info);
 void test_slider(void *data, Evas_Object *obj, void *event_info);
 void test_soft_body(void *data, Evas_Object *obj, void *event_info);
 void test_soft_button(void *data, Evas_Object *obj, void *event_info);
-void test_soft_ellipsoid(void *data, Evas_Object *obj, void *event_info);
+void test_soft_sphere(void *data, Evas_Object *obj, void *event_info);
 void test_win_resize(void *data, Evas_Object *obj, void *event_info);
 
 static const EPhysics_Test tests[] = {
@@ -87,7 +87,7 @@ static const EPhysics_Test tests[] = {
        {"Slider", test_slider},
        {"Soft Body", test_soft_body},
        {"Soft Button", test_soft_button},
-       {"Soft Ellipsoid", test_soft_ellipsoid},
+       {"Soft Sphere", test_soft_sphere},
        {"Win Resize", test_win_resize},
 };
 
similarity index 92%
rename from legacy/ephysics/src/bin/test_soft_ellipsoid.c
rename to legacy/ephysics/src/bin/test_soft_sphere.c
index 393f17d..55353dc 100644 (file)
@@ -30,7 +30,7 @@ _mouse_down_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, v
 }
 
 static void
-_soft_ellipsoid_add(Test_Data *test_data, Evas_Object *front_face, Evas_Object *back_face)
+_soft_sphere_add(Test_Data *test_data, Evas_Object *front_face, Evas_Object *back_face)
 {
    EPhysics_Body *body;
    Evas_Coord w, h;
@@ -81,7 +81,7 @@ _world_populate(Test_Data *test_data)
    evas_object_show(back_face);
    test_data->evas_objs = eina_list_append(test_data->evas_objs, back_face);
 
-   _soft_ellipsoid_add(test_data, front_face, back_face);
+   _soft_sphere_add(test_data, front_face, back_face);
 }
 
 static void
@@ -95,7 +95,7 @@ _restart(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED_
 }
 
 void
-test_soft_ellipsoid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_soft_sphere(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
    EPhysics_World *world;
    Test_Data *test_data;
@@ -104,7 +104,7 @@ test_soft_ellipsoid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ev
      return;
 
    test_data = test_data_new();
-   test_win_add(test_data, "Soft Ellipsoid", EINA_TRUE);
+   test_win_add(test_data, "Soft Sphere", EINA_TRUE);
 
    elm_layout_signal_callback_add(test_data->layout, "restart", "test-theme",
                                   _restart, test_data);