Ignore:
Timestamp:
Oct 26, 2006, 3:14:37 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Factor code from renderers to main render.c functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/render.c

    r1241 r1242  
    3232int render_init(context_t *cx)
    3333{
     34    cx->x = cx->y = 0;
     35    cx->w = cx->h = 0;
     36    cx->lines = 0;
     37    cx->cv = cucul_create_canvas(0, 0);
     38
    3439    if(!strcasecmp(cx->font, "mono9"))
    3540        return init_big(cx);
     
    115120{
    116121    cx->end(cx);
     122    cucul_free_canvas(cx->cv);
    117123
    118124    return 0;
Note: See TracChangeset for help on using the changeset viewer.