/*--------------------------------------------------------------------------
  Project:  Manual 2D Library - m2d
  File:     picture.h

  Copyright (C)2007-2009 Nintendo  All Rights Reserved.

  These coded instructions, statements, and computer programs contain
  proprietary information of Nintendo of America Inc. and/or Nintendo
  Company Ltd., and are protected by Federal copyright law. They may
  not be disclosed to third parties or copied or duplicated in any form,
  in whole or in part, without the prior written consent of Nintendo.

  $Revision: 1.23 $
 *-------------------------------------------------------------------------*/

#ifndef NTMV_M2D_PICTURE_H_
#define NTMV_M2D_PICTURE_H_

#if defined(__CWCC__)
#pragma once
#endif

#include <ntmv/m2d/pane.h>
#include <ntmv/m2d/texMap.h>

namespace ntmv
{
namespace m2d
{

class DrawInfo;
class Page;

class Picture : public Pane
{
    typedef Pane Base;

public:
    NTMV_RNT_RUNTIME_TYPEINFO;

                        Picture(
                            const res::Picture*         pBlock,
                            const ResBlockSet&          resBlockSet);

protected:
    virtual void        DrawSelf(const DrawInfo& drawInfo);

    TexMap              mTexMap;
    u8                  mTextureFlip;

private:
                        // Prohibit calling the copy constructor and assignment operator. This must not be implemented.
                        Picture(const Picture& other);
                        Picture& operator = (const Picture& other);

};

}   // namespace m2d
}   // namespace ntmv

/* NTMV_M2D_PICTURE_H_ */
#endif

