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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h
index 073247c..f9a9bb5 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -82,8 +82,14 @@ class ThemeProvider {
//
// The bitmap is not assumed to exist. If a theme does not provide an image,
// this function will return nil.
-
virtual NSImage* GetNSImageNamed(int id) = 0;
+
+ // Gets the NSColor with the specified |id|.
+ //
+ // The color is not assumed to exist. If a theme does not provide an color,
+ // this function will return nil.
+ virtual NSColor* GetNSColor(int id) = 0;
+
// Gets the NSColor for tinting with the specified |id|.
//
// The tint is not assumed to exist. If a theme does not provide a tint with