[NUI] Improve behaviors of ThemeManager and add an event
authorJiyun Yang <ji.yang@samsung.com>
Wed, 15 Feb 2023 04:35:27 +0000 (13:35 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 16 Feb 2023 11:59:18 +0000 (20:59 +0900)
commitb75fbd3494241de9eb77170bbddaefd039be6cbb
tree5d6229800c8b4e3c815e098e4f0d195311be692c
parent9ce46e15ec6f3abe6537d6898640e4798f1d1c4c
[NUI] Improve behaviors of ThemeManager and add an event

* ThemeManager.AppendTheme: While ApplyTheme() clears previous applied user theme, AppendTheme() appends it to the previous one.
* ThemeChanging event: An event called right after the theme changed and before applying it to the view.
* Open Theme.indexer public: This is for C_XAML.
* Theme implements IResourcesProvider: to support XAMLResources in xaml code

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI/src/public/Theme/Theme.cs
src/Tizen.NUI/src/public/Theme/ThemeManager.cs