-
-
Notifications
You must be signed in to change notification settings - Fork 131
/
TPHostAnimationController.h
41 lines (30 loc) · 929 Bytes
/
TPHostAnimationController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// TPHostAnimationController.h
// teleport
//
// Created by Julien Robert on 23/02/09.
// Copyright 2009 Apple. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "TPHostSnapping.h"
#import "TPRemoteHost.h"
@class TPEffectsWindow;
@interface TPHostPlacementIndicator : NSObject
{
TPEffectsWindow * _window;
CALayer * _layer;
TPRemoteHost * _remoteHost;
NSRect _hostRect;
TPSide _currentSide;
unsigned _currentScreenIndex;
}
- (instancetype) initWithHost:(TPRemoteHost*)remoteHost NS_DESIGNATED_INITIALIZER;
- (void)setHostRect:(NSRect)hostRect localScreenIndex:(unsigned)localScreenIndex;
- (void)show;
- (void)close;
@end
@interface TPHostAnimationController : NSObject
+ (TPHostAnimationController*)controller;
- (void)showFireAnimationForHost:(TPRemoteHost*)host atPoint:(NSPoint)point onScreen:(NSScreen*)screen side:(TPSide)side;
- (void)showAppearanceAnimationForHost:(TPRemoteHost*)host;
@end