added MPCollectionView to track index for context menu

This commit is contained in:
michael starke
2017-09-19 16:05:35 +02:00
parent c444c27a98
commit c80daac682
6 changed files with 82 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
//
// MPCollectionView.h
// MacPass
//
// Created by Michael Starke on 18.09.17.
// Copyright © 2017 HicknHack Software GmbH. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface MPCollectionView : NSCollectionView
@property NSUInteger contextMenuIndex; // the index the context menu was last opened. NSNotFound if invalid
@end