#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "ephysics_test.h"
static void
_world_populate(Test_Data *test_data)
{
static const char *colors[] = {"blue-ball", "big-red-ball"};
static const int sizes[] = {54, 70};
int i, column, row;
for (i = 0; i < 4; i++)
{
column = i % 2;
row = i / 2;
sphere, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj",
colors[row]);
(70 - sizes[row]) / 2,
100 + row * 60 + row / 2 * 20);
if (column + row == 1)
}
}
static void
_restart(
void *data,
Evas_Object *obj __UNUSED__,
const char *emission __UNUSED__,
const char *source __UNUSED__)
{
Test_Data *test_data = data;
test_clean(test_data);
_world_populate(test_data);
}
void
test_collision_filter(
void *data __UNUSED__,
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
Test_Data *test_data;
return;
test_data = test_data_new();
test_win_add(test_data,
"Collision Filter",
EINA_TRUE);
_restart, test_data);
WIDTH - 120, FLOOR_Y - 32, DEPTH);
test_data->world = world;
30);
_world_populate(test_data);
}