Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 66930c1de5
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (26 sloc) 0.621 kb
//
// 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
Jump to Line
Something went wrong with that request. Please try again.