<HTML>
<HEAD>
<TITLE>Includes</TITLE></HEAD><BODY><H6><A href=Main.html>Contents page</A></H6><P>
<H6><A href=Main.html>Index</A></H6><P>
<H1>Includes</H1>
<HR>
  //////////////////////////////////////////////////////////////////////////////<PRE>
  // FrameIClass.hpp
  //
  // Deryk B Robosson
  // June 2, 1996
  //////////////////////////////////////////////////////////////////////////////<P>

  #ifndef __FRAMEICLASS_HPP__
  #define __FRAMEICLASS_HPP__<P>

  //////////////////////////////////////////////////////////////////////////////
  // INCLUDES
  #include &quot;aframe:include/aframe.hpp&quot;
  #include &quot;aframe:include/rect.hpp&quot;
  #include &quot;aframe:include/window.hpp&quot;
  #include &lt;intuition/imageclass.h&gt;
  #include &lt;intuition/gadgetclass.h&gt;
  #include &lt;intuition/classes.h&gt;
  #include &lt;intuition/icclass.h&gt;
  #include &lt;clib/intuition_protos.h&gt;<P>

  //////////////////////////////////////////////////////////////////////////////
  // Definitions<P>

  //////////////////////////////////////////////////////////////////////////////
  // FrameIClass Class<P>

  class AFFrameIClass : public AFObject
  {
      public:
          AFFrameIClass();
          ~AFFrameIClass();<P>

          enum recessed { recessedUp, recessedDown };
          enum frametype { defaultFrame, buttonFrame, ridgeFrame, dropboxFrame };<P>

          virtual void DestroyObject();
          virtual char *ObjectType() { return &quot;FrameIClass&quot;; };<P>

          BOOL Create(AFWindow *window, AFRect *rect, int recessed, int frametype);
          void RemoveObject();
          void RefreshImage();<P>

      private:
          AFWindow        *m_pwindow; // where we belong
          AFRect          m_Rect;     // what our size/coords are
          struct Image    *m_Frame;   // Image for the frame
          BOOL            m_Added;    // wheather or not we are attached to above window ;)
  };<P>

  //////////////////////////////////////////////////////////////////////////////
  #endif // __FRAMEICLASS_HPP__
<HR>
