Ignore:
Timestamp:
Jul 20, 2009 9:32:37 PM (5 years ago)
Author:
pterjan
Message:
  • Add dirty rectangles when moving cursor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/string.c

    r3556 r3559  
    5454int caca_gotoxy(caca_canvas_t *cv, int x, int y) 
    5555{ 
     56    /* FIXME Not needed if cursor is invisible */ 
     57    caca_add_dirty_rect(cv, cv->frames[cv->frame].x, cv->frames[cv->frame].y, 1, 1); 
     58    caca_add_dirty_rect(cv, x, y, 1, 1); 
     59 
    5660    cv->frames[cv->frame].x = x; 
    5761    cv->frames[cv->frame].y = y; 
Note: See TracChangeset for help on using the changeset viewer.