[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)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 21 Feb 2023 11:04:00 +0000 (20:04 +0900)
commit47ba9add6e909ad6da672d436033fe669aed767d
tree4c429e716e46a62fcf212a477dafd34c1e30b529
parent3ad0f125037a0fe6f071d7f78d7006b3cf969b71
[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