mirror of
https://github.com/HackPlan/quark-shell-mac.git
synced 2026-01-12 15:04:57 +08:00
23 lines
635 B
Objective-C
23 lines
635 B
Objective-C
//
|
||
// QSHStatusItemView.h
|
||
// quark-shell
|
||
//
|
||
// Created by Xhacker Liu on 5/1/14.
|
||
// Copyright (c) 2014 Xhacker. All rights reserved.
|
||
//
|
||
|
||
#import <Cocoa/Cocoa.h>
|
||
|
||
@interface QSHStatusItemView : NSButton
|
||
|
||
#define MENUBAR_FONT [NSFont menuBarFontOfSize:14.0]
|
||
#define MENUBAR_FONT_10_11 [NSFont monospacedDigitSystemFontOfSize:14 weight:NSFontWeightRegular]
|
||
|
||
@property (nonatomic, weak) NSStatusItem *statusItem;
|
||
@property (nonatomic) BOOL itemHighlighted; // differentiate from NSControl’s highlighted
|
||
@property (nonatomic) NSImage *icon;
|
||
@property (nonatomic) NSImage *highlightedIcon;
|
||
@property (nonatomic) NSString *label;
|
||
|
||
@end
|