|
|
1.1 root 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.