aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'w3mimg/fb/fb.h')
-rw-r--r--w3mimg/fb/fb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/w3mimg/fb/fb.h b/w3mimg/fb/fb.h
new file mode 100644
index 0000000..ebe8aef
--- /dev/null
+++ b/w3mimg/fb/fb.h
@@ -0,0 +1,16 @@
+#ifndef fb_header
+#define fb_header
+#include <linux/fb.h>
+
+int fb_open(void);
+void fb_close(void);
+void fb_pset(int x, int y, int r, int g, int b);
+void fb_clear(void);
+int fb_width(void);
+int fb_height(void);
+void fb_cmap_disp(void);
+void fb_fscrn_disp(void);
+void fb_vscrn_disp(void);
+int fb_get_color(int x, int y, int *r, int *g, int *b);
+
+#endif