/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
- //
- // ProjectsCollectionView.m
- // SEOBox
- //
- // Created by Syd on 10-2-28.
- // Copyright 2010 MusicPeace.ORG. All rights reserved.
- //
- #import "ConnectionsCollectionView.h"
- @implementation ConnectionsCollectionView
- -(void)setSubviewSize:(CGFloat)theSubviewSize {
- [self setMaxItemSize:NSMakeSize(theSubviewSize,theSubviewSize)];
- [self setMinItemSize:NSMakeSize(theSubviewSize,theSubviewSize)];
- }
- -(void)drawRect:(NSRect)rect {
- [[NSColor colorWithCalibratedHue: 0 saturation: 0 brightness: 0.13 alpha: 1.0] set];
- NSRectFill([self frame]);
- }
- @end