PageRenderTime 44ms CodeModel.GetById 37ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/ConnectionsCollectionView/ConnectionsCollectionView.m

http://github.com/bububa/MongoHub-Mac
Objective C | 23 lines | 11 code | 5 blank | 7 comment | 0 complexity | 8ba82b7bdb4e7430f8026f6270cb8c25 MD5 | raw file
 1//
 2//  ProjectsCollectionView.m
 3//  SEOBox
 4//
 5//  Created by Syd on 10-2-28.
 6//  Copyright 2010 MusicPeace.ORG. All rights reserved.
 7//
 8
 9#import "ConnectionsCollectionView.h"
10
11
12@implementation ConnectionsCollectionView
13
14-(void)setSubviewSize:(CGFloat)theSubviewSize {
15    [self setMaxItemSize:NSMakeSize(theSubviewSize,theSubviewSize)];
16    [self setMinItemSize:NSMakeSize(theSubviewSize,theSubviewSize)];
17}
18
19-(void)drawRect:(NSRect)rect {
20	[[NSColor colorWithCalibratedHue: 0 saturation: 0 brightness: 0.13 alpha: 1.0] set];
21	NSRectFill([self frame]);
22}
23@end