///////////////////////////////////////////////////////////////////////////// // // GEMformwindow // // A GEMformwindow is a GEMwindow which has a GEMform as its contents. // // This file is Copyright 1992,1993 by Warwick W. Allison. // This file is part of the gem++ library. // You are free to copy and modify these sources, provided you acknowledge // the origin by retaining this notice, and adhere to the conditions // described in the file COPYING.LIB. // ///////////////////////////////////////////////////////////////////////////// #ifndef GEMfw_h #define GEMfw_h #include #include #include #include #include class GEMformwindow : public GEMwindow, public GEMform { public: GEMformwindow(GEMactivity& in, const GEMrsc& in, int RSCindex); GEMformwindow(GEMactivity& in, const GEMrsc& in, int RSCindex, int Parts); GEMformwindow(const GEMformwindow&); virtual void Top(const GEMevent&); virtual GEMfeedback Click(const GEMevent&); virtual void RedrawObject(int RSCindex); virtual void RedrawObject(int RSCindex,int Cx,int Cy,int Cw,int Ch); // Clipped virtual void AlignObject(int RSCindex, int xmult=8, int ymult=1); virtual bool IsOpen() const; protected: virtual void SetWorkRect( const GRect& ); virtual bool HAlignSlider(); virtual bool VAlignSlider(); virtual void Redraw(const GRect&); private: void Edit(int Object, int Char); }; #endif