File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / VideoApp / CustomVideoView.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:29 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

#import <video/NXLiveVideoView.h>

@interface CustomVideoView:NXLiveVideoView
{
  id theImage;		// The image that is displayed (output image)
  int theMode;		// Video Mode (NX_FROMINPUT,NX_FROMVIEW)
  NXRect grabRect;		// The bounds of the captured image
  NXSize imageSize;		// Size of output image
  NXPoint imagePoint;	// Location of output image
  BOOL actualSize;		// State of how image should be drawn
  BOOL changed;		// tells the image to recache itself
}

- mouseDown:(NXEvent *)theEvent;
- grab:sender;
- setImage:sender;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- setOutputMode:(int)mode;
- setActualSize:sender;
- clear:sender;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.