summaryrefslogtreecommitdiff
path: root/legacy/ephysics
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-12-11 21:11:25 +0000
committerLeandro Dorileo <dorileo@profusion.mobi>2012-12-11 21:11:25 +0000
commitd516515d476b6ff220e6d9d58e236e2c1696e9f7 (patch)
tree8a07b775ce3fc2116172b7042be7cd5907edcd09 /legacy/ephysics
parent547ade5f6cfd11da1317fb4a8739234bd337bbf3 (diff)
EPhysics: test_soft_ellipsoid.c becomes test_soft_sphere.c
Following the renaming wave test_soft_ellipsoid.c is renamed to its sphere counter part. SVN revision: 80721
Diffstat (limited to 'legacy/ephysics')
-rw-r--r--legacy/ephysics/src/bin/Makefile.am2
-rw-r--r--legacy/ephysics/src/bin/test.c4
-rw-r--r--legacy/ephysics/src/bin/test_soft_sphere.c (renamed from legacy/ephysics/src/bin/test_soft_ellipsoid.c)8
3 files changed, 7 insertions, 7 deletions
diff --git a/legacy/ephysics/src/bin/Makefile.am b/legacy/ephysics/src/bin/Makefile.am
index 6d93e3dd64..285f942a26 100644
--- a/legacy/ephysics/src/bin/Makefile.am
+++ b/legacy/ephysics/src/bin/Makefile.am
@@ -50,7 +50,7 @@ test_sleeping_threshold.c \
50test_slider.c \ 50test_slider.c \
51test_soft_body.c \ 51test_soft_body.c \
52test_soft_button.c \ 52test_soft_button.c \
53test_soft_ellipsoid.c \ 53test_soft_sphere.c \
54test_win_resize.c 54test_win_resize.c
55 55
56ephysics_logo_SOURCES = \ 56ephysics_logo_SOURCES = \
diff --git a/legacy/ephysics/src/bin/test.c b/legacy/ephysics/src/bin/test.c
index 8f55489150..39fe46e07d 100644
--- a/legacy/ephysics/src/bin/test.c
+++ b/legacy/ephysics/src/bin/test.c
@@ -49,7 +49,7 @@ void test_sleeping(void *data, Evas_Object *obj, void *event_info);
49void test_slider(void *data, Evas_Object *obj, void *event_info); 49void test_slider(void *data, Evas_Object *obj, void *event_info);
50void test_soft_body(void *data, Evas_Object *obj, void *event_info); 50void test_soft_body(void *data, Evas_Object *obj, void *event_info);
51void test_soft_button(void *data, Evas_Object *obj, void *event_info); 51void test_soft_button(void *data, Evas_Object *obj, void *event_info);
52void test_soft_ellipsoid(void *data, Evas_Object *obj, void *event_info); 52void test_soft_sphere(void *data, Evas_Object *obj, void *event_info);
53void test_win_resize(void *data, Evas_Object *obj, void *event_info); 53void test_win_resize(void *data, Evas_Object *obj, void *event_info);
54 54
55static const EPhysics_Test tests[] = { 55static const EPhysics_Test tests[] = {
@@ -87,7 +87,7 @@ static const EPhysics_Test tests[] = {
87 {"Slider", test_slider}, 87 {"Slider", test_slider},
88 {"Soft Body", test_soft_body}, 88 {"Soft Body", test_soft_body},
89 {"Soft Button", test_soft_button}, 89 {"Soft Button", test_soft_button},
90 {"Soft Ellipsoid", test_soft_ellipsoid}, 90 {"Soft Sphere", test_soft_sphere},
91 {"Win Resize", test_win_resize}, 91 {"Win Resize", test_win_resize},
92}; 92};
93 93
diff --git a/legacy/ephysics/src/bin/test_soft_ellipsoid.c b/legacy/ephysics/src/bin/test_soft_sphere.c
index 393f17d8cd..55353dc8df 100644
--- a/legacy/ephysics/src/bin/test_soft_ellipsoid.c
+++ b/legacy/ephysics/src/bin/test_soft_sphere.c
@@ -30,7 +30,7 @@ _mouse_down_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, v
30} 30}
31 31
32static void 32static void
33_soft_ellipsoid_add(Test_Data *test_data, Evas_Object *front_face, Evas_Object *back_face) 33_soft_sphere_add(Test_Data *test_data, Evas_Object *front_face, Evas_Object *back_face)
34{ 34{
35 EPhysics_Body *body; 35 EPhysics_Body *body;
36 Evas_Coord w, h; 36 Evas_Coord w, h;
@@ -81,7 +81,7 @@ _world_populate(Test_Data *test_data)
81 evas_object_show(back_face); 81 evas_object_show(back_face);
82 test_data->evas_objs = eina_list_append(test_data->evas_objs, back_face); 82 test_data->evas_objs = eina_list_append(test_data->evas_objs, back_face);
83 83
84 _soft_ellipsoid_add(test_data, front_face, back_face); 84 _soft_sphere_add(test_data, front_face, back_face);
85} 85}
86 86
87static void 87static void
@@ -95,7 +95,7 @@ _restart(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED_
95} 95}
96 96
97void 97void
98test_soft_ellipsoid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) 98test_soft_sphere(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
99{ 99{
100 EPhysics_World *world; 100 EPhysics_World *world;
101 Test_Data *test_data; 101 Test_Data *test_data;
@@ -104,7 +104,7 @@ test_soft_ellipsoid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ev
104 return; 104 return;
105 105
106 test_data = test_data_new(); 106 test_data = test_data_new();
107 test_win_add(test_data, "Soft Ellipsoid", EINA_TRUE); 107 test_win_add(test_data, "Soft Sphere", EINA_TRUE);
108 108
109 elm_layout_signal_callback_add(test_data->layout, "restart", "test-theme", 109 elm_layout_signal_callback_add(test_data->layout, "restart", "test-theme",
110 _restart, test_data); 110 _restart, test_data);