Change-Id: Ib6e7a84895ee6912bd3e2a8966d25000d53f1e3b
EAPI void elm_object_tree_dump(const Evas_Object *top);
EAPI void elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
EAPI void elm_object_tree_dump(const Evas_Object *top);
EAPI void elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
- EAPI void elm_autocapitalization_allow_all_set(Eina_Bool autocap);
- EAPI void elm_autoperiod_allow_all_set(Eina_Bool autoperiod);
+ EAPI void elm_autocapitalization_allow_all_set(Eina_Bool autocap);
+ EAPI void elm_autoperiod_allow_all_set(Eina_Bool autoperiod);
/* theme */
typedef struct _Elm_Theme Elm_Theme;
/* theme */
typedef struct _Elm_Theme Elm_Theme;
{
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;
{
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;
if (wd->hoversel)
{
evas_object_del(wd->hoversel);
if (wd->hoversel)
{
evas_object_del(wd->hoversel);
if (key_data) wd->mgf_height = atoi(key_data);
key_data = edje_object_data_get(wd->mgf_bg, "scale");
if (key_data) wd->mgf_scale = atof(key_data);
if (key_data) wd->mgf_height = atoi(key_data);
key_data = edje_object_data_get(wd->mgf_bg, "scale");
if (key_data) wd->mgf_scale = atof(key_data);
if (wd->mgf_type == _ENTRY_MAGNIFIER_FILLWIDTH)
evas_object_resize(wd->mgf_bg, w, wd->mgf_height);
if (wd->mgf_type == _ENTRY_MAGNIFIER_FILLWIDTH)
evas_object_resize(wd->mgf_bg, w, wd->mgf_height);
}
_cancel(data, NULL, NULL);
}
_cancel(data, NULL, NULL);
_magnifier_create(data);
_magnifier_move(data);
_magnifier_show(data);
_magnifier_create(data);
_magnifier_move(data);
_magnifier_show(data);
}
text = elm_entry_entry_get(data);
if (text == NULL)
}
text = elm_entry_entry_get(data);
if (text == NULL)
textlen = strlen(text);
if (textlen < wd->matchlist_threshold)
textlen = strlen(text);
if (textlen < wd->matchlist_threshold)
evas_object_hide(wd->hover);
evas_object_hide(wd->hover);
{
elm_list_clear(wd->list);
{
elm_list_clear(wd->list);
- EINA_LIST_FOREACH(wd->match_list, l, str_list)
+ EINA_LIST_FOREACH(wd->match_list, l, str_list)
{
if (wd->matchlist_case_sensitive)
str_result = strstr(str_list, text);
{
if (wd->matchlist_case_sensitive)
str_result = strstr(str_list, text);
evas_object_show(wd->hover);
evas_object_raise(wd->hover);
}
evas_object_show(wd->hover);
evas_object_raise(wd->hover);
}
elm_entry_entry_set(data, elm_entry_markup_to_utf8(text));
elm_entry_cursor_end_set(data);
wd->matchlist_list_clicked = EINA_TRUE;
elm_entry_entry_set(data, elm_entry_markup_to_utf8(text));
elm_entry_cursor_end_set(data);
wd->matchlist_list_clicked = EINA_TRUE;
evas_object_smart_callback_call(data, SIG_MATCHLIST_CLICKED, elm_entry_markup_to_utf8(text));
}
}
evas_object_smart_callback_call(data, SIG_MATCHLIST_CLICKED, elm_entry_markup_to_utf8(text));
}
}
{
Evas_Coord max_w = 9999, max_h = 9999;
const char* key_data = NULL;
{
Evas_Coord max_w = 9999, max_h = 9999;
const char* key_data = NULL;
wd->matchlist_threshold = 1;
wd->hover = elm_hover_add(elm_widget_parent_get(obj));
elm_hover_parent_set(wd->hover, elm_widget_parent_get(obj));
wd->matchlist_threshold = 1;
wd->hover = elm_hover_add(elm_widget_parent_get(obj));
elm_hover_parent_set(wd->hover, elm_widget_parent_get(obj));
evas_object_size_hint_align_set(wd->list, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_list_mode_set(wd->list, ELM_LIST_EXPAND);
elm_object_style_set(wd->list, "matchlist");
evas_object_size_hint_align_set(wd->list, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_list_mode_set(wd->list, ELM_LIST_EXPAND);
elm_object_style_set(wd->list, "matchlist");
key_data = edje_object_data_get(elm_layout_edje_get(wd->layout), "max_width");
if (key_data) max_w = atoi(key_data);
key_data = edje_object_data_get(elm_layout_edje_get(wd->layout), "max_height");
key_data = edje_object_data_get(elm_layout_edje_get(wd->layout), "max_width");
if (key_data) max_w = atoi(key_data);
key_data = edje_object_data_get(elm_layout_edje_get(wd->layout), "max_height");
evas_object_smart_callback_add(wd->list, "selected", _matchlist_list_clicked, obj);
elm_layout_content_set(wd->layout, "elm.swallow.content", wd->list);
elm_hover_content_set(wd->hover, "bottom", wd->layout);
evas_object_smart_callback_add(wd->list, "selected", _matchlist_list_clicked, obj);
elm_layout_content_set(wd->layout, "elm.swallow.content", wd->list);
elm_hover_content_set(wd->hover, "bottom", wd->layout);
wd->match_list = match_list;
}
else
wd->match_list = match_list;
}
else
wd->delay_write = NULL;
}
wd->delay_write = NULL;
}
- if ((wd->single_line) && (wd->match_list))
+ if ((wd->single_line) && (wd->match_list))
{
if (wd->matchlist_job) ecore_job_del(wd->matchlist_job);
wd->matchlist_job = ecore_job_add(_matchlist_show, data);
{
if (wd->matchlist_job) ecore_job_del(wd->matchlist_job);
wd->matchlist_job = ecore_job_add(_matchlist_show, data);
if (!strncmp(item, "file://", 7))
{
const char *fname = item + 7;
if (!strncmp(item, "file://", 7))
{
const char *fname = item + 7;
o = evas_object_image_filled_add(evas_object_evas_get(data));
evas_object_image_file_set(o, fname, NULL);
if (evas_object_image_load_error_get(o) == EVAS_LOAD_ERROR_NONE)
o = evas_object_image_filled_add(evas_object_evas_get(data));
evas_object_image_file_set(o, fname, NULL);
if (evas_object_image_load_error_get(o) == EVAS_LOAD_ERROR_NONE)
ecore_imf_context_input_panel_layout_set(ic, (Ecore_IMF_Input_Panel_Layout)layout);
}
ecore_imf_context_input_panel_layout_set(ic, (Ecore_IMF_Input_Panel_Layout)layout);
}
/**
* Set the magnifier style of the entry
*
/**
* Set the magnifier style of the entry
*