mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix externs for collection view, correct NSFontIdentityMatrix type
This commit is contained in:
parent
c8c3e9720c
commit
af643cc821
4 changed files with 10 additions and 4 deletions
|
@ -43,8 +43,8 @@ enum
|
|||
};
|
||||
typedef NSInteger NSCollectionViewScrollDirection;
|
||||
|
||||
const static NSCollectionViewSupplementaryElementKind NSCollectionElementKindSectionHeader;
|
||||
const static NSCollectionViewSupplementaryElementKind NSCollectionElementKindSectionFooter;
|
||||
APPKIT_EXPORT NSCollectionViewSupplementaryElementKind NSCollectionElementKindSectionHeader;
|
||||
APPKIT_EXPORT NSCollectionViewSupplementaryElementKind NSCollectionElementKindSectionFooter;
|
||||
|
||||
APPKIT_EXPORT_CLASS
|
||||
@interface NSCollectionViewFlowLayoutInvalidationContext : NSCollectionViewLayoutInvalidationContext
|
||||
|
|
|
@ -48,7 +48,7 @@ typedef NSInteger NSCollectionElementCategory;
|
|||
|
||||
|
||||
typedef NSString *NSCollectionViewDecorationElementKind;
|
||||
const static NSCollectionViewSupplementaryElementKind NSCollectionElementKindInterItemGapIndicator;
|
||||
APPKIT_EXPORT NSCollectionViewSupplementaryElementKind NSCollectionElementKindInterItemGapIndicator;
|
||||
|
||||
@class NSCollectionViewLayoutAttributes;
|
||||
@class NSCollectionView;
|
||||
|
|
|
@ -74,7 +74,7 @@ typedef enum _NSFontRenderingMode
|
|||
} NSFontRenderingMode;
|
||||
#endif
|
||||
|
||||
APPKIT_EXPORT const CGFloat *NSFontIdentityMatrix;
|
||||
APPKIT_EXPORT const CGFloat NSFontIdentityMatrix[6];
|
||||
|
||||
APPKIT_EXPORT_CLASS
|
||||
@interface NSFont : NSObject <NSCoding, NSCopying>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#import "AppKit/NSAppearance.h"
|
||||
#import "AppKit/NSFontCollection.h"
|
||||
#import "AppKit/NSTextFinder.h"
|
||||
#import "AppKit/NSCollectionView.h"
|
||||
|
||||
// Global strings
|
||||
APPKIT_DECLARE APPKIT_DECLARE NSString *NSModalPanelRunLoopMode = @"NSModalPanelRunLoopMode";
|
||||
|
@ -778,6 +779,11 @@ APPKIT_DECLARE NSPasteboardTypeTextFinderOptionKey const NSTextFinderMatchingTyp
|
|||
|
||||
APPKIT_DECLARE CGFloat const NSGridViewSizeForContent = 0.0;
|
||||
|
||||
// NSCollectionView constants
|
||||
APPKIT_DECLARE NSCollectionViewSupplementaryElementKind const NSCollectionElementKindInterItemGapIndicator = @"NSCollectionElementKindInterItemGapIndicator";
|
||||
APPKIT_DECLARE NSCollectionViewSupplementaryElementKind const NSCollectionElementKindSectionHeader = @"UICollectionElementKindSectionHeader";
|
||||
APPKIT_DECLARE NSCollectionViewSupplementaryElementKind const NSCollectionElementKindSectionFooter = @"UICollectionElementKindSectionFooter";
|
||||
|
||||
extern void __objc_gui_force_linking (void);
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue