Ignore:
Timestamp:
Oct 25, 2008, 12:35:21 AM (11 years ago)
Author:
nico
Message:
  • Add flac support and some other nice features...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/php_caca.c

    r3091 r3092  
    5454        PHP_FE(caca_set_color_ansi, NULL)
    5555        PHP_FE(caca_set_color_argb, NULL)
     56        PHP_FE(caca_attr_to_ansi, NULL)
     57        PHP_FE(caca_attr_to_ansi_fg, NULL)
     58        PHP_FE(caca_attr_to_ansi_bg, NULL)
    5659        PHP_FE(caca_draw_line, NULL)
    5760        PHP_FE(caca_draw_polyline, NULL)
     
    7073        PHP_FE(caca_get_frame_count, NULL)
    7174        PHP_FE(caca_set_frame, NULL)
    72         PHP_FE(caca_get_frame_name, NULL)
    7375        PHP_FE(caca_set_frame_name, NULL)
    7476        PHP_FE(caca_create_frame, NULL)
     
    102104        PHP_FE(caca_flush_figlet, NULL)
    103105        PHP_FE(caca_file_close, NULL)
     106        PHP_FE(caca_file_tell, NULL)
     107        PHP_FE(caca_file_read, NULL)
     108        PHP_FE(caca_file_write, NULL)
    104109        PHP_FE(caca_file_gets, NULL)
    105110        PHP_FE(caca_file_eof, NULL)
     111        PHP_FE(caca_import_memory, NULL)
     112        PHP_FE(caca_import_file, NULL)
    106113        PHP_FE(caca_get_import_list, NULL)
    107         PHP_FE(caca_export_memory, NULL)
    108114        PHP_FE(caca_get_export_list, NULL)
     115        PHP_FE(caca_create_display, NULL)
     116        PHP_FE(caca_create_display_with_driver, NULL)
    109117        PHP_FE(caca_get_display_driver_list, NULL)
    110118        PHP_FE(caca_get_display_driver, NULL)
    111119        PHP_FE(caca_set_display_driver, NULL)
     120        PHP_FE(caca_get_canvas, NULL)
    112121        PHP_FE(caca_refresh_display, NULL)
    113122        PHP_FE(caca_set_display_time, NULL)
     
    354363
    355364PHP_FUNCTION(caca_clear_canvas) {
    356         caca_canvas_t *canvas;
    357         FETCH_CANVAS(canvas);
    358         RETURN_BOOL(caca_clear_canvas(canvas) == 0);
    359365}
    360366
     
    443449}
    444450
    445 PHP_FUNCTION(caca_attr_to_argb64) {
    446 }
    447 
    448 PHP_FUNCTION(caca_utf32_to_ascii) {
    449 }
    450 
    451 PHP_FUNCTION(caca_utf32_is_fullwidth) {
     451PHP_FUNCTION(caca_attr_to_ansi) {
     452}
     453
     454PHP_FUNCTION(caca_attr_to_ansi_fg) {
     455}
     456
     457PHP_FUNCTION(caca_attr_to_ansi_bg) {
    452458}
    453459
     
    482488}
    483489
    484 PHP_FUNCTION(caca_draw_cp437_box) {
    485 }
    486 
    487490PHP_FUNCTION(caca_fill_box) {
    488491}
     
    503506}
    504507
    505 PHP_FUNCTION(caca_get_frame_name) {
    506 }
    507 
    508508PHP_FUNCTION(caca_set_frame_name) {
    509509}
     
    599599}
    600600
     601PHP_FUNCTION(caca_file_tell) {
     602}
     603
     604PHP_FUNCTION(caca_file_read) {
     605}
     606
     607PHP_FUNCTION(caca_file_write) {
     608}
     609
    601610PHP_FUNCTION(caca_file_gets) {
    602611}
     
    605614}
    606615
     616PHP_FUNCTION(caca_import_memory) {
     617}
     618
     619PHP_FUNCTION(caca_import_file) {
     620}
     621
    607622PHP_FUNCTION(caca_get_import_list) {
    608623}
    609624
    610 PHP_FUNCTION(caca_export_memory) {
    611 }
    612 
    613625PHP_FUNCTION(caca_get_export_list) {
    614626}
    615627
     628PHP_FUNCTION(caca_create_display) {
     629}
     630
     631PHP_FUNCTION(caca_create_display_with_driver) {
     632}
     633
    616634PHP_FUNCTION(caca_get_display_driver_list) {
    617635}
     
    623641}
    624642
     643PHP_FUNCTION(caca_get_canvas) {
     644}
     645
    625646PHP_FUNCTION(caca_refresh_display) {
    626647}
     
    662683}
    663684
    664 PHP_FUNCTION(caca_get_event_key_utf8) {
    665 }
    666 
    667685PHP_FUNCTION(caca_get_event_mouse_button) {
    668686}
     
    680698}
    681699
    682 
Note: See TracChangeset for help on using the changeset viewer.