VLCTrackSelectorTableViewCell.m 905 B

1234567891011121314151617181920212223242526272829
  1. /*****************************************************************************
  2. * VLCTrackSelectorTableViewCell.m
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2014-2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import "VLCTrackSelectorTableViewCell.h"
  13. @implementation VLCTrackSelectorTableViewCell
  14. - (void)setShowsCurrentTrack:(BOOL)value
  15. {
  16. if (value) {
  17. self.backgroundColor = [UIColor VLCLightTextColor];
  18. self.textLabel.textColor = [UIColor VLCDarkBackgroundColor];
  19. } else {
  20. self.backgroundColor = [UIColor clearColor];
  21. self.textLabel.textColor = [UIColor VLCLightTextColor];
  22. }
  23. }
  24. @end