aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com/sun/javafx
diff options
context:
space:
mode:
authorDmitri Trembovetski <[email protected]>2009-04-10 19:27:58 +0000
committerDmitri Trembovetski <[email protected]>2009-04-10 19:27:58 +0000
commitda57c2c820d1cad4365a6a24018a90f46eb29a5f (patch)
treeaf54e2035fb768c37e4feb4038be7cb9df08acbb /src/newt/classes/com/sun/javafx
parent16767ef62eec3e843c80b7b546a0b38860190fb7 (diff)
Newt fixes for Windows implementation: implemented undecorated window style
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1900 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/newt/classes/com/sun/javafx')
-rwxr-xr-xsrc/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java b/src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java
index d3f42d13e..2073c5d1b 100755
--- a/src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java
+++ b/src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java
@@ -70,7 +70,7 @@ public class WindowsWindow extends Window {
// pixel format selection here
chosenCaps = (Capabilities) caps.clone(); // FIXME: visualID := f1(caps); caps := f2(visualID)
config = null; // n/a
- windowHandle = CreateWindow(WINDOW_CLASS_NAME, getHInstance(), 0, x, y, width, height);
+ windowHandle = CreateWindow(WINDOW_CLASS_NAME, getHInstance(), 0, undecorated, x, y, width, height);
if (windowHandle == 0) {
throw new NativeWindowException("Error creating window");
}
@@ -177,6 +177,7 @@ public class WindowsWindow extends Window {
private static native long LoadLibraryW(String libraryName);
private static native long RegisterWindowClass(String windowClassName, long hInstance);
private native long CreateWindow(String windowClassName, long hInstance, long visualID,
+ boolean isUndecorated,
int x, int y, int width, int height);
private native void DestroyWindow(long windowHandle);
private native long GetDC(long windowHandle);