home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-06-25 | 1015 b | 32 lines | [TEXT/KAHL] |
- //=============================================================================
- // Little Smalltalk, version 3
- // Written by Tim Budd, Oregon State University, July 1988
- //
- // Symantec Think Class Library interface code ©Julian Barkway, April 1994
- //
- // CTextPane.h
- // -----------
- // This class implements a text-only pane.
- //=============================================================================
-
- #ifndef _H_CTextPane
- #define _H_CTextPane
-
- #include "CEditText.h"
-
- struct CTextPane : CEditText {
- void ITextPane (CView *encl, CBureaucrat *super,
- SizingOption hSizing, SizingOption vSizing,
- short lineLength);
-
- void DoClick (Point hitPt, short modifierKeys, long when);
-
- void DoCommand (long aCmd);
-
- void DoKeyDown (char theChar, Byte keyCode, EventRecord *macEvent);
- void DoAutoKey (char theChar, Byte keyCode, EventRecord *macEvent);
- void CheckInsertion (long insertLen, Boolean useSelection);
- void ReplaceContents (Handle theText);
- void DeleteContents (void);
- };
- #endif