Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

clearing logs

  • Loading branch information...
commit 8eb00a0faf208cda381cee2056dc7ff09e84bb6a 1 parent eb2512f
@tomcool420 authored
Showing with 29 additions and 0 deletions.
  1. +29 −0 BRMenuItem_SMF.m
View
29 BRMenuItem_SMF.m
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.