mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 11:50:48 +00:00
Replace some occurences of int with NSInteger
and unsigned with NSUInteger. This allows to recompile gui on 64 bit systems after the change to NSNotFound in base. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0a6beb65c6
commit
8ad4aa86c4
35 changed files with 248 additions and 214 deletions
|
@ -365,17 +365,17 @@ static Class cellClass;
|
|||
return [_cell closestTickMarkValueToValue: aValue];
|
||||
}
|
||||
|
||||
- (int) indexOfTickMarkAtPoint: (NSPoint)point
|
||||
- (NSInteger) indexOfTickMarkAtPoint: (NSPoint)point
|
||||
{
|
||||
return [_cell indexOfTickMarkAtPoint: point];
|
||||
}
|
||||
|
||||
- (int) numberOfTickMarks
|
||||
- (NSInteger) numberOfTickMarks
|
||||
{
|
||||
return [_cell numberOfTickMarks];
|
||||
}
|
||||
|
||||
- (NSRect) rectOfTickMarkAtIndex: (int)index
|
||||
- (NSRect) rectOfTickMarkAtIndex: (NSInteger)index
|
||||
{
|
||||
return [_cell rectOfTickMarkAtIndex: index];
|
||||
}
|
||||
|
@ -385,7 +385,7 @@ static Class cellClass;
|
|||
[_cell setAllowsTickMarkValuesOnly: flag];
|
||||
}
|
||||
|
||||
- (void) setNumberOfTickMarks: (int)numberOfTickMarks
|
||||
- (void) setNumberOfTickMarks: (NSInteger)numberOfTickMarks
|
||||
{
|
||||
[_cell setNumberOfTickMarks: numberOfTickMarks];
|
||||
}
|
||||
|
@ -400,7 +400,7 @@ static Class cellClass;
|
|||
return [_cell tickMarkPosition];
|
||||
}
|
||||
|
||||
- (double) tickMarkValueAtIndex: (int)index
|
||||
- (double) tickMarkValueAtIndex: (NSInteger)index
|
||||
{
|
||||
return [_cell tickMarkValueAtIndex: index];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue