#include <Elementary.h>
#define WIDTH (500)
#define HEIGHT (700)
#define MSG_ID_VEL (1)
static void
{
elm_prefs_item_value_get(prefs, "main:config:options:animation", &value);
if (animation)
else
}
static void
{
float animation_time;
elm_prefs_item_value_get(prefs, "main:config:options:animation_time", &value);
if (animation_time < 0.01) animation_time = 0.01;
msg.
val = animation_time;
MSG_ID_VEL, &msg);
}
static void
{
_update_animation(prefs, layout);
_update_animation_time(prefs, layout);
}
static void
{
_update(obj, layout);
}
static void
_item_changed_cb(
void *data,
Evas_Object *obj,
void *event_info)
{
const char *item = event_info;
if (!strcmp(item, "main:config:options:animation_time"))
_update_animation_time(obj, layout);
else if (!strcmp(item, "main:config:options:animation"))
_update_animation(obj, layout);
}
EAPI_MAIN int
{
layout);
layout);
prefs_data =
elm_prefs_data_set(prefs, prefs_data);
elm_prefs_item_swallow(prefs, "main:swal", layout);
_update_animation_time(prefs, layout);
_update_animation(prefs, layout);
return 0;
}