-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVNCContentView.h
More file actions
43 lines (36 loc) · 1.02 KB
/
VNCContentView.h
File metadata and controls
43 lines (36 loc) · 1.02 KB
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
42
43
//
// VNCContentView.h
// vnsea
//
// Created by Chris Reed on 9/15/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FrameBuffer.h"
/*!
* @brief Subview of VNCView that draws the screen.
*/
@interface VNCContentView : UIView
{
FrameBuffer * _frameBuffer;
float _orientationDeg;
float _scalePercent;
UIHardwareOrientation _orientationState;
CGAffineTransform _matrixPreviousTransform;
CGRect _frame;
id _delegate;
}
- (void)setDelegate:(id)newDelegate;
- (id)delegate;
- (void)setFrameBuffer:(FrameBuffer *)buffer;
- (void)setRemoteDisplaySize:(CGSize)remoteSize animate:(BOOL)bAnimate;
- (void)displayFromBuffer:(CGRect)aRect;
- (float)getScalePercent;
- (void)setScalePercent:(float)fPercent;
- (UIHardwareOrientation)getOrientationState;
- (void)setOrientationState:(UIHardwareOrientation)wState;
- (void)setOrientationDeg:(float)fDeg;
- (float)getOrientationDeg;
- (CGRect)getFrame;
- (CGPoint)getIPodScreenPoint:(CGRect)r bounds:(CGRect)bounds;
@end