forked from enlightenment/efl
parent
c58edcd114
commit
ee82a4f6ac
|
@ -2873,18 +2873,6 @@ EAPI int edje_object_part_text_cursor_pos_get (const E
|
||||||
*/
|
*/
|
||||||
EAPI void edje_object_part_text_imf_context_reset (const Evas_Object *obj, const char *part);
|
EAPI void edje_object_part_text_imf_context_reset (const Evas_Object *obj, const char *part);
|
||||||
|
|
||||||
#ifdef HAVE_ECORE_IMF
|
|
||||||
/**
|
|
||||||
* @brief Get the input method context in entry.
|
|
||||||
*
|
|
||||||
* @param obj A valid Evas_Object handle
|
|
||||||
* @param part The part name
|
|
||||||
*
|
|
||||||
* @return The input method context in entry
|
|
||||||
*/
|
|
||||||
EAPI Ecore_IMF_Context *edje_object_part_text_imf_context_get (const Evas_Object *obj, const char *part);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the layout of the input panel.
|
* @brief Set the layout of the input panel.
|
||||||
*
|
*
|
||||||
|
|
|
@ -2553,17 +2553,6 @@ _edje_entry_select_abort(Edje_Real_Part *rp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_ECORE_IMF
|
|
||||||
Ecore_IMF_Context *
|
|
||||||
_edje_entry_imf_context_get(Edje_Real_Part *rp)
|
|
||||||
{
|
|
||||||
Entry *en = rp->entry_data;
|
|
||||||
if (!en) return NULL;
|
|
||||||
|
|
||||||
return en->imf_context;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
_edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type)
|
_edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1940,9 +1940,7 @@ void _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Co
|
||||||
void _edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow);
|
void _edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow);
|
||||||
Eina_Bool _edje_entry_select_allow_get(const Edje_Real_Part *rp);
|
Eina_Bool _edje_entry_select_allow_get(const Edje_Real_Part *rp);
|
||||||
void _edje_entry_select_abort(Edje_Real_Part *rp);
|
void _edje_entry_select_abort(Edje_Real_Part *rp);
|
||||||
#ifdef HAVE_ECORE_IMF
|
|
||||||
Ecore_IMF_Context *_edje_entry_imf_context_get(Edje_Real_Part *rp);
|
|
||||||
#endif
|
|
||||||
Eina_Bool _edje_entry_cursor_next(Edje_Real_Part *rp, Edje_Cursor cur);
|
Eina_Bool _edje_entry_cursor_next(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
Eina_Bool _edje_entry_cursor_prev(Edje_Real_Part *rp, Edje_Cursor cur);
|
Eina_Bool _edje_entry_cursor_prev(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
Eina_Bool _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur);
|
Eina_Bool _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
|
|
|
@ -1527,26 +1527,6 @@ edje_object_part_text_select_extend(const Evas_Object *obj, const char *part)
|
||||||
_edje_entry_select_extend(rp);
|
_edje_entry_select_extend(rp);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_ECORE_IMF
|
|
||||||
EAPI Ecore_IMF_Context *
|
|
||||||
edje_object_part_text_imf_context_get(const Evas_Object *obj, const char *part)
|
|
||||||
{
|
|
||||||
Edje *ed;
|
|
||||||
Edje_Real_Part *rp;
|
|
||||||
|
|
||||||
ed = _edje_fetch(obj);
|
|
||||||
if ((!ed) || (!part)) return NULL;
|
|
||||||
|
|
||||||
rp = _edje_real_part_recursive_get(ed, (char *)part);
|
|
||||||
if (!rp) return NULL;
|
|
||||||
|
|
||||||
if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
|
|
||||||
return _edje_entry_imf_context_get(rp);
|
|
||||||
else
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Cursor cur)
|
edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Cursor cur)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue