Ignore:
Timestamp:
Dec 16, 2007, 2:50:41 AM (13 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/event.c

    r2056 r2138  
    345345
    346346#if defined(USE_SLANG)
    347     if(dp->drv.driver != CACA_DRIVER_SLANG)
     347    if(dp->drv.id != CACA_DRIVER_SLANG)
    348348#endif
    349349#if defined(USE_NCURSES)
    350     if(dp->drv.driver != CACA_DRIVER_NCURSES)
     350    if(dp->drv.id != CACA_DRIVER_NCURSES)
    351351#endif
    352352    return ret;
Note: See TracChangeset for help on using the changeset viewer.