blob: 83b960b97940cc048476c4cd92744f8b860a24a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* HBPictureViewController.m $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
#import "HBFiltersViewController.h"
@import HandBrakeKit;
@interface HBFiltersViewController ()
@property (nonatomic, readwrite) NSColor *labelColor;
@end
@implementation HBFiltersViewController
- (instancetype)init
{
self = [super initWithNibName:@"HBFiltersViewController" bundle:nil];
if (self)
{
_labelColor = [NSColor disabledControlTextColor];
}
return self;
}
- (void)setFilters:(HBFilters *)filters
{
_filters = filters;
if (_filters)
{
self.labelColor = [NSColor controlTextColor];
}
else
{
self.labelColor = [NSColor disabledControlTextColor];
}
}
@end
|