git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the menu indent.
[ITKit.git]
/
ITTextFieldCell.m
diff --git
a/ITTextFieldCell.m
b/ITTextFieldCell.m
index
6d2b86a
..
3d04848
100755
(executable)
--- a/
ITTextFieldCell.m
+++ b/
ITTextFieldCell.m
@@
-15,9
+15,9
@@
#pragma mark INITIALIZATION METHODS
/*************************************************************************/
#pragma mark INITIALIZATION METHODS
/*************************************************************************/
-- (id)init
+- (id)init
TextCell:(NSString *)string;
{
{
- if ( ( self = [super init] ) ) {
+ if ( ( self = [super init
TextCell:string
] ) ) {
castsShadow = NO;
shadowElevation = 45.0;
shadowAzimuth = 90.0;
castsShadow = NO;
shadowElevation = 45.0;
shadowAzimuth = 90.0;
@@
-32,7
+32,7
@@
- (id)initWithCoder:(NSCoder *)coder
{
- (id)initWithCoder:(NSCoder *)coder
{
- if ( ( self = [super initWithCoder:coder] ) ) {
+ if ( ( self = [super initWithCoder:coder] ) ) {
castsShadow = NO;
shadowElevation = 45.0;
shadowAzimuth = 90.0;
castsShadow = NO;
shadowElevation = 45.0;
shadowAzimuth = 90.0;
@@
-51,13
+51,13
@@
#pragma mark DRAWING METHODS
/*************************************************************************/
#pragma mark DRAWING METHODS
/*************************************************************************/
-- (void)draw
Interior
WithFrame:(NSRect)rect inView:(NSView *)controlView
+- (void)drawWithFrame:(NSRect)rect inView:(NSView *)controlView
{
CGSGenericObj style = nil;
CGShadowStyle shadow;
if ( castsShadow ) {
{
CGSGenericObj style = nil;
CGShadowStyle shadow;
if ( castsShadow ) {
-
//
Create the shadow style to use for drawing the string
+
//
Create the shadow style to use for drawing the string
shadow.version = 0;
shadow.elevation = shadowElevation;
shadow.azimuth = shadowAzimuth;
shadow.version = 0;
shadow.elevation = shadowElevation;
shadow.azimuth = shadowAzimuth;
@@
-73,7
+73,7
@@
}
// Draw the string
}
// Draw the string
- [super draw
Interior
WithFrame:rect inView:controlView];
+ [super drawWithFrame:rect inView:controlView];
if ( castsShadow ) {
if ( castsShadow ) {