diff options
author | Damiano Galassi <[email protected]> | 2015-12-12 12:12:47 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-12-12 12:12:47 +0100 |
commit | 0710b0b7d31384cb46ad276252eac3674184f588 (patch) | |
tree | d34034a622d7be81b0c77e530adbdf3faa979863 /macosx/HBTabView.m | |
parent | db8836d96853d0be19f90dfa41bdd78f0cc14534 (diff) |
MacGui: show a focus ring around the main window when a file is dragged over it, and move the advanced tab at the end.
Diffstat (limited to 'macosx/HBTabView.m')
-rw-r--r-- | macosx/HBTabView.m | 27 |
1 files changed, 27 insertions, 0 deletions
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: <http://handbrake.fr/>. + It may be used under the terms of the GNU General Public License. + */ + +#import "HBTabView.h" + +@implementation HBTabView + +-(NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender +{ + return [self.dropDelegate draggingEntered:sender]; +} + +- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender +{ + return [self.dropDelegate performDragOperation:sender]; +} + +- (void)draggingExited:(nullable id <NSDraggingInfo>)sender +{ + [self.dropDelegate draggingExited:sender]; +} + +@end |