# 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
* match the new window size.\r
*/\r
#if TARGET_HOST_POSIX_X11\r
-static void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )\r
+void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )\r
{\r
XResizeWindow( fgDisplay.Display, window->Window.Handle,\r
width, height );\r
* A static helper function to execute display callback for a window\r
*/\r
#if TARGET_HOST_POSIX_X11\r
-static void fgPlatformDisplayWindow ( SFG_Window *window )\r
+void fgPlatformDisplayWindow ( SFG_Window *window )\r
{\r
fghRedrawWindow ( window ) ;\r
}\r
*/\r
\r
#if TARGET_HOST_POSIX_X11\r
-static void fgPlatformSleepForEvents( long msec )\r
+void fgPlatformSleepForEvents( long msec )\r
{\r
/*\r
* Possibly due to aggressive use of XFlush() and friends,\r
}\r
\r
\r
-static void fgPlatformMainLoopPreliminaryWork ( void )\r
+void fgPlatformMainLoopPreliminaryWork ( void )\r
{\r
}\r
#endif\r