home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / program / gempp15b.zoo / include / gemhf.h < prev    next >
C/C++ Source or Header  |  1993-04-25  |  1KB  |  45 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  GEMhotform
  4. //
  5. //  A GEMhotform is a GEMform that behaves more like a menu, in that
  6. //  selectable items are selected under the mouse cursor as it moves.
  7. //
  8. //  This is useful for many form applications, such as pop-up menus.
  9. //
  10. //  This file is Copyright 1992,1993 by Warwick W. Allison.
  11. //  This file is part of the gem++ library.
  12. //  You are free to copy and modify these sources, provided you acknowledge
  13. //  the origin by retaining this notice, and adhere to the conditions
  14. //  described in the file COPYING.LIB.
  15. //
  16. /////////////////////////////////////////////////////////////////////////////
  17.  
  18. #ifndef GEMmf_h
  19. #define GEMmf_h
  20.  
  21. #include <gemf.h>
  22.  
  23.  
  24. class GEMhotform : public GEMform
  25. {
  26. public:
  27.     GEMhotform(const GEMrsc& in, int RSCindex);
  28.  
  29.     const int NoObject=-1;
  30.  
  31.     virtual int DoKey(int meta, int key);
  32.     virtual int DoOff();
  33.     virtual int DoHot(int ob, bool inside);
  34.  
  35. protected:
  36.     const int Ignore=-2;
  37.     virtual int FormDo();
  38.  
  39. private:
  40.     int curedit;
  41. };
  42.  
  43.  
  44. #endif
  45.