1//
2//  PXSourceListBadgeView.m
3//  PXSourceList
4//
5//  Created by Alex Rozanski on 15/11/2013.
6//  Copyright 2009-14 Alex Rozanski http://alexrozanski.com and other contributors.
7//  This software is licensed under the New BSD License. Full details can be found in the README.
8//
9
10#import "PXSourceListBadgeView.h"
11#import "PXSourceListBadgeCell.h"
12
13@implementation PXSourceListBadgeView
14
15+ (Class)cellClass
16{
17    return [PXSourceListBadgeCell class];
18}
19
20#pragma mark - Custom Accessors
21
22- (void)setBadgeValue:(NSUInteger)badgeValue
23{
24    [self.cell setBadgeValue:badgeValue];
25}
26
27- (NSUInteger)badgeValue
28{
29    return [self.cell badgeValue];
30}
31
32- (NSColor *)textColor
33{
34    return [self.cell textColor];
35}
36
37- (void)setTextColor:(NSColor *)textColor
38{
39    [self.cell setTextColor:textColor];
40}
41
42- (NSColor *)backgroundColor
43{
44    return [self.cell backgroundColor];
45}
46
47- (void)setBackgroundColor:(NSColor *)backgroundColor
48{
49    [self.cell setBackgroundColor:backgroundColor];
50}
51
52@end
53