mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-22 17:21:45 +00:00
Add skeleton implementation of NSLayoutGuide
This commit is contained in:
parent
3d9442d117
commit
e2752e1bc4
2 changed files with 97 additions and 2 deletions
|
@ -26,5 +26,99 @@
|
|||
|
||||
@implementation NSLayoutGuide
|
||||
|
||||
- (NSRect) frame
|
||||
{
|
||||
return NSZeroRect;
|
||||
}
|
||||
|
||||
- (NSView *) owningView
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) setOwningView: (NSView *)owningView
|
||||
{
|
||||
}
|
||||
|
||||
- (NSUserInterfaceItemIdentifier) identifier
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
- (void) setIdentifier: (NSUserInterfaceItemIdentifier)identifier
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
- (NSLayoutXAxisAnchor *) leadingAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutXAxisAnchor *) trailingAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutXAxisAnchor *) leftAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutXAxisAnchor *) rightAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutYAxisAnchor *) topAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutYAxisAnchor *) bottomAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutDimension *) widthAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutDimension *) heightAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutXAxisAnchor *) centerXAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSLayoutYAxisAnchor *) centerYAnchor
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (BOOL) hasAmbiguousLayout
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (NSArray *) constraintsAffectingLayoutForOrientation: (NSLayoutConstraintOrientation)orientation
|
||||
{
|
||||
return [NSArray array];
|
||||
}
|
||||
|
||||
- (instancetype) initWithCoder: (NSCoder *)coder
|
||||
{
|
||||
self = [super init];
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) encodeWithCoder: (NSCoder *)coder
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue