"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "caca/box.c" between
libcaca-0.99.beta19.tar.gz and libcaca-0.99.beta20.tar.bz2

About: libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals (something like an advanced AAlib library).

box.c  (libcaca-0.99.beta19):box.c  (libcaca-0.99.beta20.tar.bz2)
/* /*
* libcaca Colour ASCII-Art library * libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net> * Copyright © 2002—2018 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved * All Rights Reserved
* *
* This library is free software. It comes without any warranty, to * This library is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it * the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What the Fuck You Want * and/or modify it under the terms of the Do What the Fuck You Want
* to Public License, Version 2, as published by Sam Hocevar. See * to Public License, Version 2, as published by Sam Hocevar. See
* http://www.wtfpl.net/ for more details. * http://www.wtfpl.net/ for more details.
*/ */
/* /*
* This file contains box drawing functions, both filled and outline. * This file contains box drawing functions, both filled and outline.
skipping to change at line 216 skipping to change at line 216
caca_put_char(cv, x2, j, chars[1]); caca_put_char(cv, x2, j, chars[1]);
/* Draw corners */ /* Draw corners */
caca_put_char(cv, x, y, chars[2]); caca_put_char(cv, x, y, chars[2]);
caca_put_char(cv, x, y2, chars[3]); caca_put_char(cv, x, y2, chars[3]);
caca_put_char(cv, x2, y, chars[4]); caca_put_char(cv, x2, y, chars[4]);
caca_put_char(cv, x2, y2, chars[5]); caca_put_char(cv, x2, y2, chars[5]);
return 0; return 0;
} }
/*
* XXX: The following functions are aliases.
*/
int cucul_draw_box(cucul_canvas_t *, int, int, int, int, uint32_t)
CACA_ALIAS(caca_draw_box);
int cucul_draw_thin_box(cucul_canvas_t *, int, int, int, int)
CACA_ALIAS(caca_draw_thin_box);
int cucul_draw_cp437_box(cucul_canvas_t *, int, int, int, int)
CACA_ALIAS(caca_draw_cp437_box);
int cucul_fill_box(cucul_canvas_t *, int, int, int, int, uint32_t)
CACA_ALIAS(caca_fill_box);
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)