~ubuntu-branches/ubuntu/raring/libcaca/raring

« back to all changes in this revision

Viewing changes to test/frames.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2007-10-13 20:10:44 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071013201044-35yldy9w3xe7iy2j
Tags: 0.99.beta12.debian-3
* debian/control:
  + Build-depend on texlive instead of all the other texlive-* packages so
    that we have the proper fonts at build time (Closes: #445797).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
4
4
 *                All Rights Reserved
5
5
 *
6
 
 *  $Id: frames.c 1063 2006-11-13 23:16:35Z sam $
 
6
 *  $Id: frames.c 1110 2007-02-22 15:31:39Z jylam $
7
7
 *
8
 
 *  This program is free software; you can redistribute it and/or
9
 
 *  modify it under the terms of the Do What The Fuck You Want To
10
 
 *  Public License, Version 2, as published by Sam Hocevar. See
 
8
 *  This program is free software. It comes without any warranty, to
 
9
 *  the extent permitted by applicable law. You can redistribute it
 
10
 *  and/or modify it under the terms of the Do What The Fuck You Want
 
11
 *  To Public License, Version 2, as published by Sam Hocevar. See
11
12
 *  http://sam.zoy.org/wtfpl/COPYING for more details.
12
13
 */
13
14
 
32
33
 
33
34
    /* Create a canvas with 200 frames */
34
35
    cv = cucul_create_canvas(0, 0);
 
36
    if(cv == NULL)
 
37
    {
 
38
        printf("Can't create canvas\n");
 
39
        return -1;
 
40
    }
 
41
 
35
42
    for(frame = 1; frame < 200; frame++)
36
43
        cucul_create_frame(cv, frame);
37
44