File:  [NeXTSTEP 3.3 examples] / Examples / IndexingKit / BlockSizer / ScrollViewExtras.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:49:02 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.