Ignore:
Timestamp:
Oct 26, 2008, 4:27:59 PM (15 years ago)
Author:
nico
Message:
  • Add php binding for caca_export_memory (called caca_export_string)
  • Rename php function caca_import_memory to caca_import_string
  • Add sample program "text.php" (php port of examples/text.c)
  • Add php binding for "caca_set_attr"
Location:
libcaca/trunk/caca-php/examples
Files:
1 added
1 edited

Legend:

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

    r3110 r3111  
    3737caca_set_color_ansi($pig, CACA_LIGHTMAGENTA, CACA_TRANSPARENT);
    3838caca_set_color_ansi($canvas, CACA_LIGHTBLUE, CACA_TRANSPARENT);
    39 caca_import_memory($pig, $pig_str, "text");
     39caca_import_string($pig, $pig_str, "text");
    4040caca_set_display_time($display, 30000);
    4141
Note: See TracChangeset for help on using the changeset viewer.