edje entry: cursor position and location will be passed when it's really changed in case of mouse down, move, and up event.

SVN revision: 82922
This commit is contained in:
Jihoon Kim 2013-01-17 05:32:17 +00:00
parent 6e9c28c147
commit 7d237bcf01
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2013-01-17 Jihoon Kim (jihoon)
* Edje : cursor position and location will be passed when it's really changed
in case of mouse down, move, and up event
2013-01-16 Carsten Haitzler (The Rasterman)
* Fixed pixman image wrapping to handle allocated size instead

1
NEWS
View File

@ -77,6 +77,7 @@ Improvements:
* Eina.h includes eina_alloca.h/alloca.h to define alloca()
* Improved eina share del speed.
* Upgrade liblinebreak to latest version of libunibreak.
* edje entry: cursor position and location will be passed when it's really changed in case of mouse down, move, and up event.
Fixes:
* Fix PPC (big endian) image codec bug.

View File

@ -1975,11 +1975,11 @@ _edje_part_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_
{
_edje_emit(rp->edje, "cursor,changed", rp->part->name);
_edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
_edje_entry_imf_cursor_info_set(en);
}
evas_textblock_cursor_free(tc);
_edje_entry_imf_cursor_info_set(en);
_edje_entry_real_part_configure(rp);
if (ev->button == 2)
{
@ -2092,10 +2092,11 @@ _edje_part_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
{
_edje_emit(rp->edje, "cursor,changed", rp->part->name);
_edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
_edje_entry_imf_cursor_info_set(en);
}
evas_textblock_cursor_free(tc);
_edje_entry_imf_cursor_info_set(en);
_edje_entry_real_part_configure(rp);
}
@ -2190,12 +2191,12 @@ _edje_part_mouse_move_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_
{
_edje_emit(rp->edje, "cursor,changed", rp->part->name);
_edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
_edje_entry_imf_context_reset(rp);
_edje_entry_imf_cursor_info_set(en);
}
evas_textblock_cursor_free(tc);
_edje_entry_imf_context_reset(rp);
_edje_entry_imf_cursor_info_set(en);
_edje_entry_real_part_configure(rp);
}
}