[NUI] Provide a way to enable legacy DALI StyleManager
authorJiyun Yang <ji.yang@samsung.com>
Fri, 26 Jan 2024 10:28:32 +0000 (19:28 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Tue, 30 Jan 2024 02:24:49 +0000 (11:24 +0900)
commitec08c4fa8186bc1c5786b4a8ce89b18e4c1428b7
treec8df40ebfeb6dc1d6fce4b311a3665b5e6c1b9d1
parent407d021ab544588c5e92e5e36010ddfbe3acf501
[NUI] Provide a way to enable legacy DALI StyleManager

* Related patch : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/305104/
* Related patch : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/305105/

Since tizen 7.0, DALI StyleManager is disabled by default.
But to support fhub properly, it's needed to provide a way to enable it.

* View/ImageView/Control are created with custom flag `DisableStyleChangeSignals` only when StyleManager is disabled (default)
* Text objects does not process font scale in NUI side when DALI StyleManager is enabled.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 files changed:
src/Tizen.NUI/src/internal/Common/ViewImpl.cs
src/Tizen.NUI/src/internal/Common/ViewWrapperImpl.cs
src/Tizen.NUI/src/internal/Interop/Interop.ImageView.cs
src/Tizen.NUI/src/internal/Interop/Interop.StyleManager.cs
src/Tizen.NUI/src/internal/Interop/Interop.View.cs
src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/Common/StyleManager.cs