/*
- * freeglut_init_mswin.c
+ * fg_init_mswin.c
*
* The Windows-specific mouse cursor related stuff.
*
extern LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam );
extern void fgPlatformInitSystemTime();
+extern void fghCloseInputDevices(void);
/*
void fgPlatformInitialize( const char* displayName )
{
WNDCLASS wc;
- ATOM atom;
+ BOOL atom;
/* What we need to do is to initialize the fgDisplay global structure here. */
fgDisplay.pDisplay.Instance = GetModuleHandle( NULL );
* Each of the windows should have its own device context, and we
* want redraw events during Vertical and Horizontal Resizes by
* the user.
- *
- * XXX Old code had "| CS_DBCLCKS" commented out. Plans for the
- * XXX future? Dead-end idea?
*/
wc.lpfnWndProc = fgPlatformWindowProc;
wc.cbClsExtra = 0;
/* Platform-Specific Deinitialization Functions: */
-extern void fghCloseInputDevices ( void );
-
void fgPlatformDeinitialiseInputDevices ( void )
{
#if !defined(_WIN32_WCE)