Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>disp_fillbox</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disp_fillbox

Usage

   #include <disp.h>
   void disp_fillbox(unsigned attrchar, unsigned trow, unsigned
   lcol, unsigned brow, unsigned rcol);

Description

   Fills the box which starts at top left trow,lcol and ends at bottom right
   brow,rcol with the specified character and attribute attrchar. The
   attribute should be in the high byte of the unsigned attrchar, and the
   character in the low byte. Use:

       attrchar = attribute*256 + character.


Example 

   #include <disp.h>
   #include <stdlib.h>

   int main()
   {
       unsigned chatt;

       chatt = DISP_NORMAL*256+171;
       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_fillbox(chatt,5,20,10,60);
       disp_close();
       return EXIT_SUCCESS;
   }

See Also


   Display package, disp_box



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