/**************************************** * Super Soft Library Version 1.0 * * Written by, Robert L. Shady * * Copyright (C)1986 Super Soft. * ****************************************/ /************************************* * Move to cursor position specified * *************************************/ moveto(row,col) int row, col; { row = row + 32; col = col + 32; printf("%cY%c%c",27,row,col); } /************************* * Turn on inverse vidio * *************************/ inverse() { printf("%cp", 27); } /************************** * Turn off inverse video * **************************/ normal() { printf("%cq",27); } /****************************** * clear screen & home cursor * ******************************/ clearscreen() { printf("%cE",27); } /******************* * Home the cursor * *******************/ homecursor() { printf("%cH",27); } /******************************* * Delete current line of text * *******************************/ deleteline() { printf("%cM",27); } /************************************* * Insert a line before current line * *************************************/ insertline() { printf("%cL",27); } /*********************** * Delete rest of line * ***********************/ deleterol() { printf("%cK",27); } /************************** * Clear the current line * **************************/ clearline() { printf("%cl",27); } /********************* * Enable the cursor * *********************/ enablecursor() { printf("%ce",27); } /********************** * Disable the cursor * **********************/ disablecursor() { printf("%cf",27); } /************************** * Change charactor color * **************************/ charcolor(color) int color; { printf("%cc%d",27,color); } /*************************** * Change background color * ***************************/ backcolor(color) int color; { printf("%cb%d",27,color); }