Added scrollMode property to ScrollView to simplify Rulers 84/128384/5
authorDavid Steele <david.steele@samsung.com>
Tue, 9 May 2017 17:26:48 +0000 (18:26 +0100)
committerDavid Steele <david.steele@samsung.com>
Wed, 17 May 2017 16:29:24 +0000 (16:29 +0000)
commit0f5a8aaa14ccf06aee1069ef585d83b8506dd099
treeefc23e4f1b2557a1007b417713fea1e95e893975
parent297201263692ae5b876a4cd4a872de4adb74073d
Added scrollMode property to ScrollView to simplify Rulers

The rulers are hard to use and understand, and require overriding
classes in the public API. This makes binding to C# require too much
effort, and pulls too many classes into C# that otherwise don't need to
be there.

Have instead added a devel property to enable the simplification of
setting up rulers - the new property map will be used internally to
create either DefaultRuler or FixedRuler, depending on the
settings. This makes it very easy to bind to C#.

Change-Id: I5932cd32487bae77b8c41ebd35e35f6bc879be33
12 files changed:
automated-tests/src/dali-toolkit/utc-Dali-ScrollView.cpp
build/tizen/dali-toolkit/Makefile.am
dali-toolkit/devel-api/controls/scrollable/scroll-view/scroll-mode.h [new file with mode: 0644]
dali-toolkit/devel-api/controls/scrollable/scroll-view/scroll-view-devel.h [new file with mode: 0644]
dali-toolkit/devel-api/file.list
dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp
dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h
plugins/dali-sharp/dali-bindings/dali_wrap.cpp
plugins/dali-sharp/examples/scroll-view.cs
plugins/dali-sharp/sharp/internal/DaliEnumConstants.cs
plugins/dali-sharp/sharp/internal/NDalicPINVOKE.cs
plugins/dali-sharp/sharp/internal/ScrollView.cs