git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git]
/
ITTextFieldCell.h
diff --git
a/ITTextFieldCell.h
b/ITTextFieldCell.h
index
9a733c6
..
3789552
100644
(file)
--- a/
ITTextFieldCell.h
+++ b/
ITTextFieldCell.h
@@
-2,11
+2,9
@@
* ITKit
* ITTextFieldCell.h
*
* ITKit
* ITTextFieldCell.h
*
- * Custom NSTextFieldCell subclass that casts a shadow using CoreGraphics,
- * providing support for versions of Cocoa that don't have the NSShadow
- * class which was introduced in Mac OS X 10.3 (Panther).
+ * Custom NSTextFieldCell subclass that casts a shadow.
*
*
- * Copyright (c) 20
05
iThink Software
+ * Copyright (c) 20
10
iThink Software
*
*/
*
*/
@@
-14,24
+12,22
@@
@interface ITTextFieldCell : NSTextFieldCell {
BOOL castsShadow;
@interface ITTextFieldCell : NSTextFieldCell {
BOOL castsShadow;
- float shadowElevation;
float shadowAzimuth;
float shadowAmbient;
float shadowHeight;
float shadowRadius;
float shadowAzimuth;
float shadowAmbient;
float shadowHeight;
float shadowRadius;
- float shadowSaturation;
}
- (BOOL)castsShadow;
- (void)setCastsShadow:(BOOL)newSetting;
}
- (BOOL)castsShadow;
- (void)setCastsShadow:(BOOL)newSetting;
-- (float)shadowElevation; /* Light source elevation in degrees.
Defaults to
45.0 */
-- (void)setShadowElevation:(float)newElevation;
+- (float)shadowElevation; /* Light source elevation in degrees.
Always
45.0 */
+- (void)setShadowElevation:(float)newElevation;
/* NOOP */
- (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
- (void)setShadowAzimuth:(float)newAzimuth;
- (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
- (void)setShadowAzimuth:(float)newAzimuth;
-- (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.
15
*/
+- (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.
0
*/
- (void)setShadowAmbient:(float)newAmbient;
- (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
- (void)setShadowAmbient:(float)newAmbient;
- (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
@@
-40,7
+36,7
@@
- (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
- (void)setShadowRadius:(float)newRadius;
- (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
- (void)setShadowRadius:(float)newRadius;
-- (float)shadowSaturation; /* Maximum saturation.
Defaults to
1.0 */
-- (void)setShadowSaturation:(float)newSaturation;
+- (float)shadowSaturation; /* Maximum saturation.
Always
1.0 */
+- (void)setShadowSaturation:(float)newSaturation;
/* NOOP */
@end
\ No newline at end of file
@end
\ No newline at end of file