Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QWIKC20 & Multi-Level Virtual Windows - <b>---------------------------------------------------------------------------</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ---------------------------------------------------------------------------
 qwritec                                                               QWIKC
 ---------------------------------------------------------------------------
 Function       Writes a string to the current screen with an optional
                attribute change and centered between two columns.
 Syntax         void qwritec( unsigned char row, unsigned char coll,
                              unsigned char colr, int attr,
                              char far *astr );
 Remarks        This routine writes the string astr at (row,(coll+colr-
                strlen(astr)+1) >> 1) which centers it between the two
                columns coll and colr and has the attribute attr.  If
                SAMEATTR is used for attr, then the attribute will remain
                the same on the screen.
 Return value   None.
 Screens        All video pages and virtual screens.
 EOS            Updated.
 Restrictions   Stay within the screen limits.
 Example        Write a message centered on the screen in row 15 with black
                on green attributes:

                  qwritec( 15, 1, crt_cols, WHITE+GREENBG, "My message" );

                The message will be written in column 36 on an 80 column
                screen.


See Also: qwrite() qwrite_sub() qwriteeos() qwriteeos_sub()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson