TwoTerm/Views/TitleBarView.h
Kelvin Sherlock 91ac76dfb6 updated graphics, text color
git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@2471 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2012-08-04 22:35:03 +00:00

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