/*
- * freeglut_internal_android.h
+ * fg_internal_android.h
*
* The freeglut library private include file.
*
/* Android OpenGL ES is accessed through EGL */
#include "egl/fg_internal_egl.h"
+/* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */
+/* The structure used by display initialization in fg_init.c */
+typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay;
+struct android_app;
+struct tagSFG_PlatformDisplay
+{
+ struct tagSFG_PlatformDisplayEGL egl;
+ EGLNativeWindowType single_native_window;
+ struct android_app* app;
+};
+
+typedef struct tagSFG_PlatformContext SFG_PlatformContext;
+/* SFG_PlatformContext is used for SFG_Window.Window */
+struct tagSFG_PlatformContext
+{
+ struct tagSFG_PlatformContextEGL egl;
+};
+
+
/**
* Virtual PAD (spots on touchscreen that simulate keys)
*/
/* -- JOYSTICK-SPECIFIC STRUCTURES AND TYPES ------------------------------- */
/*
- * Initial defines from "js.h" starting around line 33 with the existing "freeglut_joystick.c"
+ * Initial defines from "js.h" starting around line 33 with the existing "fg_joystick.c"
* interspersed
*/
int fd;
};
+/* Window's state description. This structure should be kept portable. */
+typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
+struct tagSFG_PlatformWindowState
+{
+ char unused;
+};
+
+/* Menu font and color definitions */
+#define FREEGLUT_MENU_FONT NULL
+
+#define FREEGLUT_MENU_PEN_FORE_COLORS {0.0f, 0.0f, 0.0f, 1.0f}
+#define FREEGLUT_MENU_PEN_BACK_COLORS {0.70f, 0.70f, 0.70f, 1.0f}
+#define FREEGLUT_MENU_PEN_HFORE_COLORS {0.0f, 0.0f, 0.0f, 1.0f}
+#define FREEGLUT_MENU_PEN_HBACK_COLORS {1.0f, 1.0f, 1.0f, 1.0f}
+
#endif /* FREEGLUT_INTERNAL_ANDROID_H */