mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:10:37 +00:00
* Headers/AppKit/NSCell.h
* Headers/AppKit/NSColor.h * Headers/AppKit/NSGraphics.h * Headers/AppKit/NSView.h * Source/Functions.m * Source/GSThemeDrawing.m * Source/GSTitleView.m * Source/NSApplication.m * Source/NSCell.m * Source/NSView.m: More NSInteger/NSUInteger/CGFloat cleanup git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3205b3037d
commit
d870275b7f
11 changed files with 224 additions and 201 deletions
|
@ -53,8 +53,8 @@
|
|||
@class NSView;
|
||||
@class NSWindow;
|
||||
|
||||
typedef int NSTrackingRectTag;
|
||||
typedef int NSToolTipTag;
|
||||
typedef NSInteger NSTrackingRectTag;
|
||||
typedef NSInteger NSToolTipTag;
|
||||
|
||||
/** Describes the type of border used by an NSView.
|
||||
<list>
|
||||
|
@ -64,12 +64,13 @@ typedef int NSToolTipTag;
|
|||
<item>NSGrooveBorder</item>
|
||||
</list>
|
||||
*/
|
||||
typedef enum _NSBorderType {
|
||||
enum _NSBorderType {
|
||||
NSNoBorder,
|
||||
NSLineBorder,
|
||||
NSBezelBorder,
|
||||
NSGrooveBorder
|
||||
} NSBorderType;
|
||||
};
|
||||
typedef NSUInteger NSBorderType;
|
||||
|
||||
/*
|
||||
* autoresize constants which NSView uses in
|
||||
|
@ -115,7 +116,7 @@ PACKAGE_SCOPE
|
|||
@protected
|
||||
NSRect _invalidRect;
|
||||
NSRect _visibleRect;
|
||||
int _gstate;
|
||||
NSInteger _gstate;
|
||||
void *_nextKeyView;
|
||||
void *_previousKeyView;
|
||||
|
||||
|
@ -149,7 +150,7 @@ PACKAGE_SCOPE
|
|||
BOOL _is_hidden;
|
||||
BOOL _in_live_resize;
|
||||
|
||||
unsigned int _autoresizingMask;
|
||||
NSUInteger _autoresizingMask;
|
||||
NSFocusRingType _focusRingType;
|
||||
NSRect _autoresizingFrameError;
|
||||
}
|
||||
|
@ -176,7 +177,7 @@ PACKAGE_SCOPE
|
|||
#endif
|
||||
- (void) replaceSubview: (NSView*)oldView
|
||||
with: (NSView*)newView;
|
||||
- (void) sortSubviewsUsingFunction: (int (*)(id ,id ,void*))compare
|
||||
- (void) sortSubviewsUsingFunction: (NSComparisonResult (*)(id ,id ,void*))compare
|
||||
context: (void*)context;
|
||||
- (NSArray*) subviews;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
|
@ -266,8 +267,8 @@ PACKAGE_SCOPE
|
|||
- (void) resizeSubviewsWithOldSize: (NSSize)oldSize;
|
||||
- (void) setAutoresizesSubviews: (BOOL)flag;
|
||||
- (BOOL) autoresizesSubviews;
|
||||
- (void) setAutoresizingMask: (unsigned int)mask;
|
||||
- (unsigned int) autoresizingMask;
|
||||
- (void) setAutoresizingMask: (NSUInteger)mask;
|
||||
- (NSUInteger) autoresizingMask;
|
||||
- (void) resizeWithOldSuperviewSize: (NSSize)oldSize;
|
||||
|
||||
/*
|
||||
|
@ -328,7 +329,7 @@ PACKAGE_SCOPE
|
|||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (BOOL) wantsDefaultClipping;
|
||||
- (BOOL) needsToDrawRect: (NSRect)aRect;
|
||||
- (void) getRectsBeingDrawn: (const NSRect **)rects count: (int *)count;
|
||||
- (void) getRectsBeingDrawn: (const NSRect **)rects count: (NSInteger *)count;
|
||||
|
||||
/*
|
||||
* Live resize support
|
||||
|
@ -339,7 +340,7 @@ PACKAGE_SCOPE
|
|||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
|
||||
- (BOOL) preservesContentDuringLiveResize;
|
||||
- (void) getRectsExposedDuringLiveResize: (NSRect[4])exposedRects count: (int *)count;
|
||||
- (void) getRectsExposedDuringLiveResize: (NSRect[4])exposedRects count: (NSInteger *)count;
|
||||
- (NSRect) rectPreservedDuringLiveResize;
|
||||
#endif
|
||||
|
||||
|
@ -349,7 +350,7 @@ PACKAGE_SCOPE
|
|||
*/
|
||||
- (void) allocateGState;
|
||||
- (void) releaseGState;
|
||||
- (int) gState;
|
||||
- (NSInteger) gState;
|
||||
- (void) renewGState;
|
||||
- (void) setUpGState;
|
||||
|
||||
|
@ -536,7 +537,7 @@ PACKAGE_SCOPE
|
|||
- (BOOL) knowsPageRange: (NSRange*)range;
|
||||
#endif
|
||||
- (NSPoint) locationOfPrintRect: (NSRect)aRect;
|
||||
- (NSRect) rectForPage: (int)page;
|
||||
- (NSRect) rectForPage: (NSInteger)page;
|
||||
- (CGFloat) widthAdjustLimit;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue