SameBoy/Cocoa/GBSplitView.m
2020-04-09 17:25:14 +03:00

21 lines
321 B
Objective-C

#import "GBSplitView.h"
@implementation GBSplitView
{
NSColor *_dividerColor;
}
- (void)setDividerColor:(NSColor *)color {
_dividerColor = color;
[self setNeedsDisplay:YES];
}
- (NSColor *)dividerColor {
if (_dividerColor) {
return _dividerColor;
}
return [super dividerColor];
}
@end