Files
quark-shell-mac/quark-shell/QSHStatusItemView.h
2015-12-28 00:11:43 -08:00

23 lines
635 B
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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 NSControls highlighted
@property (nonatomic) NSImage *icon;
@property (nonatomic) NSImage *highlightedIcon;
@property (nonatomic) NSString *label;
@end