<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>
  // ImageButton.hpp
  //
  // Jeffry A Worth
  // Deryk B Robosson
  // December 4, 1995
  //////////////////////////////////////////////////////////////////////////////<P>

  #ifndef __AFIMAGEBUTTON_HPP__
  #define __AFIMAGEBUTTON_HPP__<P>

  //////////////////////////////////////////////////////////////////////////////
  // INCLUDES
  #include &quot;aframe:include/gadget.hpp&quot;
  #include &quot;aframe:include/rastport.hpp&quot;<P>

  //////////////////////////////////////////////////////////////////////////////
  // IButton Class<P>

  class AFImageButton : public AFGadget
  {
  public:
    AFImageButton();
    ~AFImageButton();<P>

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

    virtual void Create(AFWindow* pwindow, AFRect* rect, ULONG id, LPImage image, LPImage select);
    virtual void Create(AFWindow* pwindow, AFRect* rect, ULONG id, LPImage image, LPImage select, LPImage</PRE>
disabled);<PRE>
    virtual void SizeToFit();<P>

    // December 19,1995 Jeffry A Worth
  private:
    LPImage m_pRender;
    LPImage m_pSelect;
    LPImage m_pDisabled;
    // End Additions
  };<P>

  //////////////////////////////////////////////////////////////////////////////
  #endif // __AFIMAGEBUTTON_HPP__
<HR>
