SameBoy/Cocoa/GBSplitView.m

21 lines
321 B
Mathematica
Raw Normal View History

#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