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]
 ---------------------------------------------------------------------------
 qfillc                                                                QWIKC
 ---------------------------------------------------------------------------
 Function       Fills the screen with a character and an optional attribute
                change in a rows-by-columns block on the current screen and
                centers it between two columns.
 Syntax         void qfillc( unsigned char row, unsigned char coll,
                             unsigned char colr, unsigned char rows,
                             unsigned char cols, int attr,
                             unsigned char ch );
 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 centered between the two columns coll and colr.
                Odd counts are shifted left.  If SAMEATTR is used for attr,
                then the attribute will remain the same on the screen.  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        Center 20 dashes on the screen in rows 1 to 5 with black on
                brown attributes:

                  qfillc( 1, 1, crt_cols, 5, 20, BLACK+BROWN_BG, '-' );


See Also: qfill() qfilleos()

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