aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ThemeManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ThemeManager.cpp')
-rw-r--r--src/ui/ThemeManager.cpp5
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);