mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 03:49:22 +00:00
Added simple hud overlay on double-click actions
This commit is contained in:
20
MacPass/MPOverlayWindowController.h
Normal file
20
MacPass/MPOverlayWindowController.h
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// MPOverlayWindowController.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 03.03.13.
|
||||
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface MPOverlayWindowController : NSWindowController
|
||||
|
||||
+ (MPOverlayWindowController *)sharedController;
|
||||
|
||||
/*
|
||||
Displays an overlay centered at the given view. The Windows is added as a childwindow to the view window
|
||||
*/
|
||||
- (void)displayOverlayImage:(NSImage *)imageOrNil label:(NSString *)labelOrNil atView:(NSView *)view;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user