FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
gfx_print_wstr.c
Go to the documentation of this file.
1
/* graphical mode wstring text output */
2
3
#include "
fb_gfx.h
"
4
5
void
fb_GfxPrintBufferWstrEx
(
const
FB_WCHAR
*
buffer
,
size_t
len,
int
mask)
6
{
7
/* Unicode gfx font support is out of the scope of gfxlib, convert to ascii */
8
9
char
temp[len + 1];
10
11
if
( len > 0 )
12
fb_wstr_ConvToA
( temp, buffer, len );
13
else
14
*temp =
'\0'
;
15
16
fb_GfxPrintBufferEx
( temp, len, mask );
17
}
18
19
void
fb_GfxPrintBufferWstr
(
const
FB_WCHAR
*
buffer
,
int
mask)
20
{
21
fb_GfxPrintBufferWstrEx
( buffer,
fb_wstr_Len
(buffer), mask);
22
}
gfxlib2
gfx_print_wstr.c
Generated on Thu Jan 23 2014 19:40:06 for FreeBASIC by
1.8.4