home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / program / gempp15b / gemfw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-23  |  1.4 KB  |  52 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  GEMformwindow
  4. //
  5. //  A GEMformwindow is a GEMwindow which has a GEMform as its contents.
  6. //
  7. //  This file is Copyright 1992,1993 by Warwick W. Allison.
  8. //  This file is part of the gem++ library.
  9. //  You are free to copy and modify these sources, provided you acknowledge
  10. //  the origin by retaining this notice, and adhere to the conditions
  11. //  described in the file COPYING.LIB.
  12. //
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. #ifndef GEMfw_h
  16. #define GEMfw_h
  17.  
  18. #include <gemfb.h>
  19. #include <gemf.h>
  20. #include <gemw.h>
  21. #include <bool.h>
  22. #include <gemfast.h>
  23.  
  24.  
  25. class GEMformwindow : public GEMwindow, public GEMform
  26. {
  27. public:
  28.     GEMformwindow(GEMactivity& in, const GEMrsc& in, int RSCindex);
  29.     GEMformwindow(GEMactivity& in, const GEMrsc& in, int RSCindex, int Parts);
  30.     GEMformwindow(const GEMformwindow&);
  31.  
  32.     virtual void Top(const GEMevent&);
  33.     virtual GEMfeedback Click(const GEMevent&);
  34.     virtual void RedrawObject(int RSCindex);
  35.     virtual void RedrawObject(int RSCindex,int Cx,int Cy,int Cw,int Ch); // Clipped
  36.  
  37.     virtual void AlignObject(int RSCindex, int xmult=8, int ymult=1);
  38.  
  39.     virtual bool IsOpen() const;
  40.  
  41. protected:
  42.     virtual void SetWorkRect( const GRect& );
  43.     virtual bool HAlignSlider();
  44.     virtual bool VAlignSlider();
  45.     virtual void Redraw(const GRect&);
  46.  
  47. private:
  48.     void Edit(int Object, int Char);
  49. };
  50.  
  51. #endif
  52.