src/video/fbcon/SDL_fbvideo.h
changeset 1201 718d00094f82
parent 769 b8d311d90021
child 1312 c9b51268668f
--- a/src/video/fbcon/SDL_fbvideo.h	Mon Dec 12 09:22:36 2005 +0000
+++ b/src/video/fbcon/SDL_fbvideo.h	Mon Dec 12 09:26:32 2005 +0000
@@ -35,6 +35,9 @@
 #include "SDL_mouse.h"
 #include "SDL_mutex.h"
 #include "SDL_sysvideo.h"
+#ifdef HAVE_TSLIB
+#include "tslib.h"
+#endif
 
 /* Hidden "this" pointer for the video functions */
 #define _THIS	SDL_VideoDevice *this
@@ -65,6 +68,9 @@
 	struct termios saved_kbd_termios;
 
 	int mouse_fd;
+#ifdef HAVE_TSLIB
+	struct tsdev *ts_dev;
+#endif
 
 	char *mapped_mem;
 	int mapped_memlen;
@@ -95,6 +101,9 @@
 #define saved_kbd_mode		(this->hidden->saved_kbd_mode)
 #define saved_kbd_termios	(this->hidden->saved_kbd_termios)
 #define mouse_fd		(this->hidden->mouse_fd)
+#ifdef HAVE_TSLIB
+#define ts_dev			(this->hidden->ts_dev)
+#endif /* HAVE_TSLIB */
 #define cache_vinfo		(this->hidden->cache_vinfo)
 #define saved_vinfo		(this->hidden->saved_vinfo)
 #define saved_cmaplen		(this->hidden->saved_cmaplen)