Ignore:
Timestamp:
May 21, 2009, 10:55:13 PM (11 years ago)
Author:
Sam Hocevar
Message:

Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.

File:
1 edited

Legend:

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

    r3450 r3494  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2006 Sam Hocevar <sam@zoy.org>
     3 *  Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    55 *
     
    157157    }
    158158
    159     caca_add_dirty_rectangle(cv, xmin, y, xmax, y);
     159    caca_add_dirty_rect(cv, xmin, y, xmax - xmin + 1, 1);
    160160
    161161    return 0;
Note: See TracChangeset for help on using the changeset viewer.