|
|
Sample Programs from NeXSTEP 3.3
/* 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.