File size: 408 Bytes
806d4b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

U0 DrawIt(CTask *,CDC *dc)
{
  I64 i,j;
  U16 *ptr=gr.win_z_buf;
  dc->color=BLACK;
  GrPrint(dc,0,0,"Move the windows around and watch.");
  for (i=0;i<TEXT_ROWS;i++)
    for (j=0;j<TEXT_COLS;j++) {
      dc->color=*ptr++&15;
      GrPlot(dc,j,i+FONT_HEIGHT);
    }
}

U0 ScrollBars()
{
  SettingsPush; //See SettingsPush
  DocClear;
  Fs->draw_it=&DrawIt;
  GetChar(,FALSE);
  SettingsPop;
}

ScrollBars;