# define MIN(a,b) (((a)<(b)) ? (a) : (b))\r
#endif\r
\r
-#ifdef WM_TOUCH\r
- typedef BOOL (WINAPI *pGetTouchInputInfo)(HTOUCHINPUT,UINT,PTOUCHINPUT,int);\r
- typedef BOOL (WINAPI *pCloseTouchInputHandle)(HTOUCHINPUT);\r
- static pGetTouchInputInfo fghGetTouchInputInfo = (pGetTouchInputInfo)0xDEADBEEF;\r
- static pCloseTouchInputHandle fghCloseTouchInputHandle = (pCloseTouchInputHandle)0xDEADBEEF;\r
-#endif\r
-\r
extern void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height );\r
extern void fgPlatformDisplayWindow ( SFG_Window *window );\r
extern void fgPlatformSleepForEvents( long msec );\r
#endif /* TARGET_HOST_POSIX_X11 */\r
\r
\r
-#ifdef WM_TOUCH\r
- typedef BOOL (WINAPI *pRegisterTouchWindow)(HWND,ULONG);\r
- static pRegisterTouchWindow fghRegisterTouchWindow = (pRegisterTouchWindow)0xDEADBEEF;\r
-#endif\r
-\r
/* pushing attribute/value pairs into an array */\r
#define ATTRIB(a) attributes[where++]=(a)\r
#define ATTRIB_VAL(a,v) {ATTRIB(a); ATTRIB(v);}\r
extern GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,\r
unsigned char layer_type );\r
\r
+#ifdef WM_TOUCH\r
+typedef BOOL (WINAPI *pGetTouchInputInfo)(HTOUCHINPUT,UINT,PTOUCHINPUT,int);\r
+typedef BOOL (WINAPI *pCloseTouchInputHandle)(HTOUCHINPUT);\r
+static pGetTouchInputInfo fghGetTouchInputInfo = (pGetTouchInputInfo)0xDEADBEEF;\r
+static pCloseTouchInputHandle fghCloseTouchInputHandle = (pCloseTouchInputHandle)0xDEADBEEF;\r
+#endif\r
+\r
\r
\r
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )\r
extern void fghContextCreationError( void );\r
extern int fghNumberOfAuxBuffersRequested( void );\r
\r
+#ifdef WM_TOUCH\r
+typedef BOOL (WINAPI *pRegisterTouchWindow)(HWND,ULONG);\r
+static pRegisterTouchWindow fghRegisterTouchWindow = (pRegisterTouchWindow)0xDEADBEEF;\r
+#endif\r
+\r
\r
/*\r
* Setup the pixel format for a Win32 window\r