forked from enlightenment/efl
elm_win : Focus hightlight should not be shown on (0, 0). Thanks for Wonkuk Jung for reporting and fixing.
This commit is contained in:
parent
ae4a102102
commit
285ed82000
|
@ -1084,3 +1084,7 @@
|
||||||
2013-03-04 Jaeun Choi
|
2013-03-04 Jaeun Choi
|
||||||
|
|
||||||
* Fix elm_index to send a signal to the selected item in smart theme.
|
* Fix elm_index to send a signal to the selected item in smart theme.
|
||||||
|
|
||||||
|
2013-03-04 WooHyun Jung
|
||||||
|
|
||||||
|
* Focus highlight should not be showed on (0, 0).
|
||||||
|
|
|
@ -165,6 +165,7 @@ Fixes:
|
||||||
* Fix 1byte invalid read & do memset, rewind if needed.
|
* Fix 1byte invalid read & do memset, rewind if needed.
|
||||||
* Fix the standard of scrollbar-calculation from the scroller's x to pan's x.
|
* Fix the standard of scrollbar-calculation from the scroller's x to pan's x.
|
||||||
* Fix elm_index to send a signal to the selected item in smart theme.
|
* Fix elm_index to send a signal to the selected item in smart theme.
|
||||||
|
* Focus highlight should not be shown on (0 ,0).
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -660,18 +660,18 @@ _elm_win_focus_highlight_anim_setup(Elm_Win_Smart_Data *sd,
|
||||||
evas_object_geometry_get(sd->obj, NULL, NULL, &w, &h);
|
evas_object_geometry_get(sd->obj, NULL, NULL, &w, &h);
|
||||||
evas_object_geometry_get(target, &tx, &ty, &tw, &th);
|
evas_object_geometry_get(target, &tx, &ty, &tw, &th);
|
||||||
evas_object_geometry_get(previous, &px, &py, &pw, &ph);
|
evas_object_geometry_get(previous, &px, &py, &pw, &ph);
|
||||||
evas_object_move(obj, 0, 0);
|
evas_object_move(obj, tx, ty);
|
||||||
evas_object_resize(obj, tw, th);
|
evas_object_resize(obj, tw, th);
|
||||||
evas_object_clip_unset(obj);
|
evas_object_clip_unset(obj);
|
||||||
|
|
||||||
m = alloca(sizeof(*m) + (sizeof(int) * 8));
|
m = alloca(sizeof(*m) + (sizeof(int) * 8));
|
||||||
m->count = 8;
|
m->count = 8;
|
||||||
m->val[0] = px;
|
m->val[0] = px - tx;
|
||||||
m->val[1] = py;
|
m->val[1] = py - ty;
|
||||||
m->val[2] = pw;
|
m->val[2] = pw;
|
||||||
m->val[3] = ph;
|
m->val[3] = ph;
|
||||||
m->val[4] = tx;
|
m->val[4] = 0;
|
||||||
m->val[5] = ty;
|
m->val[5] = 0;
|
||||||
m->val[6] = tw;
|
m->val[6] = tw;
|
||||||
m->val[7] = th;
|
m->val[7] = th;
|
||||||
edje_object_message_send(obj, EDJE_MESSAGE_INT_SET, 1, m);
|
edje_object_message_send(obj, EDJE_MESSAGE_INT_SET, 1, m);
|
||||||
|
|
Loading…
Reference in New Issue