FreeBASIC  0.91.0
io_color.c File Reference
#include "../fb.h"
#include "fb_private_console.h"
Include dependency graph for io_color.c:

Go to the source code of this file.

Functions

void fb_ConsoleColorEx (HANDLE hConsole, int fc, int bc)
 
int fb_ConsoleColor (int fc, int bc, int flags)
 
int fb_ConsoleGetColorAttEx (HANDLE hConsole)
 
int fb_ConsoleGetColorAtt (void)
 

Variables

static int colorlut [16]
 
static int last_bc = FB_COLOR_BLACK
 
static int last_fc = FB_COLOR_WHITE
 

Function Documentation

int fb_ConsoleColor ( int  fc,
int  bc,
int  flags 
)

Definition at line 37 of file io_color.c.

void fb_ConsoleColorEx ( HANDLE  hConsole,
int  fc,
int  bc 
)

Definition at line 17 of file io_color.c.

Here is the call graph for this function:

int fb_ConsoleGetColorAtt ( void  )

Definition at line 69 of file io_color.c.

Here is the call graph for this function:

int fb_ConsoleGetColorAttEx ( HANDLE  hConsole)

Definition at line 60 of file io_color.c.

Here is the caller graph for this function:

Variable Documentation

int last_bc = FB_COLOR_BLACK
static

Definition at line 15 of file io_color.c.

int last_fc = FB_COLOR_WHITE
static

Definition at line 15 of file io_color.c.