コード例 #1
0
static bool
app_create(void *data)
{
	/* Hook to take necessary actions before main event loop starts
		Initialize UI resources and application's data
		If this function returns true, the main loop of application starts
		If this function returns false, the application is terminated */
	appdata_s *ad = data;

	create_base_gui(ad);

	return true;
}
コード例 #2
0
ファイル: dokyu.c プロジェクト: smgal/tizen23-game-dokyusei2
static bool
app_create(void *data)
{
	/* Hook to take necessary actions before main event loop starts
		Initialize UI resources and application's data
		If this function returns true, the main loop of application starts
		If this function returns false, the application is terminated */
	appdata_s *ad = data;

	/* Force OpenGL engine */
	elm_config_accel_preference_set("opengl");

	create_base_gui(ad);

	return true;
}