mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 19:29:22 +00:00
added MPCollectionView to track index for context menu
This commit is contained in:
15
MacPass/MPCollectionView.h
Normal file
15
MacPass/MPCollectionView.h
Normal 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
|
||||
Reference in New Issue
Block a user