source: launchers/macosx/obj-cpp/StatusItemButton.h @ 0b01cc5

Last change on this file since 0b01cc5 was 0b01cc5, checked in by meeh <meeh@…>, 2 years ago

Adding codebase for the Objective-C++ part of the Mac OS X launcher/wrapper.

  • Property mode set to 100644
File size: 461 bytes
Line 
1#pragma once
2
3#import <Cocoa/Cocoa.h>
4
5@class StatusItemButton;
6
7@protocol StatusItemButtonDelegate <NSObject>
8
9- (void) statusItemButtonLeftClick: (StatusItemButton *) button;
10- (void) statusItemButtonRightClick: (StatusItemButton *) button;
11
12@end
13
14@interface StatusItemButton : NSView
15
16@property (strong, nonatomic) NSImage *image;
17@property (unsafe_unretained) id<StatusItemButtonDelegate> delegate;
18
19- (instancetype) initWithImage: (NSImage *) image;
20
21@end
Note: See TracBrowser for help on using the repository browser.