From 0f017ffd481523a46e1ef8c14db1e6a1e290ed3b Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 19 Aug 2009 17:15:57 +0000 Subject: [Author: alcor] Add raw background color method R=pinkerton DELTA=37 (28 added, 0 deleted, 9 changed) --- AppKit/GTMTheme.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'AppKit/GTMTheme.h') 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; -- cgit v1.2.3