#define BTC_OFF	0
#define BTC_ON	2

void	BT_init( char *w );
int		BT_create( int type, int bx, int by, int dx, int dy, char *mes );
int		BT_getStatus( int num, int *state );
int 	BT_reverse( int num, int in );
int		BT_disappear( int num );
int		BT_check( int num, int cx, int cy );

/*
  BT_create( int type, int bx, int by, int dx, int dy, char *mes );
  引き数  type    ボタンのタイプ(0:表示しない 1:表示する)
          (bx,by) ボタンの左上の座標
          dx      x方向のドット数
          dy      y方向のドット数
          mes     ボタンに書く文字(NULLは無地のボタン)
  返り値  0-15    ボタン番号
          -1      ボタンが既に16個作られている
*/
