Document android app lifecycle; kill app when window is closed, until pausing/restori...
[freeglut] / src / android / fg_internal_android.h
index e13b675..c5d146e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * freeglut_internal_android.h
+ * fg_internal_android.h
  *
  * The freeglut library private include file.
  *
@@ -100,4 +100,12 @@ struct tagSFG_PlatformJoystick
     int          fd;
 };
 
+/* Window's state description. This structure should be kept portable. */
+typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
+struct tagSFG_PlatformWindowState
+{
+    int32_t LastHeight;
+    int32_t LastWidth;
+};
+
 #endif  /* FREEGLUT_INTERNAL_ANDROID_H */