#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "ephysics_test.h"
static void
_world_populate(Test_Data *test_data)
{
double linear, angular;
sh1, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj", "shadow-ball");
"big-blue-ball");
update_object_cb, sh1);
sh2, PACKAGE_DATA_DIR "/" EPHYSICS_TEST_THEME ".edj", "shadow-ball");
"big-red-ball");
update_object_cb, sh2);
INF(
"Body 1: linear threshold: %.2f, angular: %.2f", linear, angular);
INF(
"Body 2: linear threshold: %.2f, angular: %.2f", linear, angular);
}
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_sleeping(
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,
"Sleeping Threshold",
EINA_TRUE);
"test-theme", _restart, test_data);
WIDTH - 100, FLOOR_Y - 40, DEPTH);
test_data->world = world;
_world_populate(test_data);
}