aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMLinearRGBShading.h
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMLinearRGBShading.h')
-rw-r--r--AppKit/GTMLinearRGBShading.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/AppKit/GTMLinearRGBShading.h b/AppKit/GTMLinearRGBShading.h
index f6b6405..d85a4eb 100644
--- a/AppKit/GTMLinearRGBShading.h
+++ b/AppKit/GTMLinearRGBShading.h
@@ -34,7 +34,7 @@
CGFunctionRef function_; // function used to calculated shading (STRONG)
CGColorSpaceRef colorSpace_; // colorspace used for shading (STRONG)
BOOL isCalibrated_; // are we using calibrated or device RGB.
- float colorValue[4]; // the RGBA color values
+ CGFloat colorValue_[4]; // the RGBA color values
}
/// Generate a shading with color |begin| at position 0.0 and color |end| at 1.0.
@@ -64,8 +64,8 @@
// a GTMLinearRGBShading
+ (id)shadingWithColors:(NSColor **)colors
fromSpaceNamed:(NSString*)colorSpaceName
- atPositions:(float *)positions
- count:(unsigned int)numberOfColors;
+ atPositions:(CGFloat *)positions
+ count:(NSUInteger)numberOfColors;
/// Designated initializer
// Args: