caca.h

00001 /***************************************************************************
00002     begin                : Tue Dec 26 2006
00003     copyright            : (C) 2006 by Alper Akcan
00004     email                : distchx@yahoo.com
00005  ***************************************************************************/
00006 
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU Lesser General Public License as        *
00011  *   published by the Free Software Foundation; either version 2.1 of the  *
00012  *   License, or (at your option) any later version.                       *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #if defined(VIDEO_CACA)
00017 
00018 #include <caca.h>
00019 
00020 typedef struct s_video_caca_data_s {
00021         int mouse_fd[2];
00022         int keybd_fd[2];
00023         int caca_width;
00024         int caca_height;
00025         int screen_shm_mid;
00026         s_thread_t *event_tid;
00027 } s_video_caca_data_t;
00028 
00029 void * s_video_caca_event_parse (void *arg);
00030 
00031 int s_video_caca_kbd_init (s_server_conf_t *cfg);
00032 int s_video_caca_kbd_update (s_video_input_data_t *keybd);
00033 void s_video_caca_kbd_uninit (void);
00034 
00035 int s_video_caca_mouse_init (s_server_conf_t *cfg);
00036 int s_video_caca_mouse_update (s_video_input_data_t *mouse);
00037 void s_video_caca_mouse_uninit (void);
00038 
00039 void s_video_caca_server_goto_back (void);
00040 void s_video_caca_server_comefrom_back (void);
00041 void s_video_caca_server_restore (void);
00042 void s_video_caca_server_uninit (void);
00043 int s_video_caca_server_init (s_server_conf_t *cfg);
00044 void s_video_caca_server_surface_update (s_rect_t *coor);
00045 void s_video_caca_server_fullscreen (void);
00046 
00047 #endif /* VIDEO_CACA */

Generated on Wed Dec 27 17:53:06 2006 for xynth-0.8.40 by  doxygen 1.4.7