summaryrefslogtreecommitdiffstats
path: root/app/theme_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r--app/theme_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h
index 5659140..e26fd74 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -77,6 +77,10 @@ class ThemeProvider {
// this function will return nil.
virtual NSImage* GetNSImageNamed(int id, bool allow_default) const = 0;
+ // Gets the NSImage that GetNSImageNamed (above) would return, but returns it
+ // as a pattern color.
+ virtual NSColor* GetNSImageColorNamed(int id, bool allow_default) const = 0;
+
// Gets the NSColor with the specified |id|.
//
// The color is not assumed to exist. If a theme does not provide an color, if