X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fandroid%2Ffg_internal_android.h;h=1888b1b10e36239f26f4d6ccb7a64effbec8b878;hb=6090a1ed96f3eb4c90f1f38ec9cd37ae0fe9b30e;hp=e13b675642a436dc15cb4475558ac7f0f62c256d;hpb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;p=freeglut diff --git a/src/android/fg_internal_android.h b/src/android/fg_internal_android.h index e13b675..1888b1b 100644 --- a/src/android/fg_internal_android.h +++ b/src/android/fg_internal_android.h @@ -1,5 +1,5 @@ /* - * freeglut_internal_android.h + * fg_internal_android.h * * The freeglut library private include file. * @@ -34,10 +34,12 @@ /* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */ /* The structure used by display initialization in freeglut_init.c */ typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay; +struct android_app; struct tagSFG_PlatformDisplay { struct tagSFG_PlatformDisplayEGL egl; - struct tagSFG_Window* single_window; + EGLNativeWindowType single_native_window; + struct android_app* app; }; typedef struct tagSFG_PlatformContext SFG_PlatformContext; @@ -100,4 +102,19 @@ struct tagSFG_PlatformJoystick 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 */