Ignore:
Timestamp:
Oct 28, 2008, 8:30:10 PM (12 years ago)
Author:
nico
Message:
  • Change type of the last argument of drawing function (from string to long)
  • Adapt sample programs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/cacainfo.php

    r3129 r3132  
    2929        caca_set_color_ansi($cv, CACA_LIGHTGREEN, CACA_DEFAULT);
    3030        caca_put_str($cv, 8, 0, "Moo!");
     31        caca_set_color_ansi($cv, CACA_LIGHTRED, CACA_DEFAULT);
     32        caca_put_char($cv, 8, 1, hexdec("2765")); //U+2765
     33        caca_put_char($cv, 10, 1, hexdec("2764")); //U+2764
    3134        echo caca_export_string($cv, "utf8");
    3235}
Note: See TracChangeset for help on using the changeset viewer.