"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "caca/frame.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).

frame.c  (libcaca-0.99.beta19):frame.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 a small framework for canvas frame management. * This file contains a small framework for canvas frame management.
skipping to change at line 267 skipping to change at line 267
void _caca_load_frame_info(caca_canvas_t *cv) void _caca_load_frame_info(caca_canvas_t *cv)
{ {
cv->width = cv->frames[cv->frame].width; cv->width = cv->frames[cv->frame].width;
cv->height = cv->frames[cv->frame].height; cv->height = cv->frames[cv->frame].height;
cv->chars = cv->frames[cv->frame].chars; cv->chars = cv->frames[cv->frame].chars;
cv->attrs = cv->frames[cv->frame].attrs; cv->attrs = cv->frames[cv->frame].attrs;
cv->curattr = cv->frames[cv->frame].curattr; cv->curattr = cv->frames[cv->frame].curattr;
} }
/*
* XXX: The following functions are aliases.
*/
int cucul_get_frame_count(cucul_canvas_t const *)
CACA_ALIAS(caca_get_frame_count);
int cucul_set_frame(cucul_canvas_t *, int) CACA_ALIAS(caca_set_frame);
char const *cucul_get_frame_name(cucul_canvas_t const *)
CACA_ALIAS(caca_get_frame_name);
int cucul_set_frame_name(cucul_canvas_t *, char const *)
CACA_ALIAS(caca_set_frame_name);
int cucul_create_frame(cucul_canvas_t *, int) CACA_ALIAS(caca_create_frame);
int cucul_free_frame(cucul_canvas_t *, int) CACA_ALIAS(caca_free_frame);
 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)