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]
 ---------------------------------------------------------------------------
 qattrc                                                                QWIKC
 ---------------------------------------------------------------------------
 Function       Changes just the attribute in a rows-by-columns block on the
                screen and centers it between two columns.
 Syntax         void qattrc( unsigned char row, unsigned char coll,
                             unsigned char colr, unsigned char rows,
                             unsigned char cols, int attr );
 Remarks        The upper left corner of the block starts at
                (row,(coll+colr-cols+1) >> 1) with a block size of rows by
                cols and centering it between the two columns coll and colr.
                Odd counts are shifted left.  If SAMEATTR is used for attr
                or if rows or cols is zero, then nothing is written.
 Return value   None.
 Screens        All video pages and virtual screens.
 EOS            Updated.
 Restrictions   Stay within the screen limits.
 Example        A 30 character message centered on the screen in row 15,
                needs to be white on green:

                    qattrc( 15, 1, crt_cols, 1, 30, WHITE+GREEN_BG );

                The attribute will start to be changed in column 26 on an 80
                column screen.

See Also: qattr() qattreos()

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