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