Browse CVS Repository
Contents of /mame32jp/mame32jp/src/ui_font.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.5 -
( show annotations)
( download)
( as text)
Wed Apr 24 03:53:21 2002 UTC
(21 years, 11 months ago)
by zero
Branch: MAIN
CVS Tags: ver_0_60_1, ver0_59_13, ver0_59_14, ver0_60_2, ver0_60_3, ver0_60_4, ver0_60_5, HEAD
Changes since 1.4: +0 -0 lines
File MIME type: text/x-chdr
*** empty log message ***
| 1 |
/********************************************************************* |
| 2 |
|
| 3 |
ui_font.h |
| 4 |
|
| 5 |
日本語文字列を処理する補助マクロ及び関数を提供します。 |
| 6 |
|
| 7 |
*********************************************************************/ |
| 8 |
|
| 9 |
#ifndef UI_FONT_H |
| 10 |
#define UI_FONT_H |
| 11 |
|
| 12 |
#ifdef MAME32JP |
| 13 |
#define iszen1(c) (((c) >= 0x81 && (c) <= 0x9f) | ((c) >= 0xe0 && (c) <= 0xfc)) |
| 14 |
#define iszen2(c) ((c) >= 0x40 && (c) <= 0xfc && (c) != 0x7f) |
| 15 |
#endif |
| 16 |
|
| 17 |
int uifont_buildfont(void); |
| 18 |
void uifont_freefont(void); |
| 19 |
int uifont_decodechar(unsigned char *s, unsigned short *code); |
| 20 |
int uifont_drawfont(struct mame_bitmap *bitmap, const char *s, |
| 21 |
int sx, int sy, int color); |
| 22 |
|
| 23 |
#endif |
|