goto out;
}
- elm_access_info_set(ao, ELM_ACCESS_INFO, utf8);
+ elm_access_info_set(ao, 0 /* ELM_ACCESS_INFO */, utf8);
free(utf8);
update_focus_chain(handle, ao);
ao = evas_object_data_get(edje_part, "ao");
if (ao) {
if (text && strlen(text)) {
- elm_access_info_set(ao, ELM_ACCESS_INFO, text);
+ elm_access_info_set(ao, 0 /* ELM_ACCESS_INFO */, text);
DbgPrint("Access info is updated: %s [%s], %p\n", part, text, ao);
update_focus_chain(handle, ao);
} else {
if (!ao) {
ErrPrint("Unable to register an access object(%s)\n", part);
} else {
- elm_access_info_set(ao, ELM_ACCESS_INFO, text);
+ elm_access_info_set(ao, 0 /* ELM_ACCESS_INFO */, text);
evas_object_data_set(edje_part, "ao", ao);
elm_object_focus_custom_chain_append(handle->parent, ao, NULL);
}
DbgPrint("TXxTY: %dx%d\n", action_info.x, action_info.y);
- ret = elm_access_action(edje, ELM_ACCESS_ACTION_HIGHLIGHT, &action_info);
+ ret = elm_access_action(edje, 0 /* ELM_ACCESS_ACTION_HIGHLIGHT */, &action_info);
if (ret == EINA_FALSE) {
ErrPrint("Action error\n");
}
} else if (!strcasecmp(operation, "unset,hl")) {
- ret = elm_access_action(edje, ELM_ACCESS_ACTION_UNHIGHLIGHT, &action_info);
+ ret = elm_access_action(edje, 0 /* ELM_ACCESS_ACTION_UNHIGHLIGHT */, &action_info);
if (ret == EINA_FALSE) {
ErrPrint("Action error\n");
}
} else if (!strcasecmp(operation, "next,hl")) {
action_info.highlight_cycle = (!!option) && (!!strcasecmp(option, "no,cycle"));
- ret = elm_access_action(edje, ELM_ACCESS_ACTION_HIGHLIGHT_NEXT, &action_info);
+ ret = elm_access_action(edje, 0 /* ELM_ACCESS_ACTION_HIGHLIGHT_NEXT */, &action_info);
if (ret == EINA_FALSE) {
ErrPrint("Action error\n");
}
} else if (!strcasecmp(operation, "prev,hl")) {
action_info.highlight_cycle = EINA_TRUE;
- ret = elm_access_action(edje, ELM_ACCESS_ACTION_HIGHLIGHT_PREV, &action_info);
+ ret = elm_access_action(edje, 0 /* ELM_ACCESS_ACTION_HIGHLIGHT_PREV */, &action_info);
if (ret == EINA_FALSE) {
ErrPrint("Action error\n");
}
static inline void apply_shadow_effect(struct image_option *img_opt, Evas_Object *img)
{
+ return;
+ /*
ea_effect_h *ea_effect;
if (!img_opt->shadow.enabled) {
ea_object_image_effect_set(img, ea_effect);
ea_image_effect_destroy(ea_effect);
+ */
}
static Evas_Object *crop_image(Evas_Object *img, const char *path, int part_w, int part_h, int w, int h, struct image_option *img_opt)
memset(&info, 0, sizeof(info));
if ((event_type & WIDGET_SCRIPT_ACCESS_HIGHLIGHT) == WIDGET_SCRIPT_ACCESS_HIGHLIGHT) {
- action = ELM_ACCESS_ACTION_HIGHLIGHT;
+ action = 0; // ELM_ACCESS_ACTION_HIGHLIGHT;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = WIDGET_ACCESS_STATUS_ERROR;
}
} else if ((event_type & WIDGET_SCRIPT_ACCESS_HIGHLIGHT_NEXT) == WIDGET_SCRIPT_ACCESS_HIGHLIGHT_NEXT) {
- action = ELM_ACCESS_ACTION_HIGHLIGHT_NEXT;
+ action = 0; // ELM_ACCESS_ACTION_HIGHLIGHT_NEXT;
info.highlight_cycle = EINA_FALSE;
ret = elm_access_action(edje, action, &info);
DbgPrint("ACCESS_HIGHLIGHT_NEXT, returns %d\n", ret);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_LAST : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_HIGHLIGHT_PREV) == WIDGET_SCRIPT_ACCESS_HIGHLIGHT_PREV) {
- action = ELM_ACCESS_ACTION_HIGHLIGHT_PREV;
+ action = 0; // ELM_ACCESS_ACTION_HIGHLIGHT_PREV;
info.highlight_cycle = EINA_FALSE;
ret = elm_access_action(edje, action, &info);
DbgPrint("ACCESS_HIGHLIGHT_PREV, returns %d\n", ret);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_FIRST : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_ACTIVATE) == WIDGET_SCRIPT_ACCESS_ACTIVATE) {
- action = ELM_ACCESS_ACTION_ACTIVATE;
+ action = 0; // ELM_ACCESS_ACTION_ACTIVATE;
ret = elm_access_action(edje, action, &info);
DbgPrint("ACCESS_ACTIVATE, returns %d\n", ret);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_ACTION) == WIDGET_SCRIPT_ACCESS_ACTION) {
switch (type) {
case ACCESS_TYPE_UP:
- action = ELM_ACCESS_ACTION_UP;
+ action = 0; // ELM_ACCESS_ACTION_UP;
ret = elm_access_action(edje, action, &info);
DbgPrint("ACCESS_ACTION(%d), returns %d\n", type, ret);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
break;
case ACCESS_TYPE_DOWN:
- action = ELM_ACCESS_ACTION_DOWN;
+ action = 0; // ELM_ACCESS_ACTION_DOWN;
ret = elm_access_action(edje, action, &info);
DbgPrint("ACCESS_ACTION(%d), returns %d\n", type, ret);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
break;
}
} else if ((event_type & WIDGET_SCRIPT_ACCESS_SCROLL) == WIDGET_SCRIPT_ACCESS_SCROLL) {
- action = ELM_ACCESS_ACTION_SCROLL;
+ action = 0; // ELM_ACCESS_ACTION_SCROLL;
info.x = x;
info.y = y;
switch (type) {
break;
}
} else if ((event_type & WIDGET_SCRIPT_ACCESS_UNHIGHLIGHT) == WIDGET_SCRIPT_ACCESS_UNHIGHLIGHT) {
- action = ELM_ACCESS_ACTION_UNHIGHLIGHT;
+ action = 0; // ELM_ACCESS_ACTION_UNHIGHLIGHT;
ret = elm_access_action(edje, action, &info);
DbgPrint("ACCESS_UNHIGHLIGHT, returns %d\n", ret);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_VALUE_CHANGE) == WIDGET_SCRIPT_ACCESS_VALUE_CHANGE) {
- action = ELM_ACCESS_ACTION_VALUE_CHANGE;
+ action = 0; // ELM_ACCESS_ACTION_VALUE_CHANGE;
info.mouse_type = type;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_MOUSE) == WIDGET_SCRIPT_ACCESS_MOUSE) {
- action = ELM_ACCESS_ACTION_MOUSE;
+ action = 0; // ELM_ACCESS_ACTION_MOUSE;
info.mouse_type = type;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_BACK) == WIDGET_SCRIPT_ACCESS_BACK) {
- action = ELM_ACCESS_ACTION_BACK;
+ action = 0; // ELM_ACCESS_ACTION_BACK;
info.mouse_type = type;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_OVER) == WIDGET_SCRIPT_ACCESS_OVER) {
- action = ELM_ACCESS_ACTION_OVER;
+ action = 0; // ELM_ACCESS_ACTION_OVER;
info.mouse_type = type;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_READ) == WIDGET_SCRIPT_ACCESS_READ) {
- action = ELM_ACCESS_ACTION_READ;
+ action = 0; // ELM_ACCESS_ACTION_READ;
info.mouse_type = type;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_ENABLE) == WIDGET_SCRIPT_ACCESS_ENABLE) {
- action = ELM_ACCESS_ACTION_ENABLE;
+ action = 0; // ELM_ACCESS_ACTION_ENABLE;
info.mouse_type = type;
info.x = x;
info.y = y;
ret = elm_access_action(edje, action, &info);
ret = (ret == EINA_FALSE) ? WIDGET_ACCESS_STATUS_ERROR : WIDGET_ACCESS_STATUS_DONE;
} else if ((event_type & WIDGET_SCRIPT_ACCESS_DISABLE) == WIDGET_SCRIPT_ACCESS_DISABLE) {
- action = ELM_ACCESS_ACTION_ENABLE;
+ action = 0; // ELM_ACCESS_ACTION_ENABLE;
info.mouse_type = type;
info.x = x;
info.y = y;
{
char *font_name;
+ /**
+ * @FIXME
evas_font_reinit();
+ */
if (s_info.font_name) {
font_name = vconf_get_str("db/setting/accessibility/font_name");