Changeset 4775 for libcaca


Ignore:
Timestamp:
Mar 4, 2011, 6:26:35 PM (8 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added width/height fetch
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaclock.c

    r4773 r4775  
    4040        caca_canvas_t *figcv;
    4141        caca_display_t *dp;
     42        uint32_t w, h;
     43
    4244
    4345        char *font = "/usr/share/figlet/mono12.tlf";
     
    6567                return -1;
    6668        }
     69
     70        w = caca_get_canvas_width (cv);
     71        h = caca_get_canvas_height(cv);
    6772
    6873        for(;;) {
Note: See TracChangeset for help on using the changeset viewer.