123456789101112131415161718192021222324252627282930313233343536373839 |
- /*****************************************************************************
- * VLCTrackSelectorTableViewCell.m
- * VLC for iOS
- *****************************************************************************
- * Copyright (c) 2014 VideoLAN. All rights reserved.
- * $Id$
- *
- * Authors: Felix Paul Kühne <fkuehne # videolan.org>
- *
- * Refer to the COPYING file of the official project for license.
- *****************************************************************************/
- #import "VLCTrackSelectorTableViewCell.h"
- @implementation VLCTrackSelectorTableViewCell
- - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
- {
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (!self)
- return self;
- return self;
- }
- - (void)setShowsCurrentTrack:(BOOL)value
- {
- if (value) {
- self.backgroundColor = [UIColor VLCLightTextColor];
- self.textLabel.textColor = [UIColor VLCDarkBackgroundColor];
- } else {
- self.backgroundColor = [UIColor clearColor];
- self.textLabel.textColor = [UIColor VLCLightTextColor];
- }
- }
- @end
|