home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Viewers / aa_m68k_Intel_Only / ToyViewer1.2 / Source / Background.h < prev    next >
Encoding:
Text File  |  1995-11-12  |  554 b   |  32 lines

  1. /*
  2.     Background.h
  3.         based on "Background"
  4.         by Scott Hess and Andreas Windemut (1991)
  5. */
  6.  
  7. #import <appkit/View.h>
  8. #import <dpsclient/dpsclient.h>
  9.  
  10. @class NXImage, Window;
  11.  
  12. @interface Background:View
  13. {
  14.     NXImage *image;
  15.     int    drawMethod;
  16.     BOOL    has_alpha;
  17.     id    controller;
  18. }
  19.  
  20. - free;
  21. - (Window *)initWinAttr;
  22. - setController: sender;
  23. - toBehind:sender;
  24. - toFront:sender;
  25. - (BOOL)isFront;
  26. - mouseDown:(NXEvent *)event;
  27. - (BOOL)acceptsFirstMouse;
  28. - setImage: (NXImage *)backimage hasAlpha:(BOOL)alpha with: (int)method;
  29. - drawSelf:(NXRect *)r :(int)count;
  30.  
  31. @end
  32.