Changed method of storing WWLCDPanel data. (I made 1 byte allocated with 1 pixel as 1 byte with 2 pixels) (For speeding up, thought about future color correspondence (241 colors?)) Added WonxDisplay_Sync (). Reduced wasteful drawing in functions of get type. Implement sprite window function. (Not tested) Implement time related functions. (timer.c) Fix sprite priority. (I modified "Priority is given to younger one") Version 0.0.4 alpha - from wonx-a04.tar.gz
34 lines
1.5 KiB
C
34 lines
1.5 KiB
C
#ifndef _WonxDisplay_h_INCLUDED_
|
|
#define _WonxDisplay_h_INCLUDED_
|
|
|
|
/*****************************************************************************/
|
|
/* ここから */
|
|
/*****************************************************************************/
|
|
|
|
#include "XDisplay.h"
|
|
#include "WWDisplay.h"
|
|
|
|
/*****************************************************************************/
|
|
/* クラスの定義 */
|
|
/*****************************************************************************/
|
|
|
|
typedef struct _WonxDisplay * WonxDisplay;
|
|
|
|
XDisplay WonxDisplay_GetXDisplay(WonxDisplay wonx_display);
|
|
WWDisplay WonxDisplay_GetWWDisplay(WonxDisplay wonx_display);
|
|
WonxDisplay WonxDisplay_Create(int x_width, int x_height,
|
|
int ww_lcd_panel_width, int ww_lcd_panel_height,
|
|
int ww_screen_width, int ww_screen_height);
|
|
int WonxDisplay_Sync(WonxDisplay wonx_display);
|
|
int WonxDisplay_Flush(WonxDisplay wonx_display);
|
|
|
|
/*****************************************************************************/
|
|
/* ここまで */
|
|
/*****************************************************************************/
|
|
|
|
#endif
|
|
|
|
/*****************************************************************************/
|
|
/* End of File. */
|
|
/*****************************************************************************/
|