home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / News / Alexandra.0.82 / Source / Info.subproj / Sequence.h < prev    next >
Encoding:
Text File  |  1996-01-30  |  479 b   |  36 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4.  
  5. typedef enum
  6.     {
  7.     BACKWARDS=-1, STOPPED=0, FORWARD=1
  8.     } DType;
  9.  
  10.  
  11. @interface Sequence:Object
  12.     {
  13.     NXImage    *image;
  14.     NXSize    imageSize;
  15.     NXSize    frameSize;
  16.     int        frameCount;
  17.     NXPoint    where;
  18.     BOOL    bounce;
  19.     
  20.     DType    direction;
  21.     int        currentFrame;
  22.     }
  23.     
  24. - setImage:(NXImage *)anImage;
  25. - setFrameCount:(int)frames;        
  26. - setLocation:(const NXPoint *)aPoint;
  27. - setBounce:(BOOL)flag;    
  28.     
  29. - start:controlView;
  30. - nextFrame:controlView;
  31.  
  32. - compositeFrame:(int)no;
  33.  
  34.  
  35. @end
  36.