home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / ftes46b5.zip / ftes46b5 / src / i_key.h < prev    next >
C/C++ Source or Header  |  1997-05-30  |  709b  |  33 lines

  1. /*    i_key.h
  2.  *
  3.  *    Copyright (c) 1994-1996, Marko Macek
  4.  *
  5.  *    You may distribute under the terms of either the GNU General Public
  6.  *    License or the Artistic License, as specified in the README file.
  7.  *
  8.  */
  9.  
  10. #ifndef __EXKEY_H
  11. #define __EXKEY_H
  12.  
  13. class ExKey: public ExView {
  14. public:
  15.     char *Prompt;
  16.     TKeyCode Key;
  17.     char ch;
  18.     
  19.     ExKey(char *APrompt);
  20.     virtual ~ExKey();
  21.     virtual void Activate(int gotfocus);
  22.     
  23.     virtual ExView* GetViewContext() { return Next; }
  24.     virtual int BeginMacro();
  25.     virtual void HandleEvent(TEvent &Event);
  26.     virtual void UpdateView();
  27.     virtual void RepaintView();
  28.     virtual void UpdateStatus();
  29.     virtual void RepaintStatus();
  30. };
  31.  
  32. #endif
  33.