home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextDeveloper / Examples / IndexingKit / BlockSizer / ScrollViewExtras.h < prev    next >
Encoding:
Text File  |  1993-09-02  |  714 b   |  24 lines

  1. /*
  2. ScrollViewExtras.h:
  3. You may freely copy, distribute, and reuse the code in this example. 
  4. NeXT disclaims any warranty of any kind, expressed or  implied, as to its fitness for any 
  5. particular use.
  6.  
  7. ScrollView methods to display/print text 
  8. Written by Jack Greenfield
  9. */
  10.  
  11. #import <appkit/ScrollView.h>
  12.  
  13. @interface ScrollView(ScrollViewExtras)
  14.  
  15. - sprintf:(const char *)format, ...; /* formats to the doc view of the scroll view */
  16. - vsprintf:(const char *)format arguments:(va_list)arguments;
  17.  
  18. - clear:sender; /* clears the doc view of the scroll view */
  19. - print:sender; /* prints the doc view of the scroll view */
  20.  
  21. - windowWillResize:sender toSize:(NXSize *)frameSize; /* restricts the window resizing */
  22.  
  23. @end
  24.