X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_internal.h;h=13e57a3e3cbb81a012f2a649c1f23d1a6531f56f;hb=9710ac125b3a9ff545ee6cd08fa1881e921c2404;hp=1c7429e0579168d3015a6d6a9e22ccd5b5a0cd93;hpb=0e653a9d94fec583f7a4172b721c1c599e06cbc8;p=freeglut diff --git a/src/fg_internal.h b/src/fg_internal.h index 1c7429e..13e57a3 100644 --- a/src/fg_internal.h +++ b/src/fg_internal.h @@ -219,6 +219,10 @@ typedef void (* FGCBMultiButton )( int, int, int, int, int ); typedef void (* FGCBMultiMotion )( int, int, int ); typedef void (* FGCBMultiPassive )( int, int, int ); +typedef void (* FGCBInitContext)(); +typedef void (* FGCBPause)(); +typedef void (* FGCBResume)(); + /* The global callbacks type definitions */ typedef void (* FGCBIdle )( void ); typedef void (* FGCBTimer )( int ); @@ -397,6 +401,8 @@ struct tagSFG_WindowState GLboolean NeedToResize; /* Do we need to resize the window? */ GLboolean IsFullscreen; /* is the window fullscreen? */ + + GLboolean NeedToInitContext; /* are OpenGL context/resources loaded? */ }; @@ -528,6 +534,11 @@ enum CB_MultiMotion, CB_MultiPassive, + /* Mobile platforms LifeCycle */ + CB_InitContext, + CB_Pause, + CB_Resume, + /* Presently ignored */ CB_Select, CB_OverlayDisplay,