Remove the dependency between ScrollBar & ItemView 48/19448/1
authorPaul Wisbey <p.wisbey@samsung.com>
Wed, 9 Apr 2014 15:46:49 +0000 (16:46 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Fri, 11 Apr 2014 14:36:24 +0000 (15:36 +0100)
commitf77f0cb417df66a09f468c974e14b881142cf15b
tree16df7c1823d587b233d6f745b6b59dcdcb9a2ee4
parent5f4593ad383c0fcc0a62bdfefae6e3e037e98ae7
Remove the dependency between ScrollBar & ItemView

[Issue#] N/A
[Problem]  ItemView only works with one type of scroll bar i.e. Toolkit::ScrollBar
[Cause]    Direct dependency from ItemView to ScrollBar
[Solution] Use the ScrollComponent interface instead. The idea is that custom
scroll components can be implemented and connected without changing ItemView

Change-Id: Ie059b6453f38b7a2baccd7ced135b1a49fc6ab88
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
19 files changed:
dali-toolkit/dali-toolkit.h
dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.cpp
dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.h
dali-toolkit/internal/controls/scroll-component/scroll-bar-internal-impl.h
dali-toolkit/internal/controls/scroll-component/scroll-bar-internal.h
dali-toolkit/internal/controls/scroll-component/scroll-component-impl.cpp [deleted file]
dali-toolkit/internal/controls/scroll-component/scroll-component-impl.h [deleted file]
dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp
dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
dali-toolkit/internal/controls/scrollable/scrollable-impl.h
dali-toolkit/internal/file.list
dali-toolkit/public-api/controls/scroll-bar/scroll-bar.cpp
dali-toolkit/public-api/controls/scroll-bar/scroll-bar.h
dali-toolkit/public-api/controls/scrollable/scroll-component-impl.cpp [new file with mode: 0644]
dali-toolkit/public-api/controls/scrollable/scroll-component-impl.h [new file with mode: 0644]
dali-toolkit/public-api/controls/scrollable/scroll-component.cpp [moved from dali-toolkit/internal/controls/scroll-component/scroll-component.cpp with 53% similarity]
dali-toolkit/public-api/controls/scrollable/scroll-component.h [moved from dali-toolkit/internal/controls/scroll-component/scroll-component.h with 74% similarity]
dali-toolkit/public-api/file.list