home *** CD-ROM | disk | FTP | other *** search
- /*
- ScrollViewExtras.h:
- You may freely copy, distribute, and reuse the code in this example.
- NeXT disclaims any warranty of any kind, expressed or implied, as to its fitness for any
- particular use.
-
- ScrollView methods to display/print text
- Written by Jack Greenfield
- */
-
- #import <appkit/ScrollView.h>
-
- @interface ScrollView(ScrollViewExtras)
-
- - sprintf:(const char *)format, ...; /* formats to the doc view of the scroll view */
- - vsprintf:(const char *)format arguments:(va_list)arguments;
-
- - clear:sender; /* clears the doc view of the scroll view */
- - print:sender; /* prints the doc view of the scroll view */
-
- - windowWillResize:sender toSize:(NXSize *)frameSize; /* restricts the window resizing */
-
- @end
-