diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-08-19 17:15:57 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-08-19 17:15:57 +0000 |
commit | 0f017ffd481523a46e1ef8c14db1e6a1e290ed3b (patch) | |
tree | e072f40f6eedf67ce9ac4f0834dbe538cfa2c501 /AppKit/GTMTheme.h | |
parent | f86ba1ee62df5707767c1851b7a1617973dc8a40 (diff) |
[Author: alcor]
Add raw background color method
R=pinkerton
DELTA=37 (28 added, 0 deleted, 9 changed)
Diffstat (limited to 'AppKit/GTMTheme.h')
-rw-r--r-- | AppKit/GTMTheme.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/AppKit/GTMTheme.h b/AppKit/GTMTheme.h index 52d5d13..8eb8713 100644 --- a/AppKit/GTMTheme.h +++ b/AppKit/GTMTheme.h @@ -77,11 +77,21 @@ typedef NSUInteger GTMThemeState; - (NSColor *)backgroundPatternColorForStyle:(GTMThemeStyle)style state:(GTMThemeState)state; -// NSGradient for specific usage, active indicates whether the window is key -- (NSGradient *)gradientForStyle:(GTMThemeStyle)style state:(GTMThemeState)state; +// NSGradient for specific usage +- (NSGradient *)gradientForStyle:(GTMThemeStyle)style + state:(GTMThemeState)state; -// Outline color for stroke, active indicates whether the window is key -- (NSColor *)strokeColorForStyle:(GTMThemeStyle)style state:(GTMThemeState)state; +// Outline color for stroke +- (NSColor *)strokeColorForStyle:(GTMThemeStyle)style + state:(GTMThemeState)state; + +// Text color +- (NSColor *)textColorForStyle:(GTMThemeStyle)style + state:(GTMThemeState)state; + +// Base background color (a plain (non pattern/gradient) NSColor) +- (NSColor *)backgroundColorForStyle:(GTMThemeStyle)style + state:(GTMThemeState)state; // Indicates whether luminance is dark or light - (BOOL)styleIsDark:(GTMThemeStyle)style state:(GTMThemeState)state; |