/*****************************************************************************/
/* Picture class for WonderWitch                                             */
/* キャラクターなどの画像を扱うクラス                                        */
/*****************************************************************************/

#ifndef _Picture_h_INCLUDED_
#define _Picture_h_INCLUDED_

typedef struct _Picture * Picture;

#include <sys/disp.h>

#include "dsp.h"

int Picture_GetWidth( Picture picture);
int Picture_GetHeight(Picture picture);

/*---------------------------------------------------------------------------*/
/* キャラクタ番号の取得                                                      */
/*---------------------------------------------------------------------------*/

int Picture_GetNumber(Picture picture);

/*---------------------------------------------------------------------------*/
/* オブジェクトの生成                                                        */
/*---------------------------------------------------------------------------*/

Picture Picture_Create(Picture picture, Disp disp, int width, int height,
		       unsigned char bitmap[]);

/*---------------------------------------------------------------------------*/
/* オブジェクトの削除                                                        */
/*---------------------------------------------------------------------------*/

Picture Picture_Destroy(Picture picture);

/*---------------------------------------------------------------------------*/
/* 配置                                                                      */
/*---------------------------------------------------------------------------*/

int Picture_Put(Picture picture, int x, int y);

#endif /* _Picture_h_INCLUDED_ */

/*****************************************************************************/
/* End of File.                                                              */
/*****************************************************************************/
