Changeset 699 for libcaca/trunk
- Timestamp:
- Mar 27, 2006, 8:07:18 PM (15 years ago)
- Location:
- libcaca/trunk/caca
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/Makefile.am
r692 r699 16 16 driver_ncurses.c \ 17 17 driver_network.c \ 18 driver_raw.c \ 18 19 driver_slang.c \ 19 20 driver_vga.c \ -
libcaca/trunk/caca/caca.c
r684 r699 1 1 /* 2 2 * libcaca Colour ASCII-Art library 3 * Copyright (c) 200 2-2006 Sam Hocevar <sam@zoy.org>3 * Copyright (c) 2006 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 5 * … … 134 134 if(!strcasecmp(var, "gl")) return gl_install(kk); 135 135 #endif 136 if(!strcasecmp(var, "raw")) return raw_install(kk); 136 137 #if defined(USE_SLANG) 137 138 if(!strcasecmp(var, "slang")) return slang_install(kk); … … 171 172 if(ncurses_install(kk) == 0) return 0; 172 173 #endif 173 #if defined(USE_NETWORK)174 if(network_install(kk) == 0) return 0;175 #endif176 174 177 175 return -1; -
libcaca/trunk/caca/caca_internals.h
r689 r699 40 40 { 41 41 CACA_DRIVER_NONE = 0, 42 CACA_DRIVER_RAW = 1, 42 43 #if defined(USE_CONIO) 43 CACA_DRIVER_CONIO = 1, 44 CACA_DRIVER_CONIO = 2, 45 #endif 46 #if defined(USE_GL) 47 CACA_DRIVER_GL = 3, 48 #endif 49 #if defined(USE_NETWORK) 50 CACA_DRIVER_NETWORK = 4, 44 51 #endif 45 52 #if defined(USE_NCURSES) 46 CACA_DRIVER_NCURSES = 2,53 CACA_DRIVER_NCURSES = 5, 47 54 #endif 48 55 #if defined(USE_SLANG) 49 CACA_DRIVER_SLANG = 3, 56 CACA_DRIVER_SLANG = 6, 57 #endif 58 #if defined(USE_VGA) 59 CACA_DRIVER_VGA = 7, 60 #endif 61 #if defined(USE_WIN32) 62 CACA_DRIVER_WIN32 = 8, 50 63 #endif 51 64 #if defined(USE_X11) 52 CACA_DRIVER_X11 = 4, 53 #endif 54 #if defined(USE_WIN32) 55 CACA_DRIVER_WIN32 = 5, 56 #endif 57 #if defined(USE_GL) 58 CACA_DRIVER_GL = 6, 59 #endif 60 #if defined(USE_NETWORK) 61 CACA_DRIVER_NETWORK = 7, 62 #endif 63 #if defined(USE_VGA) 64 CACA_DRIVER_VGA = 8, 65 CACA_DRIVER_X11 = 9, 65 66 #endif 66 67 }; 67 68 68 /* Available drivers */69 /* Available external drivers */ 69 70 #if defined(USE_CONIO) 70 71 int conio_install(caca_t *); … … 73 74 int gl_install(caca_t *); 74 75 #endif 76 #if defined(USE_NETWORK) 77 int network_install(caca_t *); 78 #endif 75 79 #if defined(USE_NCURSES) 76 80 int ncurses_install(caca_t *); 77 81 #endif 82 int raw_install(caca_t *); 78 83 #if defined(USE_SLANG) 79 84 int slang_install(caca_t *); 85 #endif 86 #if defined(USE_VGA) 87 int vga_install(caca_t *); 80 88 #endif 81 89 #if defined(USE_WIN32) … … 84 92 #if defined(USE_X11) 85 93 int x11_install(caca_t *); 86 #endif87 #if defined(USE_NETWORK)88 int network_install(caca_t *);89 #endif90 #if defined(USE_VGA)91 int vga_install(caca_t *);92 94 #endif 93 95
Note: See TracChangeset
for help on using the changeset viewer.