Main Page   File List   Globals  

FBpriv.h

Go to the documentation of this file.
00001 
00012 /* This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; version 2 of the License.
00015  */
00016 
00017 
00018 #ifndef FBPRIV_H
00019 #define FBPRIV_H
00020 
00021 #define TTY 0
00022 
00023 //#define GETPOS(a,b) (a * inc_x) + (b * inc_y)
00024 
00025 int fbufd,oldxres,oldyres;
00026 struct fb_fix_screeninfo fb_fix_info;
00027 struct fb_var_screeninfo backup_var_info;
00028 struct fb_var_screeninfo work_var_info;
00029 
00030 char *fbp, *b_store, *fb_visp;
00031 long int screensize;
00032 long int visiblesize;
00033 int uses_keyboard;
00034 int inc_x, inc_y;
00035 
00036 int GETPOS(int a, int b);
00037 inline void setpixel(char *pos, FB_pixel col);
00038 
00039 long int get_screensize();
00040 int fb_map();
00041 int fb_unmap();
00042 void fb_switch(int n_sig);
00043 
00044 int fb_rotation;
00045 #endif

Generated on Sat Jul 5 09:04:51 2003 for LibFB by doxygen1.2.18