efl/legacy/elementary/src
SangHyeon Lee cee12e4f94 [Gengrid] Refactoring gengrid item show reigion calculation
Summary:
Gengrid _item_show_region function calculate gengrid x, y moving postion with scroll to type.
Belows are summaries of this refactoring works.

1. Refactoring recalculation of scroll type.

2. Bug fix :
   - when x or y is 0, y or x value is set as default value, it->position-1.
   - when x or y is less then 1, calculation is not correct.
   - make calculate correct position of y when even though scroll direction is horiziontal
     (when virtical, x is also calculation correct position).

3.  change smart data variable s_type to scroll_to_type to make unity on gen widget.
     (genlist smart data variable name is scroll_to_type);

Reviewers: seoz, Hermet, raster

Reviewed By: raster

CC: bluezery

Differential Revision: https://phab.enlightenment.org/D474
2014-01-21 16:54:59 +09:00
..
bin fileselector_button, fileselector_entry: Updated FOO_inwin_mode_set() documentation. 2014-01-19 15:35:51 +09:00
edje_externals elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
examples elm: Use EINA_FALSE instead of 0 for elm_image_resizable_set() 2014-01-08 10:28:18 +09:00
imported pass distcheck - add imported headers to makefiles to pass 2013-12-03 17:14:30 +09:00
lib [Gengrid] Refactoring gengrid item show reigion calculation 2014-01-21 16:54:59 +09:00
modules elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
tests elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Makefile.am pass distcheck - add imported headers to makefiles to pass 2013-12-03 17:14:30 +09:00