FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
hook_color.c
Go to the documentation of this file.
1
/* color entrypoint, default to console mode */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
int
fb_Color
(
int
fc,
int
bc,
int
flags )
7
{
8
int
cur;
9
10
FB_LOCK
();
11
12
if
(
__fb_ctx
.
hooks
.
colorproc
)
13
cur =
__fb_ctx
.
hooks
.
colorproc
( fc, bc, flags );
14
else
15
cur =
fb_ConsoleColor
( fc, bc, flags );
16
17
FB_UNLOCK
();
18
19
return
cur;
20
}
rtlib
hook_color.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4