Ignore:
Timestamp:
Nov 11, 2006, 9:11:26 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Switch back to UTF-32 arguments for drawing primitives, now that we properly export cucul_utf8_to_utf32(). Evil API breakage, but no one uses these functions anyway.
Location:
libcaca/trunk/src
Files:
2 edited

Legend:

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

    r1267 r1330  
    235235        star_rot[(a)*2] * mulx + w2, star_rot[(a)*2+1] * muly + h2, \
    236236        star_rot[(b)*2] * mulx + w2, star_rot[(b)*2+1] * muly + h2, \
    237         star_rot[(c)*2] * mulx + w2, star_rot[(c)*2+1] * muly + h2, "#")
     237        star_rot[(c)*2] * mulx + w2, star_rot[(c)*2+1] * muly + h2, '#')
    238238            DO_TRI(0, 1, 9);
    239239            DO_TRI(1, 2, 3);
     
    247247
    248248        case TRANSITION_CIRCLE:
    249             cucul_fill_ellipse(mask, w2, h2, mulx, muly, "#");
     249            cucul_fill_ellipse(mask, w2, h2, mulx, muly, '#');
    250250            break;
    251251
  • libcaca/trunk/src/cacaview.c

    r1267 r1330  
    420420{
    421421    cucul_set_color_ansi(cv, CUCUL_WHITE, CUCUL_BLUE);
    422     cucul_draw_line(cv, 0, 0, ww - 1, 0, " ");
    423     cucul_draw_line(cv, 0, wh - 2, ww - 1, wh - 2, "-");
     422    cucul_draw_line(cv, 0, 0, ww - 1, 0, ' ');
     423    cucul_draw_line(cv, 0, wh - 2, ww - 1, wh - 2, '-');
    424424    cucul_putstr(cv, 0, 0, "q:Quit  np:Next/Prev  +-x:Zoom  gG:Gamma  "
    425425                           "hjkl:Move  d:Dither  a:Antialias");
     
    430430
    431431    cucul_set_color_ansi(cv, CUCUL_LIGHTGRAY, CUCUL_BLACK);
    432     cucul_draw_line(cv, 0, wh - 1, ww - 1, wh - 1, " ");
     432    cucul_draw_line(cv, 0, wh - 1, ww - 1, wh - 1, ' ');
    433433}
    434434
Note: See TracChangeset for help on using the changeset viewer.