Supports USER_INTERACTION_ENABLED for text components 41/273041/5
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 30 Mar 2022 03:41:35 +0000 (12:41 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Fri, 1 Apr 2022 07:30:16 +0000 (16:30 +0900)
commit9b354691eaa778b98da70233ec7124d97e10ea34
treefd9b905f8db520eb4702c12a30b16edbed5e9c05
parenta2c1293114a5e1ab31bf6bcea8d6574ccaf1fcfb
Supports USER_INTERACTION_ENABLED for text components

Handles the behaviour of text components according to USER_INTERACTION_ENABLED.

Fixed the following bug :
If editable is false, all decorators should be disabled.
The prev behaviour is that some decorators are not disabled.

Change-Id: I7aeef2b2c238903723eec83e92b5945b06d0f6df
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 files changed:
automated-tests/src/dali-toolkit/utc-Dali-TextEditor.cpp
automated-tests/src/dali-toolkit/utc-Dali-TextField.cpp
dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp
dali-toolkit/internal/controls/text-controls/text-editor-impl.h
dali-toolkit/internal/controls/text-controls/text-field-impl.cpp
dali-toolkit/internal/controls/text-controls/text-field-impl.h
dali-toolkit/internal/text/decorator/text-decorator.cpp
dali-toolkit/internal/text/text-controller-event-handler.cpp
dali-toolkit/internal/text/text-controller-impl.cpp
dali-toolkit/internal/text/text-controller-impl.h
dali-toolkit/internal/text/text-controller.cpp
dali-toolkit/internal/text/text-controller.h