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
33 lines
1.4 KiB
C
33 lines
1.4 KiB
C
#ifndef _WonxText_h_INCLUDED_
|
|
#define _WonxText_h_INCLUDED_
|
|
|
|
/*****************************************************************************/
|
|
/* ここから */
|
|
/*****************************************************************************/
|
|
|
|
#include "WWText.h"
|
|
#include "WWScreen.h"
|
|
#include "WWPalette.h"
|
|
|
|
/*****************************************************************************/
|
|
/* クラスの定義 */
|
|
/*****************************************************************************/
|
|
|
|
typedef struct _WonxText * WonxText;
|
|
|
|
WWText WonxText_GetWWText(WonxText wonx_text);
|
|
WWText WonxText_SetWWText(WonxText wonx_text, WWText ww_text);
|
|
WonxText WonxText_Create(WWScreen screen, int x, int y, int width, int height,
|
|
WWPalette palette);
|
|
WonxText WonxText_Destroy(WonxText wonx_text);
|
|
|
|
/*****************************************************************************/
|
|
/* ここまで */
|
|
/*****************************************************************************/
|
|
|
|
#endif
|
|
|
|
/*****************************************************************************/
|
|
/* End of File. */
|
|
/*****************************************************************************/
|