SilverScreen Solid Modeler

wchar

wchar

Previous topic Next topic  

wchar

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void wchar ( char ch, int line, int pos, int fg_color, int bg_color )

 

char ch;          // character to display

int  line;        // screen line

int  pos;         // screen column

int  fg_color;    // foreground color

int  bg_color;    // background color

 

 




Synopsis

#include "silver.h"

 

The wchar function displays character ch on the screen at the line and column specified by line and pos , in the foreground and background colors specified by fg_color and bg_color .

 

 

Parameters

ch is a character. line and pos are character coordinates on the screen, with 1 <= line <= schar_height , and 1 <= pos <= schar_width . fg_color and bg_color are color numbers, in the range of [0, max_color - 1].

 

 

Return Value

none.

 

 

See Also

wstring , wcolor