- Timestamp:
- Jul 27, 2009, 1:25:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/box.c
r3447 r3585 1 1 /* 2 2 * libcaca Colour ASCII-Art library 3 * Copyright (c) 2002-200 6 Sam Hocevar <sam@zoy.org>3 * Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net> 4 4 * All Rights Reserved 5 5 * … … 140 140 if(y2 > ymax) y2 = ymax; 141 141 142 #if 0 143 /* FIXME: this fails with fullwidth character blits. Also, the dirty 144 * rectangle handling may miss fullwidth cells. */ 145 /* Optimise dirty rectangle handling, part 1 */ 146 cv->dirty_disabled++; 147 #endif 148 142 149 for(j = y; j <= y2; j++) 143 150 for(i = x; i <= x2; i++) 144 151 caca_put_char(cv, i, j, ch); 152 153 #if 0 154 /* Optimise dirty rectangle handling, part 2 */ 155 cv->dirty_disabled--; 156 if(!cv->dirty_disabled) 157 caca_add_dirty_rect(cv, x, y, x2 - x + 1, y2 - y + 1); 158 #endif 145 159 146 160 return 0;
Note: See TracChangeset
for help on using the changeset viewer.