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