gstream-cd_console (3) - Linux Manuals




#include <gstream.h>

void cd_console(BITMAP *bmp, int x, int y, int w, int h, int clr, bool ins);


Draws a normal console cursor: the insert cursor is like an _, and the overwrite cursor covers the letter.

The preferred dimensions (you have to set them manually) are: (gbuf::DYNAMIC_CURSOR_SIZE, gbuf::DYNAMIC_CURSOR_SIZE, gbuf::DYNAMIC_CURSOR_SIZE, gbuf::DYNAMIC_CURSOR_SIZE) but the second argument can be set manually to control where the _ will be placed - low values and the cursor will fly above the letters, high values and the cursor will float at the bottom.