Permalink
Browse files

clearing logs

  • Loading branch information...
1 parent eb2512f commit 8eb00a0faf208cda381cee2056dc7ff09e84bb6a @tomcool420 committed Nov 13, 2010
Showing with 29 additions and 0 deletions.
  1. +29 −0 BRMenuItem_SMF.m
View
@@ -0,0 +1,29 @@
+//
+// BRMenuItem.m
+// SMFramework
+//
+// Created by Thomas Cool on 10/24/10.
+// Copyright 2010 tomcool.org. All rights reserved.
+//
+
+#import "BRMenuItem_SMF.h"
+
+
+@implementation BRMenuItem (SMFExtensions)
++(BRMenuItem *)smfFolderMenuItem
+{
+ BRMenuItem *i = [[BRMenuItem alloc] init];
+ [i addAccessoryOfType:1];
+ return [i autorelease];
+}
++(BRMenuItem *)smfMenuItem
+{
+ BRMenuItem *i = [[BRMenuItem alloc] init];
+ [i addAccessoryOfType:0];
+ return [i autorelease];
+}
+-(void)setTitle:(NSString *)title
+{
+ [self setText:title withAttributes:[[BRThemeInfo sharedTheme]menuItemTextAttributes]];
+}
+@end

0 comments on commit 8eb00a0

Please sign in to comment.