gwenhywfar
4.3.1
|
00001 // 00002 // CocoaSpacer.m 00003 // 00004 // 00005 // Created by Samuel Strupp on 17.08.10. 00006 // 00007 00008 #ifdef HAVE_CONFIG_H 00009 # include <config.h> 00010 #endif 00011 00012 00013 #import "CocoaSpacer.h" 00014 00015 #ifndef COCOA_SPACER_MM 00016 #define COCOA_SPACER_MM 00017 00018 @implementation CocoaSpacer 00019 00020 @synthesize fillX; 00021 @synthesize fillY; 00022 00023 - (id)initWithFrame:(NSRect)frame { 00024 self = [super initWithFrame:frame]; 00025 if (self) { 00026 fillX = NO; 00027 fillY = NO; 00028 } 00029 return self; 00030 } 00031 00032 -(void) dealloc { 00033 [super dealloc]; 00034 } 00035 00036 #pragma mark Protocoll Methods 00037 00038 - (NSSize) minSize { 00039 return NSMakeSize(0.0, 0.0); 00040 } 00041 00042 - (BOOL) fillX { 00043 return fillX; 00044 } 00045 00046 - (BOOL) fillY { 00047 return fillY; 00048 } 00049 00050 @end 00051 00052 #endif