< prev index next >

src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c

Print this page
rev 16167 : 8170525: Fix minor issues in awt coding


 792 
 793 void
 794 SplashUpdate(Splash * splash) {
 795     sendctl(splash, SPLASHCTL_UPDATE);
 796 }
 797 
 798 void
 799 SplashReconfigure(Splash * splash) {
 800     sendctl(splash, SPLASHCTL_RECONFIGURE);
 801 }
 802 
 803 SPLASHEXPORT jboolean
 804 SplashGetScaledImageName(const char* jarName, const char* fileName,
 805                            float *scaleFactor, char *scaledImgName,
 806                            const size_t scaledImageNameLength)
 807 {
 808     *scaleFactor = 1;
 809 #ifndef __linux__
 810     return JNI_FALSE;
 811 #endif
 812     *scaleFactor = getNativeScaleFactor(NULL);
 813     return GetScaledImageName(fileName, scaledImgName, scaleFactor, scaledImageNameLength);
 814 }
 815 


 792 
 793 void
 794 SplashUpdate(Splash * splash) {
 795     sendctl(splash, SPLASHCTL_UPDATE);
 796 }
 797 
 798 void
 799 SplashReconfigure(Splash * splash) {
 800     sendctl(splash, SPLASHCTL_RECONFIGURE);
 801 }
 802 
 803 SPLASHEXPORT jboolean
 804 SplashGetScaledImageName(const char* jarName, const char* fileName,
 805                            float *scaleFactor, char *scaledImgName,
 806                            const size_t scaledImageNameLength)
 807 {
 808     *scaleFactor = 1;
 809 #ifndef __linux__
 810     return JNI_FALSE;
 811 #endif
 812     *scaleFactor = (float)getNativeScaleFactor(NULL);
 813     return GetScaledImageName(fileName, scaledImgName, scaleFactor, scaledImageNameLength);
 814 }
 815 
< prev index next >