mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 22:29:51 +00:00
91ac76dfb6
git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@2471 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
33 lines
663 B
Objective-C
33 lines
663 B
Objective-C
//
|
|
// TitleBarView.h
|
|
// 2Term
|
|
//
|
|
// Created by Kelvin Sherlock on 11/26/2011.
|
|
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
@interface TitleBarView : NSView
|
|
{
|
|
NSColor *_backgroundColor;
|
|
NSColor *_textColor;
|
|
NSTextField *_label;
|
|
NSImage *_rightImage;
|
|
NSImage *_leftImage;
|
|
NSImage *_centerImage;
|
|
|
|
BOOL _dark;
|
|
}
|
|
|
|
@property (nonatomic, retain) NSColor *backgroundColor;
|
|
@property (nonatomic, retain) NSColor *textColor;
|
|
@property (nonatomic, retain) IBOutlet NSTextField *label;
|
|
@property (nonatomic, retain) NSString *title;
|
|
|
|
-(void)updateTitle;
|
|
|
|
-(void)fadeIn;
|
|
-(void)fadeOut;
|
|
@end
|