Changed to create Wonx class and manage all resources with Wonx class. (See Wonx.x WonxP.h) When p is pressed to switch display / non-display of the screen, redraw the LCD panel Improvement. Added -Wall to compile option. We have summarized the processing part of the function which is duplicated processing in disp.c. Version 0.1 beta - from wonx-b01.tar.gz
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
#ifndef _WWTextP_h_INCLUDED_
|
|
#define _WWTextP_h_INCLUDED_
|
|
|
|
/*****************************************************************************/
|
|
/* ここから */
|
|
/*****************************************************************************/
|
|
|
|
#include "WWText.h"
|
|
#include "WWCharacter.h"
|
|
|
|
/*****************************************************************************/
|
|
/* クラスの定義 */
|
|
/*****************************************************************************/
|
|
|
|
typedef struct _WWText {
|
|
|
|
/* テキストの描画情報 */
|
|
|
|
WWScreen screen; /* テキストスクリーン */
|
|
int x, y, width, height; /* テキストウインドウの領域 */
|
|
int base; /* 使用するキャラクタのベース */
|
|
|
|
WWPalette palette;
|
|
WWCharacter font[128]; /* フォント */
|
|
|
|
} _WWText;
|
|
|
|
/*****************************************************************************/
|
|
/* ここまで */
|
|
/*****************************************************************************/
|
|
|
|
#endif
|
|
|
|
/*****************************************************************************/
|
|
/* End of File. */
|
|
/*****************************************************************************/
|