home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder
- ** You may freely copy, distribute and reuse the code in this example.
- ** Eric Tremblay disclaims any warranty of any kind, expressed
- ** or implied,as to
- ** its fitness for any particular use.
- ** July 26, 1992, updated August 7, 1993
- */
-
- #import <objc/Object.h>
- #import <appkit/appkit.h>
-
- @interface MyObject:Object
- {
- char *SaveName;
- int error;
- id theTextLength; /* The display panel of the TextLength box */
- id theByteLength; /* The display panel of the ByteLength box */
- id MyScrollView; /* THE SCROLLVIEW */
- id document; /* document id variable */
- id setTextInput; /* The input panel for replace all the text box */
- id appendTextInput; /* The input panel for append text at the end */
- id TheWindow; /* The window itself */
- }
-
- - appDidInit:sender; /* Automatically executes when program starts */
-
- /* METHODS */
- - textLengthTest:sender;
- - selectTextTest:sender;
- - byteLengthTest:sender;
- - setTextTest:sender;
- - appendTextTest:sender;
- - checkSpellingTest:sender;
-
-
- /* Change the background color */
- - backWhite:sender;
- - backBlack:sender;
- - backLgray:sender;
- - backDgray:sender;
-
- /* Change the color of the text */
- - textWhite:sender;
- - textBlack:sender;
- - textLgray:sender;
- - textDgray:sender;
-
- /* Print */
- - PrintScroll:sender;
- - PrintWindow:sender;
-
- - Ruler:sender;
-
- /* Alignment */
- - Left:sender;
- - Right:sender;
- - Center:sender;
-
- /* File I/O */
- - Save:sender;
- - Load:sender;
-
- @end
-