Permalink
Browse files

Implemented `YRSolcounter - initWithBundle:` and `YRSolcounter - deal…

…loc`
  • Loading branch information...
ELLIOTTCABLE committed Jun 6, 2010
1 parent 79d9692 commit 24a3469e252ee3b3f73c7af95fc1de475e308dc7
Showing with 17 additions and 1 deletion.
  1. +1 −1 YRSolcounter.h
  2. +16 −0 YRSolcounter.m
View
@@ -13,7 +13,7 @@
@interface YRSolcounter : NSMenuExtra {
YRSolcounterView *view;
YRSolcounterView *menuExtraView;
}
@end
View
@@ -12,4 +12,20 @@
@implementation YRSolcounter
- (id)initWithBundle:(NSBundle *)bundle
{
if ( (self = [super initWithBundle: bundle]) == nil ) return nil;
[self setView:
(menuExtraView = [[YRSolcounterView alloc] initWithFrame: [[self view] frame] menuExtra: self]) ];
return self;
}
- (void)dealloc
{
[menuExtraView release];
[super dealloc];
}
@end

0 comments on commit 24a3469

Please sign in to comment.