home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / MiniExamples / ImageText / Controller.h next >
Text File  |  1993-01-19  |  949b  |  36 lines

  1. // Controller.h
  2. // By Jayson Adams
  3. // NeXT Strategic Developer Engineer
  4. //
  5. // You may freely copy, distribute and reuse the code in this example.
  6. // NeXT disclaims any warranty of any kind, expressed or implied, as to its
  7. // fitness for any particular use.
  8.  
  9. #import <objc/Object.h>
  10.  
  11. @interface Controller:Object
  12. {
  13.     id        scrollView, textObj, infoPanel;
  14.     BOOL    acceptedIcon;
  15. }
  16.  
  17. /* instance methods */
  18. - appDidInit:sender;
  19. - registerWindow;
  20. - (int)iconEntered:(int)windowNum at:(double)x :(double)y
  21.     iconWindow:(int)iconWindowNum iconX:(double)iconX iconY:(double)iconY
  22.     iconWidth:(double)iconWidth iconHeight:(double)iconHeight
  23.     pathList:(char *)pathList;
  24. - (int)iconExitedAt:(double)x :(double)y;
  25. - (int)iconReleasedAt:(double)x :(double)y ok:(int *)flag;
  26. - lipService:sender;
  27. - open:sender;
  28. - save:sender;
  29. - windowWillResize:sender toSize:(NXSize *)frameSize;
  30. - info:sender;
  31.  
  32. /* outlet initialization */
  33. - setScrollView:anObject;
  34.  
  35. @end
  36.