home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / Muddweller 1.2 / source code / Main / LogView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-11  |  1.5 KB  |  50 lines  |  [TEXT/MPS ]

  1. /* LogView - Implementation of TLogView                                       */
  2.  
  3. #ifndef __LOGVIEW__
  4. #define __LOGVIEW__
  5.  
  6.         // • MacApp
  7. #ifndef __UMacApp__
  8. #include "UMacApp.h"
  9. #endif
  10.  
  11.         // • Implementation use
  12. #ifndef __BIGTEXT__
  13. #include "BigText.h"
  14. #endif
  15.  
  16.  
  17. class TLogView: public TView {
  18. public:
  19.     TBigText *fBT;
  20.     TScrollBar *fScrollBar;
  21.     
  22.     virtual pascal void Activate (Boolean entering);
  23.     virtual pascal long AddText (unsigned char *textBuf, long count);
  24.     virtual pascal void ClikLoop (Point pt);
  25.     virtual pascal void DoCopy (void);
  26.     virtual pascal TCommand *DoKeyCommand (short ch, short aKeyCode,
  27.         EventInfo *info);
  28.     virtual pascal TCommand *DoMenuCommand (CmdNumber aCmdNumber);
  29.     virtual pascal struct TCommand *DoMouseCommand (Point *theMouse,
  30.         EventInfo *info, Point *hysteresis);
  31.     virtual pascal Boolean DoSetCursor (Point localPoint, RgnHandle cursorRgn);
  32.     virtual pascal void DoSetupMenus (void);
  33.     virtual pascal void Draw (Rect *area);
  34.     virtual pascal void Free (void);
  35.     virtual pascal void InstallSelection (Boolean wasActive, Boolean beActive);
  36.     virtual pascal void IRes (TDocument *itsDocument, TView *itsSuperView,
  37.         Ptr *itsParams);
  38.     virtual pascal void Open (void);
  39.     virtual pascal void Resize (VCoordinate width, VCoordinate height,
  40.         Boolean invalidate);
  41.     virtual pascal void SetBaseStyle (TextStyle *theStyle, Boolean redraw);
  42.     virtual pascal void SetMaxSize (long logSize);
  43.     virtual pascal void SynchScrollBar (Boolean redraw);
  44. };
  45.  
  46.  
  47. void InitLogView (void);
  48.  
  49. #endif
  50.