Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (26 sloc) 0.621 kB
8eb00a0 @tomcool420 clearing logs
authored
1 //
2 // BRMenuItem.m
3 // SMFramework
4 //
5 // Created by Thomas Cool on 10/24/10.
6 // Copyright 2010 tomcool.org. All rights reserved.
7 //
8
9 #import "BRMenuItem_SMF.h"
10
11
12 @implementation BRMenuItem (SMFExtensions)
13 +(BRMenuItem *)smfFolderMenuItem
14 {
15 BRMenuItem *i = [[BRMenuItem alloc] init];
16 [i addAccessoryOfType:1];
17 return [i autorelease];
18 }
19 +(BRMenuItem *)smfMenuItem
20 {
21 BRMenuItem *i = [[BRMenuItem alloc] init];
22 [i addAccessoryOfType:0];
23 return [i autorelease];
24 }
25 -(void)setTitle:(NSString *)title
26 {
27 [self setText:title withAttributes:[[BRThemeInfo sharedTheme]menuItemTextAttributes]];
28 }
29 @end
Something went wrong with that request. Please try again.