Main Page   Modules   File List   Globals  

caca.c File Reference

Main libcaca functions. More...


Functions

int caca_init (void)
 Initialise libcaca. More...

unsigned int caca_get_width (void)
 Get the screen width. More...

unsigned int caca_get_height (void)
 Get the screen height. More...

char const * caca_get_color_name (enum caca_color color)
 Translate a colour index into the colour's name. More...

enum caca_feature caca_get_feature (enum caca_feature feature)
 Get the current value of a feature. More...

void caca_set_feature (enum caca_feature feature)
 Set a feature. More...

char const * caca_get_feature_name (enum caca_feature feature)
 Translate a feature value into the feature's name. More...

void caca_end (void)
 Uninitialise libcaca. More...


Detailed Description

Version:
$Id: caca.c 258 2004-01-26 10:52:30Z sam $
Author:
Sam Hocevar <sam@zoy.org>

This file contains the main functions used by libcaca applications to initialise the library, get the screen properties, set the framerate and so on.