Changeset 2988 for toilet/trunk/src/term.c
- Timestamp:
- 10/18/08 23:36:17 (5 years ago)
- File:
-
- 1 edited
-
toilet/trunk/src/term.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
toilet/trunk/src/term.c
r1461 r2988 23 23 #endif 24 24 #include <stdlib.h> 25 #include <c ucul.h>25 #include <caca.h> 26 26 27 27 #include "toilet.h" … … 81 81 } 82 82 83 c ucul_set_attr(cx->cv, attr);84 c ucul_set_canvas_size(cx->cv, cx->ew, cx->eh);83 caca_set_attr(cx->cv, attr); 84 caca_set_canvas_size(cx->cv, cx->ew, cx->eh); 85 85 86 c ucul_put_char(cx->cv, cx->x, cx->y, ch);86 caca_put_char(cx->cv, cx->x, cx->y, ch); 87 87 cx->x++; 88 88 … … 93 93 { 94 94 cx->torender = cx->cv; 95 c ucul_set_canvas_size(cx->torender, cx->w, cx->h);95 caca_set_canvas_size(cx->torender, cx->w, cx->h); 96 96 97 97 cx->ew = 16; … … 99 99 cx->x = cx->y = 0; 100 100 cx->w = cx->h = 0; 101 cx->cv = c ucul_create_canvas(cx->ew, cx->eh);101 cx->cv = caca_create_canvas(cx->ew, cx->eh); 102 102 103 103 return 0;
Note: See TracChangeset
for help on using the changeset viewer.
