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_box</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disp_box

Usage

   #include <disp.h>
   void disp_box(int type, int attr, unsigned trow, unsigned lcol,

   unsigned brow, unsigned rcol)

Description

   Draws a box of border type with attribute attr starting at top left trow,
   lcol and finishing at bottom right brow, rcol.

   Values for type are:

           0   Double Line Border
           1   Single Line Border
           2   Solid Border
           3   Double Horizontal/Single Vertical Line Border
           4   Single Horizontal/Double Vertical Line Border

Example

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


   int main()
   {
       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_box(1,DISP_NORMAL,5,10,15,60);
       disp_close();
       return EXIT_SUCCESS;
   }

See Also

   Display package, disp_fillbox, disp_peekbox, disp_pokebox



See Also: disp_fillbox disp_peekbox disp_pokebox

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