summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-08-22 20:04:57 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-08-22 20:04:57 +0000
commiteec20918d032ffaa898b04e46d7a9edbd88466cb (patch)
treeaf33aa396fa865676ae748dc9ee153a66444af01 /legacy
parentef82a631a9379eacabdf81b0358cde9c108009c7 (diff)
EPhysics: don't show input msg if won't handle it
Also, respect 80 col SVN revision: 75567
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/bin/test_soft_body.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/legacy/ephysics/src/bin/test_soft_body.c b/legacy/ephysics/src/bin/test_soft_body.c
index edd08f6092..f4c48eae73 100644
--- a/legacy/ephysics/src/bin/test_soft_body.c
+++ b/legacy/ephysics/src/bin/test_soft_body.c
@@ -19,8 +19,8 @@ _world_populate(Test_Data *test_data)
19 test_data->evas_objs = eina_list_append(test_data->evas_objs, shadow); 19 test_data->evas_objs = eina_list_append(test_data->evas_objs, shadow);
20 20
21 evas_obj = elm_image_add(test_data->win); 21 evas_obj = elm_image_add(test_data->win);
22 elm_image_file_set( 22 elm_image_file_set(evas_obj, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj",
23 evas_obj, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj", "big-red-ball"); 23 "big-red-ball");
24 evas_object_move(evas_obj, WIDTH / 3, HEIGHT / 2); 24 evas_object_move(evas_obj, WIDTH / 3, HEIGHT / 2);
25 evas_object_resize(evas_obj, 70, 70); 25 evas_object_resize(evas_obj, 70, 70);
26 evas_object_show(evas_obj); 26 evas_object_show(evas_obj);
@@ -43,8 +43,8 @@ _world_populate(Test_Data *test_data)
43 test_data->evas_objs = eina_list_append(test_data->evas_objs, shadow); 43 test_data->evas_objs = eina_list_append(test_data->evas_objs, shadow);
44 44
45 evas_obj = elm_image_add(test_data->win); 45 evas_obj = elm_image_add(test_data->win);
46 elm_image_file_set( 46 elm_image_file_set(evas_obj, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj",
47 evas_obj, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj", "big-blue-ball"); 47 "big-blue-ball");
48 evas_object_move(evas_obj, WIDTH / 3, HEIGHT / 4); 48 evas_object_move(evas_obj, WIDTH / 3, HEIGHT / 4);
49 evas_object_resize(evas_obj, 70, 70); 49 evas_object_resize(evas_obj, 70, 70);
50 evas_object_show(evas_obj); 50 evas_object_show(evas_obj);
@@ -68,8 +68,8 @@ _world_populate(Test_Data *test_data)
68 test_data->evas_objs = eina_list_append(test_data->evas_objs, shadow); 68 test_data->evas_objs = eina_list_append(test_data->evas_objs, shadow);
69 69
70 evas_obj = elm_image_add(test_data->win); 70 evas_obj = elm_image_add(test_data->win);
71 elm_image_file_set( 71 elm_image_file_set(evas_obj, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj",
72 evas_obj, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj", "big-blue-ball"); 72 "big-blue-ball");
73 evas_object_move(evas_obj, WIDTH / 4, HEIGHT / 4); 73 evas_object_move(evas_obj, WIDTH / 4, HEIGHT / 4);
74 evas_object_resize(evas_obj, 70, 70); 74 evas_object_resize(evas_obj, 70, 70);
75 evas_object_show(evas_obj); 75 evas_object_show(evas_obj);
@@ -136,7 +136,6 @@ test_soft_body(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
136 elm_layout_signal_callback_add(test_data->layout, "restart", "test-theme", 136 elm_layout_signal_callback_add(test_data->layout, "restart", "test-theme",
137 _restart, test_data); 137 _restart, test_data);
138 elm_object_signal_emit(test_data->layout, "borders,show", "ephysics_test"); 138 elm_object_signal_emit(test_data->layout, "borders,show", "ephysics_test");
139 elm_object_signal_emit(test_data->layout, "arrows,show", "ephysics_test");
140 139
141 world = ephysics_world_new(); 140 world = ephysics_world_new();
142 ephysics_world_render_geometry_set(world, 50, 40, WIDTH - 100, FLOOR_Y - 40); 141 ephysics_world_render_geometry_set(world, 50, 40, WIDTH - 100, FLOOR_Y - 40);