Subversion Repositories HelenOS-historic

Rev

Rev 1509 | Rev 1515 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1509 Rev 1513
Line 390... Line 390...
390
    screen.yres = yres;
390
    screen.yres = yres;
391
    screen.scanline = scan;
391
    screen.scanline = scan;
392
   
392
   
393
    /* Create first viewport */
393
    /* Create first viewport */
394
    viewport_create(0,0,xres,yres);
394
    viewport_create(0,0,xres,yres);
395
 
-
 
396
    clear_port(0);
-
 
397
}
395
}
398
 
396
 
399
static void cursor_hide(int vp)
397
static void cursor_hide(int vp)
400
{
398
{
401
    viewport_t *vport = &viewports[vp];
399
    viewport_t *vport = &viewports[vp];
Line 466... Line 464...
466
 
464
 
467
    clear_port(vp);
465
    clear_port(vp);
468
    for (i=0; i < vport->cols * vport->rows; i++) {
466
    for (i=0; i < vport->cols * vport->rows; i++) {
469
        if (data[i].character == ' ' && style_same(data[i].style,vport->style))
467
        if (data[i].character == ' ' && style_same(data[i].style,vport->style))
470
            continue;
468
            continue;
471
        draw_char(vp, data[i].character, i/vport->rows, i % vport->cols,
469
        draw_char(vp, data[i].character, i/vport->cols, i % vport->cols,
472
              data[i].style);
470
              data[i].style);
473
    }
471
    }
474
    cursor_print(vp);
472
    cursor_print(vp);
475
}
473
}
476
 
474