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:
Fred Kiefer 2011-12-17 17:16:09 +00:00
parent 0a6beb65c6
commit 8ad4aa86c4
35 changed files with 248 additions and 214 deletions

View file

@ -59,7 +59,7 @@ typedef enum _NSSliderType
NSRect _trackRect;
BOOL _isVertical;
BOOL _allowsTickMarkValuesOnly;
int _numberOfTickMarks;
NSInteger _numberOfTickMarks;
NSTickMarkPosition _tickMarkPosition;
NSSliderType _type;
}
@ -107,14 +107,14 @@ typedef enum _NSSliderType
// ticks
- (BOOL) allowsTickMarkValuesOnly;
- (double) closestTickMarkValueToValue: (double)aValue;
- (int) indexOfTickMarkAtPoint: (NSPoint)point;
- (int) numberOfTickMarks;
- (NSRect) rectOfTickMarkAtIndex: (int)index;
- (NSInteger) indexOfTickMarkAtPoint: (NSPoint)point;
- (NSInteger) numberOfTickMarks;
- (NSRect) rectOfTickMarkAtIndex: (NSInteger)index;
- (void) setAllowsTickMarkValuesOnly: (BOOL)flag;
- (void) setNumberOfTickMarks: (int)numberOfTickMarks;
- (void) setNumberOfTickMarks: (NSInteger)numberOfTickMarks;
- (void) setTickMarkPosition: (NSTickMarkPosition)position;
- (NSTickMarkPosition) tickMarkPosition;
- (double) tickMarkValueAtIndex: (int)index;
- (double) tickMarkValueAtIndex: (NSInteger)index;
#endif
@end