home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997: The Complete Utilities Toolkit / macworld-complete-utilities-1997.iso / Programming / Little Smalltalk v3.1.5 / C Source / Headers / CTextPane.h < prev    next >
Encoding:
Text File  |  1995-06-25  |  1015 b   |  32 lines  |  [TEXT/KAHL]

  1. //=============================================================================
  2. //    Little Smalltalk, version 3
  3. //    Written by Tim Budd, Oregon State University, July 1988
  4. //
  5. //    Symantec Think Class Library interface code ©Julian Barkway, April 1994 
  6. //
  7. //    CTextPane.h
  8. //    -----------
  9. //    This class implements a text-only pane.
  10. //=============================================================================
  11.  
  12. #ifndef _H_CTextPane
  13. #define _H_CTextPane
  14.  
  15. #include "CEditText.h"
  16.  
  17. struct CTextPane : CEditText {
  18.     void    ITextPane         (CView *encl, CBureaucrat *super, 
  19.                             SizingOption hSizing, SizingOption vSizing,
  20.                             short lineLength);
  21.                             
  22.     void    DoClick            (Point hitPt, short modifierKeys, long when);
  23.  
  24.     void    DoCommand        (long aCmd);
  25.  
  26.     void    DoKeyDown        (char theChar, Byte keyCode, EventRecord *macEvent);
  27.     void    DoAutoKey        (char theChar, Byte keyCode, EventRecord *macEvent);
  28.     void    CheckInsertion    (long insertLen, Boolean useSelection);
  29.     void    ReplaceContents    (Handle theText);
  30.     void    DeleteContents    (void);
  31. };
  32. #endif