Refactored Item Layouts 22/39222/8
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 11 May 2015 17:15:27 +0000 (18:15 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 14 May 2015 10:28:07 +0000 (11:28 +0100)
commit9781441fa162e32e5796658d4169387a3ffb5d88
tree647cd3636b9b3af960630bcb1a25d0487395796c
parentdf89f9f230cadaac7be4007d1b1a7cf7dc893011
Refactored Item Layouts

 - Removed boost::function usage
 - DepthLayout, GridLayout & SpiralLayout removed from Public API
   - Added a helper API to create the default layouts using an ENUM
 - Reworked the constraints in each layout
 - Removed automatic animations between layouts (broken anyway)
 - Added future extension to ItemLayout

Change-Id: I3265f190eccd8396d689d6f74c5e70cc8905c744
24 files changed:
automated-tests/src/dali-toolkit/CMakeLists.txt
automated-tests/src/dali-toolkit/utc-Dali-DepthLayout.cpp [deleted file]
automated-tests/src/dali-toolkit/utc-Dali-GridLayout.cpp [deleted file]
automated-tests/src/dali-toolkit/utc-Dali-ItemLayout.cpp
automated-tests/src/dali-toolkit/utc-Dali-ItemView.cpp
automated-tests/src/dali-toolkit/utc-Dali-SpiralLayout.cpp [deleted file]
dali-toolkit/dali-toolkit.h
dali-toolkit/internal/controls/scrollable/item-view/depth-layout.cpp [new file with mode: 0644]
dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h [moved from dali-toolkit/public-api/controls/scrollable/item-view/depth-layout.h with 67% similarity]
dali-toolkit/internal/controls/scrollable/item-view/grid-layout.cpp [new file with mode: 0644]
dali-toolkit/internal/controls/scrollable/item-view/grid-layout.h [moved from dali-toolkit/public-api/controls/scrollable/item-view/grid-layout.h with 78% similarity]
dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp
dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h
dali-toolkit/internal/controls/scrollable/item-view/spiral-layout.cpp [new file with mode: 0644]
dali-toolkit/internal/controls/scrollable/item-view/spiral-layout.h [moved from dali-toolkit/public-api/controls/scrollable/item-view/spiral-layout.h with 72% similarity]
dali-toolkit/internal/file.list
dali-toolkit/public-api/controls/scrollable/item-view/default-item-layout.cpp [new file with mode: 0644]
dali-toolkit/public-api/controls/scrollable/item-view/default-item-layout.h [new file with mode: 0644]
dali-toolkit/public-api/controls/scrollable/item-view/depth-layout.cpp [deleted file]
dali-toolkit/public-api/controls/scrollable/item-view/grid-layout.cpp [deleted file]
dali-toolkit/public-api/controls/scrollable/item-view/item-layout.cpp
dali-toolkit/public-api/controls/scrollable/item-view/item-layout.h
dali-toolkit/public-api/controls/scrollable/item-view/spiral-layout.cpp [deleted file]
dali-toolkit/public-api/file.list