home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / eTImage.subproj / eTImageUI.h < prev    next >
Encoding:
Text File  |  1994-11-26  |  1.4 KB  |  45 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //    FILENAME:    eTImageUI.h
  3. //    SUMMARY:    Inspector for an eTImage annotation (uses eTImageComponent)
  4. //    SUPERCLASS:    Object
  5. //    INTERFACE:    None
  6. //    PROTOCOLS:    <Inspectable>
  7. //    AUTHOR:        Rohit Khare and Tom Zavisca
  8. //    COPYRIGHT:    (c) 1994 California Institure of Technology, eText Project
  9. ///////////////////////////////////////////////////////////////////////////////
  10. //    DESCRIPTION
  11. //        A subclass can cleverly reuse the inspection power of this object to
  12. //    use it as one of the "panes" in its own popup menu.
  13. ///////////////////////////////////////////////////////////////////////////////
  14. //    HISTORY
  15. //    11/26/94:    Added pull-down menu, image-from-caption options.
  16. //    07/19/94:    Rewritten from scratch (RK) from remains of ImageAnnotationUI.
  17. ///////////////////////////////////////////////////////////////////////////////
  18.  
  19. #import "eTImage.h"
  20. #import "eTextKernel.h"
  21.  
  22. @interface eTImageUI:Object <Inspectable>
  23. {
  24.     id        etImage;
  25.     id        controlPanel;
  26.     id        controlView;
  27.     id        componentNameField;
  28.     id        descriptionField;        // this is actually a monofont Text object
  29.     id        linkSwitch;
  30.     id        heightField;
  31.     id        widthField;
  32. }
  33.  
  34. + new;
  35. - setAnnotation:neweTImage;
  36.  
  37. - chooseImage:sender;
  38. - pasteImage:sender;
  39. - captionImage:sender;
  40. - editDescription:sender;
  41. - editComponentName:sender;
  42. - editSize:sender;
  43.  
  44. - textDidEnd:sender endChar:(unsigned short)whyEnd;
  45. @end