<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>
  // PictureDT.hpp
  //
  // Deryk Robosson
  // March 16, 1996
  //////////////////////////////////////////////////////////////////////////////<P>

  #ifndef __PICTUREDT_HPP__
  #define __PICTUREDT_HPP__<P>

  //////////////////////////////////////////////////////////////////////////////
  // INCLUDES
  #include &quot;aframe:include/aframe.hpp&quot;
  #include &quot;aframe:include/string.hpp&quot;
  #include &quot;aframe:include/datatype.hpp&quot;<P>

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

  typedef struct
  {
      struct BitMapHeader bmhd;   // format and infos
      struct BitMap *bmap;        // bitmap
      ULONG *cregs;               // color table in LoadRGB32() format
      ULONG numcolors;            // number of colors
      ULONG display_ID;           // video mode
      AFString author;            // author info
      AFString copyright;         // copyright info
      AFString annotation;        // other info
      struct FrameInfo    fri;    // Environment info on the object
      struct dtFrameBox   dtf;    // framebox struct
      LPImage             image;  // image struct
  } PICTUREDT;<P>

  //////////////////////////////////////////////////////////////////////////////
  // PictureDT Class<P>

  class AFPictureDT : public AFDataType
  {
  public:<P>

      AFPictureDT();
      ~AFPictureDT();<P>

      virtual char *ObjectType() { return &quot;PictureDT&quot;; };<P>

      BOOL LoadPicture(char *file_name);
      BOOL LoadCMap(struct Screen*);<P>

      PICTUREDT m_dtPicture;
  };<P>

  //////////////////////////////////////////////////////////////////////////////
  #endif // __PICTUREDT_HPP__
<HR>
