summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-11-13 14:51:55 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-11-13 14:51:55 +0900
commit0a871e1864cded8f1b1bb5cfa27b3f3a3d7b4daa (patch)
tree0707ab3de5f867423bae9611c890e0fee99ec83e /src/lib
parentd66ebf41faca92020490a0d52119763da40e121d (diff)
elementary/entry - use a convenient api.
And actually magnifier needs to update fill area if it is resized.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_entry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index e6a32b6bb..d509981e6 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -1410,7 +1410,7 @@ _magnifier_create(void *data)
1410 sd->mgf_clip = evas_object_rectangle_add(e); 1410 sd->mgf_clip = evas_object_rectangle_add(e);
1411 edje_object_part_swallow(sd->mgf_bg, "elm.swallow.content", sd->mgf_clip); 1411 edje_object_part_swallow(sd->mgf_bg, "elm.swallow.content", sd->mgf_clip);
1412 1412
1413 sd->mgf_proxy = evas_object_image_add(e); 1413 sd->mgf_proxy = evas_object_image_filled_add(e);
1414 1414
1415 if (sd->scroll) 1415 if (sd->scroll)
1416 { 1416 {
@@ -1428,7 +1428,6 @@ _magnifier_create(void *data)
1428 if ((mw <= 0) || (mh <= 0)) return; 1428 if ((mw <= 0) || (mh <= 0)) return;
1429 1429
1430 evas_object_resize(sd->mgf_proxy, mw, mh); 1430 evas_object_resize(sd->mgf_proxy, mw, mh);
1431 evas_object_image_fill_set(sd->mgf_proxy, 0, 0, mw, mh);
1432 evas_object_pass_events_set(sd->mgf_proxy, EINA_TRUE); 1431 evas_object_pass_events_set(sd->mgf_proxy, EINA_TRUE);
1433 evas_object_show(sd->mgf_proxy); 1432 evas_object_show(sd->mgf_proxy);
1434 evas_object_clip_set(sd->mgf_proxy, sd->mgf_clip); 1433 evas_object_clip_set(sd->mgf_proxy, sd->mgf_clip);