void fgCreateStructure( void );\r
void fgDestroyStructure( void );\r
\r
-/* A helper function to check if a display mode is possible to use */\r
-#if TARGET_HOST_POSIX_X11\r
-GLXFBConfig* fgChooseFBConfig( int* numcfgs );\r
-#endif\r
-\r
-/* The window procedure for Win32 events handling */\r
-#if TARGET_HOST_MS_WINDOWS\r
-LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg,\r
- WPARAM wParam, LPARAM lParam );\r
-void fgNewWGLCreateContext( SFG_Window* window );\r
-GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,\r
- unsigned char layer_type );\r
-#endif\r
-\r
/*\r
* Window creation, opening, closing and destruction.\r
* Also CallBack clearing/initialization.\r
extern int fgPlatformGlutDeviceGet ( GLenum eWhat );\r
extern int fgPlatformGlutLayerGet ( GLenum eWhat );\r
\r
+/* A helper function to check if a display mode is possible to use */\r
+#if TARGET_HOST_POSIX_X11\r
+GLXFBConfig* fgChooseFBConfig( int* numcfgs );\r
+#endif\r
+\r
+\r
/* -- LOCAL DEFINITIONS ---------------------------------------------------- */\r
\r
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */\r
#include "freeglut_internal_mswin.h"\r
\r
\r
+\r
+extern LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg,\r
+ WPARAM wParam, LPARAM lParam );\r
+\r
+\r
/*\r
* A call to this function should initialize all the display stuff...\r
*/\r
\r
extern void fghRedrawWindow ( SFG_Window *window );\r
\r
+extern void fgNewWGLCreateContext( SFG_Window* window );\r
+extern GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,\r
+ unsigned char layer_type );\r
+\r
+\r
\r
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )\r
{\r
#include "freeglut_internal_mswin.h"\r
\r
\r
+extern GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,\r
+ unsigned char layer_type );\r
+\r
\r
/* The following include file is available from SGI but is not standard:\r
* #include <GL/wglext.h>\r