fbdev.h

00001 /***************************************************************************
00002     begin                : Thu Feb 17 2005
00003     copyright            : (C) 2005 - 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_FBDev)
00017 
00018 #include <linux/fb.h>
00019 
00020 struct {
00021         int fd;
00022         int bitsperpixel;
00023         int bytesperpixel;
00024         int colors;
00025         struct fb_fix_screeninfo f_scr;
00026         struct fb_var_screeninfo v_scr;
00027         struct fb_var_screeninfo v_scro;
00028 } fb;
00029 
00030 void fb_setpalette (int index, int red, int green, int blue);
00031 void fb_getvaro (void);
00032 void fb_putvaro (void);
00033 void fb_getfix (void);
00034 void fb_getvar (void);
00035 void fb_putvar (void);
00036 void fb_open (void);
00037 void fb_close (void);
00038 void fb_init (s_server_conf_t *cfg);
00039 
00040 int fb_kbd_init (s_server_conf_t *cfg);
00041 
00042 void fb_server_restore (void);
00043 void fb_server_goto_back (void);
00044 void fb_server_comefrom_back (void);
00045 void fb_server_uninit (void);
00046 int fb_server_init (s_server_conf_t *cfg);
00047 void fb_server_setmode (s_server_conf_t *cfg, s_video_helper_mode_info_t *gmode);
00048 void fb_server_surface_setrgbpalette (void);
00049 void fb_server_surface_init (s_video_helper_mode_info_t *gmode);
00050 void fb_server_surface_uninit (void);
00051 
00052 void fb_timing_set (s_server_conf_t *cfg, struct fb_var_screeninfo *v_scr);
00053 
00054 #endif /* VIDEO_FBDev */

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