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


Usage

   #include <disp.h>
   void disp_scroll(int lines,unsigned ulrow,unsigned ulcol,
   unsigned lrrow,unsigned lrcol,unsigned attr);

Description

   Scrolls the screen up:

       lines   no. of lines to scroll (lines < 0 scrolls area down)
       ulrow   upper left row of display area
       ulcol   upper left column of display area
       lrrow   lower right row of display area
       lrcol   lower right column of display area
       attr    video attribute to use on uncovered areas.

Example 

   #include <disp.h>

   #include <stdlib.h>

   int main()
   {
       disp_open();
       disp_scroll(disp_numrows,0,0,disp_numrows-1,disp_numcols/2,DISP_NORMAL);
       disp_close();
       return EXIT_SUCCESS;
   }

See Also

   Display package, disp_box, disp_fillbox



See Also: disp_box disp_fillbox

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