Added dump of RGB value when dumping palette data.

Fixed a part of the data dump part.

Changed the line of perl script from / usr / bin / perl to / usr / local / bin / perl.
(On FreeBSD, Japanese perl is in / usr / local / bin)

For disp.c, libwwc.c, a function for reading and acquiring bitmap data of characters,
The type of bitmap data is not unsigned char *, but instead of short int *, long int *
It was modified to an appropriate type.
Let the bitmap of the WWCharacter class be union of uchar, ushort, ulong,
By accessing with an appropriate type in WWCharacter_GetPixel ()
The endian dependence of bitmap data is eliminated.  (i386, confirmed by SPARC)

Fixed how to get the value of WWCharacter_GetPixel () in 16 PACKED color mode.
(The bug that the character was displayed inverted horizontally was resolved)

Stop for 10 seconds at F11, forcibly end with Ctrl-c or F12,
Added iconization with Ctrl-i.  (It was a function that was originally, but I forgot that,
We modified it somewhat to make it formal support)

Move display / non-display change key from p to F10.  Manual correction.

XDisplay.c: generated with XColorGC_CreateFromRGB () with XDisplay_DrawLCDWindow ()
Since we did not Destroy () the XColorGC object, we made a bug that caused memory flow
Fix.  (XColorGC_Destroy (x_color_gc) addition)

Add wonx_include / fcntl.h.  The contents are / usr / include / fcntl.h,
Just include /usr/include/sys/fcntl.h.

Format change of serial output message (output to serial port:).
(I tried to enclose it with "".)
etc.c: wonx_print_character () Fixed.  (Add \ ", \ \ and others)
Fix sout2str.pl.  (Add \ ", \ \ etc .... The above message for serial output
It was modified according to format change)

Added int2sint.pl, filters.pl, challsrc.sh.
Change sys2wonx.pl.

in wonx_include / types.h
typedef unsigned short WORD;
typedef unsigned long DWORD;
To
typedef unsigned short int WORD;
typedef unsigned long int DWORD;
change to.

Fixed README.

Version 2.1 - from wonx-2.1.tar.gz
This commit is contained in:
Hiroaki Sakai
2001-01-13 12:00:00 +09:00
committed by Godzil
parent d3f3c6903d
commit d1cde9116a
28 changed files with 698 additions and 276 deletions

View File

@@ -2,8 +2,8 @@ XINCLUDEDIR = /usr/X11R6/include
INCLUDEDIR = .
XLIBDIR = /usr/X11R6/lib
VERSION = WonX-2.0
PKGNAME = wonx-2.0
VERSION = WonX-2.1
PKGNAME = wonx-2.1
SMAC = smac-b02
WWTERM = wwterm-b05
@@ -41,9 +41,10 @@ smac : libwonx.a
cp libwonx.a $(SMAC)
mv $(SMAC)/makefile $(SMAC)/makefile.orig
cp makefile_for_smac $(SMAC)/makefile
cp sys2wonx.pl $(SMAC)
echo "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻߤޤä<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ϡ<EFBFBD>sys2wonx.pl <20>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD>ܤ<EFBFBD>Ŭ<EFBFBD>ڤ<EFBFBD>perl<72><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
cd $(SMAC) ; ./sys2wonx.pl *.[ch]
cp challsrc.sh filters.pl sys2wonx.pl int2sint.pl $(SMAC)
# <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻߤޤä<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ϡ<EFBFBD>filters.pl, sys2wonx.pl, int2sint.pl <20><>
# <20><><EFBFBD><EFBFBD><EFBFBD>ܤ<EFBFBD>Ŭ<EFBFBD>ڤ<EFBFBD>perl<72><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
cd $(SMAC) ; ./challsrc.sh *.[ch] makefile
cd $(SMAC) ; $(MAKE)
wwterm : libwonx.a
@@ -52,9 +53,10 @@ wwterm : libwonx.a
cp libwonx.a $(WWTERM)
mv $(WWTERM)/makefile $(WWTERM)/makefile.orig
cp makefile_for_wwterm $(WWTERM)/makefile
cp sys2wonx.pl $(WWTERM)
echo "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻߤޤä<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ϡ<EFBFBD>sys2wonx.pl <20>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD>ܤ<EFBFBD>Ŭ<EFBFBD>ڤ<EFBFBD>perl<72><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
cd $(WWTERM) ; ./sys2wonx.pl *.[ch]
cp challsrc.sh filters.pl sys2wonx.pl int2sint.pl $(WWTERM)
# <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻߤޤä<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ϡ<EFBFBD>filters.pl, sys2wonx.pl, int2sint.pl <20><>
# <20><><EFBFBD><EFBFBD><EFBFBD>ܤ<EFBFBD>Ŭ<EFBFBD>ڤ<EFBFBD>perl<72><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
cd $(WWTERM) ; ./challsrc.sh *.[ch] makefile
cd $(WWTERM) ; $(MAKE)
package :
@@ -62,7 +64,7 @@ package :
rm -fR $(PKGNAME)/*
mkdir -p $(PKGNAME)/wonx_include
cp COPYING COPYRIGHT HISTORY README MANUAL OMAKE.jpn Makefile \
makefile_for_smac makefile_for_wwterm *.pl \
makefile_for_smac makefile_for_wwterm *.sh *.pl \
*.h *.c $(SMAC).zip $(WWTERM).zip $(PKGNAME)
cp wonx_include/*.h $(PKGNAME)/wonx_include
tar cvzf $(PKGNAME).tar.gz $(PKGNAME)