libs-gui/Source/NSLayoutAnchor.m

182 lines
3.8 KiB
Mathematica
Raw Normal View History

/* Implementation of class NSLayoutAnchor
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento <greg.casamento@gmail.com>
Date: Sat May 9 16:30:52 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
2020-05-10 20:38:52 +00:00
#import <Foundation/NSString.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
#import "AppKit/NSLayoutAnchor.h"
2020-05-10 20:38:52 +00:00
#import "AppKit/NSLayoutConstraint.h"
@implementation NSLayoutAnchor
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutAnchor *)anchor
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutAnchor *)anchor
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutAnchor *)anchor
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c;
2020-05-10 20:38:52 +00:00
{
return nil;
}
- (NSString *) name
{
return nil;
}
- (id) item
{
return nil;
}
- (BOOL) hasAmbiguousLayout
{
return NO;
}
- (NSArray *) constraintsAffectingLayout
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (id) initWithCoder: (NSCoder *)c
{
self = [super init];
return self;
}
- (void) encodeWithCoder: (NSCoder *)c
{
}
- (id) copyWithZone: (NSZone *)z
{
return nil;
}
2020-05-10 20:38:52 +00:00
@end
@implementation NSLayoutDimension
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintEqualToConstant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToConstant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintLessThanOrEqualToConstant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m constant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m constant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-10 20:44:48 +00:00
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m constant: (CGFloat)c
2020-05-10 20:38:52 +00:00
{
return nil;
}
2020-05-26 06:05:50 +00:00
- (id) initWithCoder: (NSCoder *)coder
{
self = [super init];
if (self != nil)
{
NSLog(@"Decoding");
}
return self;
}
- (void) encodeWithCoder: (NSCoder *)coder
{
[super encodeWithCoder: coder];
}
2020-05-10 20:38:52 +00:00
@end
@implementation NSLayoutXAxisAnchor
2020-05-10 20:44:48 +00:00
- (NSLayoutDimension *) anchorWithOffsetToAnchor: (NSLayoutXAxisAnchor *)anchor
2020-05-10 20:38:52 +00:00
{
return nil;
}
@end
@implementation NSLayoutYAxisAnchor
2020-05-10 20:44:48 +00:00
- (NSLayoutDimension *) anchorWithOffsetToAnchor: (NSLayoutYAxisAnchor *)anchor
2020-05-10 20:38:52 +00:00
{
return nil;
}
@end