gwenhywfar 5.10.1
CocoaSpacer.m
Go to the documentation of this file.
1//
2// CocoaSpacer.m
3//
4//
5// Created by Samuel Strupp on 17.08.10.
6//
7
8#ifdef HAVE_CONFIG_H
9# include <config.h>
10#endif
11
12
13#import "CocoaSpacer.h"
14
15#ifndef COCOA_SPACER_MM
16#define COCOA_SPACER_MM
17
18@implementation CocoaSpacer
19
20@synthesize fillX;
21@synthesize fillY;
22
23- (id)initWithFrame:(NSRect)frame {
24 self = [super initWithFrame:frame];
25 if (self) {
26 fillX = NO;
27 fillY = NO;
28 }
29 return self;
30}
31
32-(void) dealloc {
33 [super dealloc];
34}
35
36#pragma mark Protocoll Methods
37
38- (NSSize) minSize {
39 return NSMakeSize(0.0, 0.0);
40}
41
42- (BOOL) fillX {
43 return fillX;
44}
45
46- (BOOL) fillY {
47 return fillY;
48}
49
50@end
51
52#endif