SDL  2.0
SDL_winrtapp_common.cpp File Reference
+ Include dependency graph for SDL_winrtapp_common.cpp:

Go to the source code of this file.

Functions

int SDL_WinRTRunApp (int(*mainFunction)(int, char **), void *xamlBackgroundPanel)
 

Variables

int(* WINRT_SDLAppEntryPoint )(int, char **) = NULL
 

Function Documentation

§ SDL_WinRTRunApp()

int SDL_WinRTRunApp ( int(*)(int, char **)  mainFunction,
void xamlBackgroundPanel 
)

Definition at line 30 of file SDL_winrtapp_common.cpp.

References SDL_WinRTInitNonXAMLApp(), and SDL_WinRTInitXAMLApp().

Referenced by WinMain().

31 {
32  if (xamlBackgroundPanel) {
33  return SDL_WinRTInitXAMLApp(mainFunction, xamlBackgroundPanel);
34  } else {
35  return SDL_WinRTInitNonXAMLApp(mainFunction);
36  }
37 }
int SDL_WinRTInitNonXAMLApp(int(*mainFunction)(int, char **))
int SDL_WinRTInitXAMLApp(int(*mainFunction)(int, char **), void *backgroundPanelAsIInspectable)

Variable Documentation

§ WINRT_SDLAppEntryPoint

int(* WINRT_SDLAppEntryPoint) (int, char **) = NULL