Exemple #1
0
void* HMI_Initial::SDLStartThread(void *arg)
{
#ifdef ANDROID
    if(!FileCopyToConfigdir(":/assets/"))
        return NULL;
    if(!FileCopyToConfigdir(":/config/"))
        return NULL;
#ifdef  TTS_FLY_MSC
    if(!FileCopyToConfigdir(":/msctts/"))
        return NULL;
#endif
#endif
    char  sdlconfig[50]={0};
    sprintf(sdlconfig,"%s/smartDeviceLink.ini",CONFIG_DIR);
    char* argv[2]={"smartDeviceLinkCore",sdlconfig};
    sdl_start(2,argv);
    while(true){
        sleep(100);
    }
    return NULL;
}
Exemple #2
0
graph3d::graph3d(GRAPH_TYPE type, tpos width, tpos height, int screen_depth, bool full_screen)
  : graph_type(type)
{  
  set(width, height, screen_depth, full_screen);  
  sdl_start();
}
Exemple #3
0
graph3d::graph3d(GRAPH_TYPE type)
  : graph_type(type)
{   
  set();
  sdl_start();
}