- moving to a new way of handling window changes (position, size, visibility)
[freeglut] / src / android / fg_window_android.c
index 5d1bc19..370f1dc 100644 (file)
@@ -86,6 +86,14 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title,
 }
 
 /*
+ * Request a window resize
+ */
+void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )
+{
+  fprintf(stderr, "fgPlatformReshapeWindow: STUB\n");
+}
+
+/*
  * Closes a window, destroying the frame and OpenGL context
  */
 void fgPlatformCloseWindow( SFG_Window* window )
@@ -95,25 +103,25 @@ void fgPlatformCloseWindow( SFG_Window* window )
 }
 
 /*
- * This function makes the current window visible
+ * This function makes the specified window visible
  */
-void fgPlatformGlutShowWindow( void )
+void fgPlatformShowWindow( void )
 {
-  fprintf(stderr, "fgPlatformGlutShowWindow: STUB\n");
+  fprintf(stderr, "fgPlatformShowWindow: STUB\n");
 }
 
 /*
- * This function hides the current window
+ * This function hides the specified window
  */
-void fgPlatformGlutHideWindow( void )
+void fgPlatformHideWindow( SFG_Window *window )
 {
-  fprintf(stderr, "fgPlatformGlutHideWindow: STUB\n");
+  fprintf(stderr, "fgPlatformHideWindow: STUB\n");
 }
 
 /*
- * Iconify the current window (top-level windows only)
+ * Iconify the specified window (top-level windows only)
  */
-void fgPlatformGlutIconifyWindow( void )
+void fgPlatformIconifyWindow( SFG_Window *window )
 {
   fprintf(stderr, "fgPlatformGlutIconifyWindow: STUB\n");
 }
@@ -134,49 +142,33 @@ void fgPlatformGlutSetIconTitle( const char* title )
   fprintf(stderr, "fgPlatformGlutSetIconTitle: STUB\n");}
 
 /*
- * Change the current window's position
- */
-void fgPlatformGlutPositionWindow( int x, int y )
-{
-  fprintf(stderr, "fgPlatformGlutPositionWindow: STUB\n");
-}
-
-/*
- * Lowers the current window (by Z order change)
- */
-void fgPlatformGlutPushWindow( void )
-{
-  fprintf(stderr, "fgPlatformGlutPushWindow: STUB\n");
-}
-
-/*
- * Raises the current window (by Z order change)
+ * Change the specified window's position
  */
-void fgPlatformGlutPopWindow( void )
+void fgPlatformPositionWindow( SFG_Window *window, int x, int y )
 {
-  fprintf(stderr, "fgPlatformGlutPopWindow: STUB\n");
+  fprintf(stderr, "fgPlatformPositionWindow: STUB\n");
 }
 
 /*
- * Resize the current window so that it fits the whole screen
+ * Lowers the specified window (by Z order change)
  */
-void fgPlatformGlutFullScreen( SFG_Window *win )
+void fgPlatformPushWindow( SFG_Window *window )
 {
-  fprintf(stderr, "fgPlatformGlutFullScreen: STUB\n");
+  fprintf(stderr, "fgPlatformPushWindow: STUB\n");
 }
 
 /*
- * If we are fullscreen, resize the current window back to its original size
+ * Raises the specified window (by Z order change)
  */
-void fgPlatformGlutLeaveFullScreen( SFG_Window *win )
+void fgPlatformPopWindow( SFG_Window *window )
 {
-  fprintf(stderr, "fgPlatformGlutLeaveFullScreen: STUB\n");
+  fprintf(stderr, "fgPlatformPopWindow: STUB\n");
 }
 
 /*
  * Toggle the window's full screen state.
  */
-void fgPlatformGlutFullScreenToggle( SFG_Window *win )
+void fgPlatformFullScreenToggle( SFG_Window *win )
 {
-  fprintf(stderr, "fgPlatformGlutFullScreenToggle: STUB\n");
+  fprintf(stderr, "fgPlatformFullScreenToggle: STUB\n");
 }