/***************************************************************************** * VLCMenuButton.m * VLC for iOS ***************************************************************************** * Copyright (c) 2013 VideoLAN. All rights reserved. * $Id$ * * Authors: Gleb Pinigin * * Refer to the COPYING file of the official project for license. *****************************************************************************/ #import "VLCMenuButton.h" @implementation VLCMenuButton - (id)initWithCoder:(NSCoder *)aDecoder { self = [super initWithCoder:aDecoder]; if (self) { UIImage *background = [[UIImage imageNamed:@"menuButton"] resizableImageWithCapInsets:UIEdgeInsetsMake(5, 5, 5, 5)]; [self setBackgroundImage:background forState:UIControlStateNormal]; } return self; } @end