mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
7b2694e9f6
svn path=/trunk/netsurf/; revision=11490
34 lines
841 B
Objective-C
34 lines
841 B
Objective-C
//
|
|
// PSMTabDragWindowController.h
|
|
// PSMTabBarControl
|
|
//
|
|
// Created by Kent Sutherland on 6/18/07.
|
|
// Copyright 2007 Kent Sutherland. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PSMTabBarControl.h"
|
|
|
|
#define kPSMTabDragWindowAlpha 0.75
|
|
#define kPSMTabDragAlphaInterval 0.15
|
|
|
|
@class PSMTabDragView;
|
|
|
|
@interface PSMTabDragWindowController : NSWindowController {
|
|
PSMTabBarTearOffStyle _tearOffStyle;
|
|
PSMTabDragView *_view;
|
|
NSAnimation *_animation;
|
|
NSTimer *_timer;
|
|
|
|
BOOL _showingAlternate;
|
|
NSRect _originalWindowFrame;
|
|
}
|
|
- (id)initWithImage:(NSImage *)image styleMask:(NSUInteger) styleMask tearOffStyle:(PSMTabBarTearOffStyle)tearOffStyle;
|
|
|
|
- (NSImage *)image;
|
|
- (NSImage *)alternateImage;
|
|
- (void)setAlternateImage:(NSImage *)image;
|
|
- (BOOL)isAnimating;
|
|
- (void)switchImages;
|
|
@end
|