Switch to the new metadata api.

This commit is contained in:
Damiano Galassi committed 2016-10-11 18:12:42 +02:00
1 parent b21eab22e4
commit 6c1b470be7
14 files changed
+1016 -1063

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
//
// SBComboBoxCellView.m
// Subler
//
// Created by Damiano Galassi on 11/10/2016.
//
//
#import "SBComboBoxCellView.h"
@implementation SBComboBoxCellView
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle
{
[super setBackgroundStyle:backgroundStyle];
if (backgroundStyle == NSBackgroundStyleDark) {
self.comboBox.textColor = [NSColor controlHighlightColor];
}
else {
self.comboBox.textColor = [NSColor controlTextColor];
}
}
@end