home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / AppKit / VideoApp / CustomVideoView.h < prev    next >
Encoding:
Text File  |  1992-05-27  |  654 b   |  22 lines

  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
  22.