Corresponding to colorization. Added XColorGC class for GC management. (It diverted from XFireworks)

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
This commit is contained in:
Hiroaki Sakai
2001-01-03 12:00:00 +09:00
committed by Godzil
parent c0b964b4f4
commit d3f3c6903d
47 changed files with 2882 additions and 416 deletions

View File

@@ -0,0 +1,16 @@
#ifndef _WONX_SYS_FCNTL_H_
#define _WONX_SYS_FCNTL_H_
/*
* fcntl.h <20><> /usr/include/fcntl.h <20><><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD><EFBFBD>Ф褤<D0A4>Τǡ<CEA4>
* wonx_include/fcntl.h <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4>ۤ<EFBFBD><DBA4><EFBFBD><EFBFBD><EFBFBD><E8A4A4>(wonx_include/fcntl.h <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><CBA4>äƤϤ<C6A4><CFA4>ä<EFBFBD><C3A4><EFBFBD><EFBFBD>ɤ߹<C9A4><DFB9>ޤ<EFBFBD><DEA4>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD><E2A4B7><EFBFBD>ʤ<EFBFBD><CAA4>Τ<EFBFBD>)
* <20><EFBFBD><E2A4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ<CEA4>ʤΤ<CAA4><CEA4><EFBFBD><EFBFBD><EFBFBD><EBA4AB>
*/
#include "filesys.h"
/* <20><>ʬ<EFBFBD><CAAC><EFBFBD>Ȥ<EFBFBD><C8A4>ɤ߹<C9A4><DFB9>ޤʤ<DEA4><CAA4><EFBFBD>ˡ<EFBFBD>/usr/include <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
#include </usr/include/fcntl.h>
#endif

8
wonx_include/filesys.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef _WONX_SYS_FILESYS_H_
#define _WONX_SYS_FILESYS_H_
#include "types.h"
#include <stdio.h>
#endif

9
wonx_include/indirect.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _WONX_SYS_INDIRECT_H_
#define _WONX_SYS_INDIRECT_H_
#include "service.h"
#include "filesys.h"
#warning indirect function is not supported.
#endif

31
wonx_include/libwwc.h Normal file
View File

@@ -0,0 +1,31 @@
#ifndef _WONX_SYS_LIBWWC_H_
#define _WONX_SYS_LIBWWC_H_
#include "service.h"
/*****************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
/*****************************************************************************/
#define COLOR_MODE_GRAYSCALE 0x00
#define COLOR_MODE_4COLOR 0x80
#define COLOR_MODE_16COLOR 0xC0
#define COLOR_MODE_16PACKED 0xE0
#define HARDARCH_WS 0
#define HARDARCH_WSC 1
/*****************************************************************************/
/* <20>ߴ<EFBFBD><DFB4>ؿ<EFBFBD><D8BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
/*****************************************************************************/
unsigned int wwc_set_color_mode(unsigned int mode);
unsigned int wwc_get_color_mode(void);
void wwc_palette_set_color(unsigned int palette_num, unsigned int color_num, unsigned int rgb);
unsigned int wwc_palette_get_color(unsigned int palette_num, unsigned int color_num);
void wwc_font_set_colordata(unsigned int number, unsigned int count, unsigned char * data);
void wwc_font_get_colordata(unsigned int number, unsigned int count, unsigned char * data);
unsigned int wwc_get_hardarch(void);
void wwc_clear_font(void);
#endif

9
wonx_include/oswork.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _WONX_SYS_OSWORK_H_
#define _WONX_SYS_OSWORK_H_
#include "process.h"
#include "fcntl.h"
#warning oswork function is not supported.
#endif

10
wonx_include/process.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef _WONX_SYS_PROCESS_H_
#define _WONX_SYS_PROCESS_H_
#include "bank.h"
#include "filesys.h"
#include "indirect.h"
#warning process function is not supported.
#endif