From d21447d096a320a08b3efb2b8768fad0dcdcfd64 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 5 May 2016 22:28:51 +0100 Subject: move frontends into sub directory --- .../PSMTabBarControl/PSMTabDragWindowController.h | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 frontends/cocoa/PSMTabBarControl/PSMTabDragWindowController.h (limited to 'frontends/cocoa/PSMTabBarControl/PSMTabDragWindowController.h') diff --git a/frontends/cocoa/PSMTabBarControl/PSMTabDragWindowController.h b/frontends/cocoa/PSMTabBarControl/PSMTabDragWindowController.h new file mode 100644 index 000000000..5948207f2 --- /dev/null +++ b/frontends/cocoa/PSMTabBarControl/PSMTabDragWindowController.h @@ -0,0 +1,33 @@ +// +// PSMTabDragWindowController.h +// PSMTabBarControl +// +// Created by Kent Sutherland on 6/18/07. +// Copyright 2007 Kent Sutherland. All rights reserved. +// + +#import +#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 -- cgit v1.2.3