New with additional behavior flag for some Controls 04/270004/14
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 24 Jan 2022 06:06:31 +0000 (15:06 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 28 Jan 2022 18:03:47 +0000 (03:03 +0900)
commitb3f769e350cf3c159ab22bd947f1e98d47cb4038
treec569b3b06ff855a1f2958e4a32f04bf0116dc777
parent177a529f5796ca4abe24fc5eafd7cddff423be3b
New with additional behavior flag for some Controls

Add new "New" function that we can append additional ControlBehaviour

Toolkit::Control::ControlBehaviour was hard-coding. we should change it
as valid type as we can in future.

Current code only works in Control and ImageView and TextLabel.

Change-Id: Iee12d71f699444cd0e85dfa84b485f12086545f2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 files changed:
automated-tests/src/dali-toolkit-styling/utc-Dali-StyleManager.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.h
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp
dali-toolkit/internal/controls/text-controls/text-label-impl.h
dali-toolkit/public-api/controls/control-impl.cpp
dali-toolkit/public-api/controls/control-impl.h
dali-toolkit/public-api/controls/control.cpp
dali-toolkit/public-api/controls/control.h
dali-toolkit/public-api/controls/image-view/image-view.cpp
dali-toolkit/public-api/controls/image-view/image-view.h
dali-toolkit/public-api/controls/text-controls/text-label.cpp
dali-toolkit/public-api/controls/text-controls/text-label.h