Flycut/UI/BezelWindow.h

41 lines
1.1 KiB
C
Raw Normal View History

2011-03-20 15:16:13 +08:00
//
// BezelWindow.h
// Jumpcut
//
// Created by Steve Cook on 4/3/06.
// Copyright 2006 Steve Cook. All rights reserved.
//
// This code is open-source software subject to the MIT License; see the homepage
// at <http://jumpcut.sourceforge.net/> for details.
#import <Cocoa/Cocoa.h>
#import "RoundRecBezierPath.h"
#import "RoundRecTextField.h"
@interface BezelWindow : NSWindow {
NSString *charString; // Slightly misleading, as this can be longer than one character
NSString *title;
NSString *bezelText;
NSImage *icon;
RoundRecTextField *textField;
RoundRecTextField *charField;
NSImageView *iconView;
id delegate;
}
- (NSColor *)roundedBackgroundWithRect:(NSRect)bgRect withRadius:(float)radius withAlpha:(float)alpha;
- (NSColor *)sizedBezelBackgroundWithRadius:(float)radius withAlpha:(float)alpha;
- (NSString *)title;
- (void)setTitle:(NSString *)newTitle;
- (NSString *)text;
- (void)setText:(NSString *)newText;
- (void)setCharString:(NSString *)newChar;
- (void)setAlpha:(float)newValue;
- (id)delegate;
- (void)setDelegate:(id)newDelegate;
@end