Ignore:
Timestamp:
Dec 16, 2007, 2:50:41 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Implement caca_create_display_with_driver() to specify an output driver without using environment variables..
  • Implement caca_get_display_driver() to return the current display's output driver.
  • Add a simple example program to test caca_create_display_with_driver().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r2135 r2138  
    155155 *  @{ */
    156156__extern caca_display_t * caca_create_display(cucul_canvas_t *);
     157__extern caca_display_t * caca_create_display_with_driver(cucul_canvas_t *,
     158                                                          char const *);
     159__extern char const * caca_get_display_driver(caca_display_t *);
    157160__extern int caca_free_display(caca_display_t *);
    158161__extern cucul_canvas_t * caca_get_canvas(caca_display_t *);
    159162__extern int caca_refresh_display(caca_display_t *);
    160 __extern char const * const * caca_get_display_driver_list(caca_display_t *);
     163__extern char const * const * caca_get_display_driver_list(void);
    161164__extern int caca_set_display_time(caca_display_t *, unsigned int);
    162165__extern unsigned int caca_get_display_time(caca_display_t const *);
Note: See TracChangeset for help on using the changeset viewer.