diff options
author | crupest <crupest@outlook.com> | 2022-01-27 21:37:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-27 21:37:38 +0800 |
commit | 103bcb137273729a0f23ff3771e26150a64454ba (patch) | |
tree | 5d75e869cc4b1bf0f2afdfbc9ed5ff0f78e0d030 /src/ui/ThemeManager.cpp | |
parent | 560c0ead613658a2b7444907c3d1d69e49be8c32 (diff) | |
download | cru-103bcb137273729a0f23ff3771e26150a64454ba.tar.gz cru-103bcb137273729a0f23ff3771e26150a64454ba.tar.bz2 cru-103bcb137273729a0f23ff3771e26150a64454ba.zip |
...
Diffstat (limited to 'src/ui/ThemeManager.cpp')
-rw-r--r-- | src/ui/ThemeManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/ThemeManager.cpp b/src/ui/ThemeManager.cpp index 4ed5c5b6..dc08edb3 100644 --- a/src/ui/ThemeManager.cpp +++ b/src/ui/ThemeManager.cpp @@ -35,6 +35,11 @@ std::shared_ptr<platform::graphics::IBrush> ThemeManager::GetResourceBrush( return GetResource<std::shared_ptr<platform::graphics::IBrush>>(key); } +std::shared_ptr<platform::graphics::IFont> ThemeManager::GetResourceFont( + const String& key) { + return GetResource<std::shared_ptr<platform::graphics::IFont>>(key); +} + std::shared_ptr<style::StyleRuleSet> ThemeManager::GetResourceStyleRuleSet( const String& key) { return GetResource<std::shared_ptr<style::StyleRuleSet>>(key); |