home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / EditCellDemo 1.0 / EditCellDemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-22  |  715 b   |  39 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3.  
  4. #include "CSApplication.h"
  5.  
  6.  
  7. struct CEditCell : CEditText
  8. {
  9.     void IEditCell( CView *anEnclosure, CBureaucrat *aSupervisor );        
  10.     virtual void PlaceCell( LongRect *aPlace );
  11.     virtual Boolean BecomeGopher( Boolean isBecoming );
  12. };
  13.  
  14.  
  15. struct CEditTable : CTable
  16. {
  17.     CEditCell* itsEditor;
  18.     
  19.     void IEditTable
  20.         ( CView *anEnclosure
  21.         , CBureaucrat *aSupervisor
  22.         , short aWidth
  23.         , short aHeight
  24.         , short aHEncl
  25.         , short aVEncl
  26.         , SizingOption aHSizing
  27.         , SizingOption aVSizing );
  28.     
  29.     virtual void DoClick( Point hitPt, short modifierKeys, long when );
  30.         
  31.     virtual void EditCell( Cell editCell );
  32. };
  33.  
  34.  
  35. struct CEditTableDemoDir : CShowcaseDemoDir
  36. {
  37.     virtual void INewDemo( CDirectorOwner *aSupervisor);
  38. };
  39.