From 29891baca2427483f96e6d1a8c3b13892ba5facc Mon Sep 17 00:00:00 2001 From: Rami Santina Date: Wed, 20 Oct 2010 16:26:45 +0300 Subject: Added Windows Impl for ScreenMode and rotation change; Windows Fullscreen Hint Added windows implemenation for screen mode change lifecycle and screen rotation screen modes. +++++++++++ Added getHighestAvailableRate() to Screen mode as a helper function which loops over the available rates of this screen mode and returns the highest available. Added toString impl to ScreenMode. +++++++++++ Unit Tests: TestScreenMode01NEWT,TestScreenMode02NEWT are modified adding the gears as GL event listeners. +++++++++++ Notes: 1- Screen modes with bits per pixel values not same as current are currently filtered out. 2- Since windows stores the Display settings differently you will see some duplicate values which the documentation says is usual. These modes are not filtered out in getScreenModes(). Keeping values same as provided from windows enum. 3- BitsPerPixel is currently natively read on windows only. --- make/scripts/java-win64.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/scripts/java-win64.bat') diff --git a/make/scripts/java-win64.bat b/make/scripts/java-win64.bat index eb40ca40c..96df81720 100755 --- a/make/scripts/java-win64.bat +++ b/make/scripts/java-win64.bat @@ -1,7 +1,7 @@ set BLD_SUB=build-win64 -set J2RE_HOME=c:\jre1.6.0_21_x64 -set JAVA_HOME=c:\jdk1.6.0_21_x64 +set J2RE_HOME=c:\jre1.6.0_20_x64 +set JAVA_HOME=c:\jdk1.6.0_20_x64 set ANT_PATH=C:\apache-ant-1.8.1 set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%PATH% -- cgit v1.2.3