From 0710b0b7d31384cb46ad276252eac3674184f588 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sat, 12 Dec 2015 12:12:47 +0100 Subject: MacGui: show a focus ring around the main window when a file is dragged over it, and move the advanced tab at the end. --- macosx/HBTabView.m | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 macosx/HBTabView.m (limited to 'macosx/HBTabView.m') diff --git a/macosx/HBTabView.m b/macosx/HBTabView.m new file mode 100644 index 000000000..f0adc6544 --- /dev/null +++ b/macosx/HBTabView.m @@ -0,0 +1,27 @@ +/* HBTabView + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. + */ + +#import "HBTabView.h" + +@implementation HBTabView + +-(NSDragOperation)draggingEntered:(id)sender +{ + return [self.dropDelegate draggingEntered:sender]; +} + +- (BOOL)performDragOperation:(id )sender +{ + return [self.dropDelegate performDragOperation:sender]; +} + +- (void)draggingExited:(nullable id )sender +{ + [self.dropDelegate draggingExited:sender]; +} + +@end -- cgit v1.2.3