diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-19 20:19:43 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-19 20:19:43 +0000 |
commit | f85335a7f9fdbff012409bb2af8fecc81740eab0 (patch) | |
tree | f4f6678aa78b89b76fab7a10094f0cdd1b22be0f /cocoa/PSMTabBarControl/NSBezierPath_AMShading.h | |
parent | 5a259dadeb6b6b31f5cfe628cc62bfb7d86e25b4 (diff) | |
download | netsurf-f85335a7f9fdbff012409bb2af8fecc81740eab0.tar.gz netsurf-f85335a7f9fdbff012409bb2af8fecc81740eab0.tar.bz2 |
Implementing tabs and fixing scrolling.
svn path=/trunk/netsurf/; revision=11396
Diffstat (limited to 'cocoa/PSMTabBarControl/NSBezierPath_AMShading.h')
-rwxr-xr-x | cocoa/PSMTabBarControl/NSBezierPath_AMShading.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cocoa/PSMTabBarControl/NSBezierPath_AMShading.h b/cocoa/PSMTabBarControl/NSBezierPath_AMShading.h new file mode 100755 index 000000000..aed6f13ba --- /dev/null +++ b/cocoa/PSMTabBarControl/NSBezierPath_AMShading.h @@ -0,0 +1,23 @@ +// +// NSBezierPath_AMShading.h +// ------------------------ +// +// Created by Andreas on 2005-06-01. +// Copyright 2005 Andreas Mayer. All rights reserved. +// +// based on http://www.cocoadev.com/index.pl?GradientFill + + +#import <Cocoa/Cocoa.h> + +@interface NSBezierPath (AMShading) + +- (void)customHorizontalFillWithCallbacks:(CGFunctionCallbacks)functionCallbacks firstColor:(NSColor *)firstColor secondColor:(NSColor *)secondColor; +- (void)customVerticalFillWithCallbacks:(CGFunctionCallbacks)functionCallbacks firstColor:(NSColor *)firstColor secondColor:(NSColor *)secondColor; + +- (void)linearGradientFillWithStartColor:(NSColor *)startColor endColor:(NSColor *)endColor; +- (void)linearVerticalGradientFillWithStartColor:(NSColor *)startColor endColor:(NSColor *)endColor; + +- (void)bilinearGradientFillWithOuterColor:(NSColor *)outerColor innerColor:(NSColor *)innerColor; + +@end |