Corresponding to colorization, transparent (transparent color) judgment processing from the WWPalette class
I moved to the WWDisplay class.
Changed the pixel of WWLCDPanel to unsigned short int *. (Color correspondence)
Change the storage format of text fonts. (WWTextFonts.c)
In text display, when displaying WWDisplay_GetForegroundColor (),
Fix to copy by looking at WWDisplay_GetBackgroundColor (). (WWText.c)
(It is no longer necessary to reserve an array of WWCharacter in the WWText class,
Which to delete)
Added palette of border color to WWDisplay class.
We made correspondence to colorization, and added other various corrections.
(Character data storage method, text display, border color processing etc)
With display_control (), display_status (), the bit shift of the border color
Fixed a bug that was 7. (Fixed to 8)
Key input such as F1 is also accepted during loop waiting for interrupt in while (1) {/ * none * /}
Fixed as. (WonXSystem.c's timer interrupt callback function
Add WonXDisplay_PrintData () to WonXTimer_Callback ())
Added fcntl_attention.h, filesys.h, indirect.h, oswork.h, process.h.
(Just include the contents or include appropriate files)
In wonx_configure.h,
Fixed a bug that was supposed to be.
Version 2.0 - from wonx-2.0.tar.gz
52 lines
2.2 KiB
C
52 lines
2.2 KiB
C
#ifndef _WWCharacter_h_INCLUDED_
|
|
#define _WWCharacter_h_INCLUDED_
|
|
|
|
/*****************************************************************************/
|
|
/* ここから */
|
|
/*****************************************************************************/
|
|
|
|
/*****************************************************************************/
|
|
/* クラスの定義 */
|
|
/*****************************************************************************/
|
|
|
|
typedef struct _WWCharacter * WWCharacter;
|
|
|
|
/*****************************************************************************/
|
|
/* ヘッダファイルのインクルード */
|
|
/*****************************************************************************/
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "WWDisplay.h"
|
|
#include "wonx_include/libwwc.h"
|
|
|
|
/*****************************************************************************/
|
|
/* メンバ関数の宣言 */
|
|
/*****************************************************************************/
|
|
|
|
int WWCharacter_GetNumber(WWCharacter c);
|
|
int WWCharacter_SetNumber(WWCharacter c, int n);
|
|
unsigned char WWCharacter_GetBitmap(WWCharacter c, int n);
|
|
unsigned char WWCharacter_SetBitmap(WWCharacter c, int n, unsigned char bitmap);
|
|
|
|
WWCharacter WWCharacter_Create(int number);
|
|
WWCharacter WWCharacter_Destroy(WWCharacter character);
|
|
|
|
int WWCharacter_GetPixel(WWCharacter character, int x, int y,
|
|
WWDisplay display);
|
|
|
|
int WWCharacter_ClearAllPixels(WWCharacter character);
|
|
int WWCharacter_CopyAllPixels(WWCharacter dst, WWCharacter src);
|
|
int WWCharacter_PrintData(WWCharacter character, WWDisplay display, FILE * f);
|
|
|
|
/*****************************************************************************/
|
|
/* ここまで */
|
|
/*****************************************************************************/
|
|
|
|
#endif
|
|
|
|
/*****************************************************************************/
|
|
/* End of File. */
|
|
/*****************************************************************************/
|