forked from enlightenment/efl
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
This commit is contained in:
parent
547ade5f6c
commit
d516515d47
|
@ -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 = \
|
||||
|
|
|
@ -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},
|
||||
};
|
||||
|
||||
|
|
|
@ -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);
|
Loading…
Reference in New Issue