diff --git a/Cocoa/Document.m b/Cocoa/Document.m index cb9d71e..b29f7b4 100644 --- a/Cocoa/Document.m +++ b/Cocoa/Document.m @@ -933,7 +933,12 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) for (NSView *view in [_mainWindow.contentView.subviews copy]) { [view removeFromSuperview]; } - [[NSBundle mainBundle] loadNibNamed:@"GBS" owner:self topLevelObjects:nil]; + if (@available(macOS 11, *)) { + [[NSBundle mainBundle] loadNibNamed:@"GBS11" owner:self topLevelObjects:nil]; + } + else { + [[NSBundle mainBundle] loadNibNamed:@"GBS" owner:self topLevelObjects:nil]; + } [_mainWindow setContentSize:self.gbsPlayerView.bounds.size]; _mainWindow.styleMask &= ~NSWindowStyleMaskResizable; dispatch_async(dispatch_get_main_queue(), ^{ // Cocoa is weird, no clue why it's needed diff --git a/Cocoa/GBS.xib b/Cocoa/GBS.xib old mode 100644 new mode 100755 index 534ff55..65bd44f --- a/Cocoa/GBS.xib +++ b/Cocoa/GBS.xib @@ -44,7 +44,7 @@ - - - - - - - - - - - - - - + - - + + @@ -114,6 +91,29 @@ + + + + + + + + + + + + + diff --git a/Cocoa/GBS11.xib b/Cocoa/GBS11.xib new file mode 100755 index 0000000..b7a69fd --- /dev/null +++ b/Cocoa/GBS11.xib @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Cocoa/Next@2x.png b/Cocoa/Next@2x.png index 3bff7f7..c6b9d3a 100644 Binary files a/Cocoa/Next@2x.png and b/Cocoa/Next@2x.png differ diff --git a/Cocoa/Previous@2x.png b/Cocoa/Previous@2x.png index 8da8035..f0f7f65 100644 Binary files a/Cocoa/Previous@2x.png and b/Cocoa/Previous@2x.png differ diff --git a/Cocoa/Rewind@2x.png b/Cocoa/Rewind@2x.png index b754342..6cb3417 100644 Binary files a/Cocoa/Rewind@2x.png and b/Cocoa/Rewind@2x.png differ