|
|
1.1 root 1: #import <video/NXLiveVideoView.h>
2:
3: @interface CustomVideoView:NXLiveVideoView
4: {
5: id theImage; // The image that is displayed (output image)
6: int theMode; // Video Mode (NX_FROMINPUT,NX_FROMVIEW)
7: NXRect grabRect; // The bounds of the captured image
8: NXSize imageSize; // Size of output image
9: NXPoint imagePoint; // Location of output image
10: BOOL actualSize; // State of how image should be drawn
11: BOOL changed; // tells the image to recache itself
12: }
13:
14: - mouseDown:(NXEvent *)theEvent;
15: - grab:sender;
16: - setImage:sender;
17: - drawSelf:(const NXRect *)rects :(int)rectCount;
18: - setOutputMode:(int)mode;
19: - setActualSize:sender;
20: - clear:sender;
21: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.