forked from johndbritton/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TPLayoutView.h
41 lines (29 loc) · 814 Bytes
/
TPLayoutView.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
//
// TPLayoutView.h
// teleport
//
// Created by JuL on Thu Feb 26 2004.
// Copyright (c) 2003-2005 abyssoft. All rights reserved.
//
#import <AppKit/AppKit.h>
#import <QuartzCore/QuartzCore.h>
@class TPLayoutLocalHostView, TPLayoutRemoteHostView, TPRemoteHost;
extern NSRect TPScaledRect(NSRect rect, float scale);
@interface TPLayoutView : NSView
{
IBOutlet id delegate;
IBOutlet NSTextField * infoLabel;
float _scaleFactor;
float _layoutHeight;
NSTimeInterval _snapTime;
TPLayoutLocalHostView * _localHostView;
NSMutableDictionary * _remoteHostsViews;
NSScroller * _scroller;
float _scrollerDeltaX;
CALayer * _separationLine;
CALayer * _overlayLayer;
NSWindow * _optionsWindow;
}
- (TPLayoutRemoteHostView*)remoteHostViewForHost:(TPRemoteHost*)host;
- (void)updateLayout;
@end