efl/legacy/elementary/src
SangHyeon Lee 9bb528ef09 elm_interface_scrollable: fix wrong mirrored calculation
Summary:
This Patch is regarding D2553, but funtionally independent patch.
D2557 is also related with this patch, so to test working fine,
need to install those all three patches.

1. _elm_interface_scrollable_content_region_show store wx
   into scroll_interface_data without coverting mirrored_x.
   fix to store wx to mirror-converted x if is_mirrored.

2. _elm_scroll_x_mirrored_get return mirroed_x after compare zero not minx.
   so current mirrored_x couldn't be less then 0.
   fix to check min not 0 for set return value.

3.  _elm_scroll_x_mirrored_get calculation need to consider start position of scroller.
some scroller(e.g. gengrid) start from non-zero position, so calculation need to change
like below.
ret = (cw - (x + w - min));

@fix

Test Plan: You can test this after merge D2553 patch and D2557 and test gengrid2.

Reviewers: raster, Hermet, seoz, jaehwan, tanwar.umesh07, cedric

Subscribers: tanwar.umesh07, Jaehyun, anand.km, eagleeye, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2558

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
..
bin gengrid: add item cache in gengrid for efficient realize/unrealize operation. 2015-06-25 17:24:08 +02:00
edje_externals elm_icon_external: cleanup ERR msg in error case 2015-06-17 15:59:19 +02:00
examples examples: fix changes in Evas.Canvas3D namespace. 2015-06-22 12:36:58 +02:00
imported atspi: add AtspiText and AtspiEditableText interface support. 2014-06-10 16:18:17 +09:00
lib elm_interface_scrollable: fix wrong mirrored calculation 2015-06-25 17:24:08 +02:00
modules elm_prefs: looking for right lib directory in prefix. 2015-03-26 18:11:30 +01:00
tests tests/elm_test_image: Give a proper path to test images 2015-04-22 17:24:42 +02:00
Makefile.am tests: add coverage support. 2015-01-16 16:39:37 +01:00