src/share/native/sun/awt/splashscreen/splashscreen_impl.c

Print this page

        

*** 57,66 **** --- 57,67 ---- { Splash *splash = SplashGetInstance(); memset(splash, 0, sizeof(Splash)); splash->currentFrame = -1; + splash->scaleFactor = 1; initFormat(&splash->imageFormat, QUAD_RED_MASK, QUAD_GREEN_MASK, QUAD_BLUE_MASK, QUAD_ALPHA_MASK); SplashInitPlatform(splash); }
*** 99,108 **** --- 100,116 ---- splash->overlayData = NULL; } SplashSetFileJarName(NULL, NULL); } + SPLASHEXPORT void + SplashSetScaleFactor(float scaleFactor) + { + Splash *splash = SplashGetInstance(); + splash->scaleFactor = scaleFactor; + } + void SplashDone(Splash * splash) { SplashCleanup(splash); SplashDonePlatform(splash);