546 CreateThread(NULL, 0, SplashScreenThread, (LPVOID) splash, 0, &threadId); 547 } 548 549 void 550 SplashClosePlatform(Splash * splash) 551 { 552 PostMessage(splash->hWnd, WM_QUIT, 0, 0); 553 } 554 555 void 556 SplashUpdate(Splash * splash) 557 { 558 PostMessage(splash->hWnd, WM_SPLASHUPDATE, 0, 0); 559 } 560 561 void 562 SplashReconfigure(Splash * splash) 563 { 564 PostMessage(splash->hWnd, WM_SPLASHRECONFIGURE, 0, 0); 565 } | 546 CreateThread(NULL, 0, SplashScreenThread, (LPVOID) splash, 0, &threadId); 547 } 548 549 void 550 SplashClosePlatform(Splash * splash) 551 { 552 PostMessage(splash->hWnd, WM_QUIT, 0, 0); 553 } 554 555 void 556 SplashUpdate(Splash * splash) 557 { 558 PostMessage(splash->hWnd, WM_SPLASHUPDATE, 0, 0); 559 } 560 561 void 562 SplashReconfigure(Splash * splash) 563 { 564 PostMessage(splash->hWnd, WM_SPLASHRECONFIGURE, 0, 0); 565 } 566 567 SPLASHEXPORT char* 568 SplashGetScaledImageName(const char* jarName, const char* fileName, 569 float *scaleFactor) 570 { 571 *scaleFactor = 1; 572 return NULL; 573 } |