VLCTrackSelectorTableViewCell.m 899 B

12345678910111213141516171819202122232425262728293031
  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
  15. {
  16. self.backgroundColor = [UIColor VLCLightTextColor];
  17. self.textLabel.textColor = [UIColor VLCDarkBackgroundColor];
  18. }
  19. - (void)prepareForReuse
  20. {
  21. [super prepareForReuse];
  22. self.backgroundColor = [UIColor clearColor];
  23. self.textLabel.textColor = [UIColor VLCLightTextColor];
  24. }
  25. @end