Changeset 486
- Timestamp:
- Jun 21, 2005, 6:13:41 PM (16 years ago)
- Location:
- libcaca/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/caca.h
r485 r486 40 40 * using the conio library, and on Windows systems using either slang or 41 41 * ncurses (through Cygwin emulation) or conio. There is also a native X11 42 * driver that does not require a text terminal. 42 * driver, and an OpenGL driver (through freeglut) that does not require a 43 * text terminal. 43 44 * 44 45 * \e libcaca is free software, released under the GNU Lesser General … … 62 63 * - \c slang uses the S-Lang library. 63 64 * - \c x11 uses the native X11 driver. 65 * - \c gl uses freeglut and opengl libraries. 64 66 * 65 67 * \li \b CACA_GEOMETRY: set the video display size. The format of this 66 68 * variable must be XxY, with X and Y being integer values. This option 67 * currently only works with the X11 driver.69 * currently only works with the X11 and the GL driver. 68 70 * 69 71 * \li \b CACA_FONT: set the rendered font. The format of this variable is -
libcaca/trunk/src/graphics.c
r485 r486 968 968 char *empty; 969 969 970 if(getenv("CACA_GEOMETRY") && *(getenv("CACA_GEOMETRY"))) 971 sscanf(getenv("CACA_GEOMETRY"), 972 "%ux%u", &_caca_width, &_caca_height); 973 970 974 if(!_caca_width) 971 975 _caca_width = 80;
Note: See TracChangeset
for help on using the changeset viewer.