You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
(9) |
|
4
(28) |
5
(1) |
6
(9) |
7
(9) |
8
|
9
(7) |
10
|
|
11
(1) |
12
(18) |
13
(8) |
14
|
15
|
16
(2) |
17
(2) |
|
18
(17) |
19
(5) |
20
(5) |
21
(12) |
22
(1) |
23
|
24
|
|
25
|
26
(1) |
27
|
28
|
29
(3) |
30
(2) |
|
|
From: Elias N. <eli...@us...> - 2004-04-04 14:22:48
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6333/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Updated docs to reflect the dirty flag change Index: Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- Window.java 4 Apr 2004 13:37:46 -0000 1.44 +++ Window.java 4 Apr 2004 14:10:19 -0000 1.45 @@ -208,7 +208,7 @@ * If you are writing a straightforward game rendering loop and simply paint * every frame regardless, you can ignore this flag altogether. If you are * trying to be kind to other processes you can check this flag and only - * redraw when it returns true. The flag is cleared when swapBuffers() is caleld. + * redraw when it returns true. The flag is cleared when update() or isDirty() is called. * * @return true if the window has been damaged by external changes * and needs to repaint itself |
|
From: Elias N. <eli...@us...> - 2004-04-04 14:21:41
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6159/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Reverted the dirty flag change, because it might be used as a flag to check if the back buffer is corrupted when creating textures from the it. You can't just swap the back buffer in to clear the flag in that case. So we need the flag to be cleared also when isDirty is called Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:43:43 -0000 1.33 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 14:09:12 -0000 1.34 @@ -526,7 +526,9 @@ */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsDirty (JNIEnv *env, jclass clazz) { - return dirty ? JNI_TRUE : JNI_FALSE; + bool result = dirty; + dirty = false; + return result ? JNI_TRUE : JNI_FALSE; } /* |
|
From: Elias N. <eli...@us...> - 2004-04-04 14:21:41
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6159/win32 Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Reverted the dirty flag change, because it might be used as a flag to check if the back buffer is corrupted when creating textures from the it. You can't just swap the back buffer in to clear the flag in that case. So we need the flag to be cleared also when isDirty is called Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:38:18 -0000 1.27 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 14:09:12 -0000 1.28 @@ -592,7 +592,9 @@ */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsDirty (JNIEnv *env, jclass clazz) { - return isDirty ? JNI_TRUE : JNI_FALSE; + bool result = isDirty; + isDirty = false; + return result ? JNI_TRUE : JNI_FALSE; } /* @@ -697,4 +699,4 @@ SetWindowPos(hwnd, HWND_TOP, x, y, clientSize.right - clientSize.left, clientSize.bottom - clientSize.top, SWP_NOZORDER); } -*/ \ No newline at end of file +*/ |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:56:18
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2375/src/native/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Tweaking Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:39:10 -0000 1.32 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:43:43 -0000 1.33 @@ -68,7 +68,6 @@ static bool input_released; -static bool isUndecorated; static bool dirty; static bool vsync_enabled; static bool minimized; @@ -463,7 +462,7 @@ bool fscreen = false; if (fullscreen == JNI_TRUE) fscreen = true; - isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); + bool isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); if (!extgl_Open()) { throwException(env, "Could not load gl libs"); |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:51:38
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1512/src/native/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Tweaking Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:24:34 -0000 1.31 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:39:10 -0000 1.32 @@ -68,6 +68,7 @@ static bool input_released; +static bool isUndecorated; static bool dirty; static bool vsync_enabled; static bool minimized; @@ -462,7 +463,7 @@ bool fscreen = false; if (fullscreen == JNI_TRUE) fscreen = true; - bool isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); + isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); if (!extgl_Open()) { throwException(env, "Could not load gl libs"); @@ -526,9 +527,7 @@ */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsDirty (JNIEnv *env, jclass clazz) { - bool result = dirty; - dirty = false; - return result ? JNI_TRUE : JNI_FALSE; + return dirty ? JNI_TRUE : JNI_FALSE; } /* |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:50:46
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1289/src/native/win32 Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 12:49:40 -0000 1.26 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:38:18 -0000 1.27 @@ -592,9 +592,7 @@ */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsDirty (JNIEnv *env, jclass clazz) { - bool result = isDirty; - isDirty = false; - return result; + return isDirty ? JNI_TRUE : JNI_FALSE; } /* |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:50:14
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1203/src/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Tweaking Index: Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- Window.java 4 Apr 2004 13:19:54 -0000 1.43 +++ Window.java 4 Apr 2004 13:37:46 -0000 1.44 @@ -208,7 +208,7 @@ * If you are writing a straightforward game rendering loop and simply paint * every frame regardless, you can ignore this flag altogether. If you are * trying to be kind to other processes you can check this flag and only - * redraw when it returns true. The flag is cleared when you call paint(). + * redraw when it returns true. The flag is cleared when swapBuffers() is caleld. * * @return true if the window has been damaged by external changes * and needs to repaint itself @@ -229,13 +229,15 @@ public static void update() { if (!isCreated()) throw new IllegalStateException("Cannot update uncreated window"); - nUpdate(); - // We paint only when the window is visible, and either dirty or active. - if (isVisible() && (isDirty() || isActive())) { + // We paint only when the window is visible or dirty + if (isVisible() || isDirty()) { Util.checkGLError(); swapBuffers(); } + + nUpdate(); + // Poll the input devices while we're here if (Mouse.isCreated()) { Mouse.poll(); |
|
From: Elias N. <eli...@us...> - 2004-04-04 13:37:03
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31737/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Pulled global isUndecorated into function Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 12:51:52 -0000 1.30 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 13:24:34 -0000 1.31 @@ -68,7 +68,6 @@ static bool input_released; -static bool isUndecorated; static bool dirty; static bool vsync_enabled; static bool minimized; @@ -463,7 +462,7 @@ bool fscreen = false; if (fullscreen == JNI_TRUE) fscreen = true; - isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); + bool isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); if (!extgl_Open()) { throwException(env, "Could not load gl libs"); |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:32:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31023/src/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Index: Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- Window.java 4 Apr 2004 13:01:53 -0000 1.42 +++ Window.java 4 Apr 2004 13:19:54 -0000 1.43 @@ -230,7 +230,9 @@ if (!isCreated()) throw new IllegalStateException("Cannot update uncreated window"); nUpdate(); - if ((isDirty() && isVisible()) || (isActive() && isVisible())) { + + // We paint only when the window is visible, and either dirty or active. + if (isVisible() && (isDirty() || isActive())) { Util.checkGLError(); swapBuffers(); } |
|
From: Elias N. <eli...@us...> - 2004-04-04 13:30:44
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30825/java/org/lwjgl/test/opengl Modified Files: PbufferTest.java Log Message: Fixed a small glitch in the test conversion Index: PbufferTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/PbufferTest.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- PbufferTest.java 4 Apr 2004 12:48:51 -0000 1.30 +++ PbufferTest.java 4 Apr 2004 13:18:16 -0000 1.31 @@ -123,7 +123,7 @@ */ private void mainLoop() { while (!Keyboard.isKeyDown(Keyboard.KEY_ESCAPE) && !Window.isCloseRequested()) { - if (!Window.isVisible()) { + if (Window.isVisible()) { // check keyboard input processKeyboard(); // do "game" logic, and render it |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:14:20
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28213/src/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- Window.java 4 Apr 2004 12:53:45 -0000 1.41 +++ Window.java 4 Apr 2004 13:01:53 -0000 1.42 @@ -350,7 +350,7 @@ * the minimum requirements could not be met satisfactorily */ public static void create(String title, int x, int y, int width, int height, int bpp, int alpha, int depth, int stencil) throws LWJGLException { - create(title, x, y, width, height, bpp, alpha, depth, stencil); + create(title, x, y, width, height, bpp, alpha, depth, stencil, 0); } /** @@ -375,8 +375,15 @@ */ public static void create(String title, int x, int y, int width, int height, int bpp, int alpha, int depth, int stencil, int samples) throws LWJGLException { - - create(title, x, y, width, height, bpp, alpha, depth, stencil, samples); + if (isCreated()) + throw new IllegalStateException("Only one LWJGL window may be instantiated at any one time."); + Window.fullscreen = false; + Window.x = x; + Window.y = y; + Window.width = width; + Window.height = height; + Window.title = title; + createWindow(bpp, alpha, depth, stencil, samples); } /** |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:06:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26803/src/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- Window.java 4 Apr 2004 08:10:48 -0000 1.40 +++ Window.java 4 Apr 2004 12:53:45 -0000 1.41 @@ -36,9 +36,6 @@ * This is the abstract class for a Window in LWJGL. LWJGL windows have some * peculiar characteristics: * - * - width and height are always fixed and cannot be changed - * - the position of the window may or may not be programmable but once specified - * cannot be changed programmatically * - the window may be closeable by the user or operating system, and may be minimized * by the user or operating system * - only one window may ever be open at once @@ -81,9 +78,6 @@ /** Fullscreen */ private static boolean fullscreen; - /** Undecorated */ - private static boolean undecorated; - /** Tracks VBO state for the window context */ private static VBOTracker vbo_tracker; @@ -188,43 +182,26 @@ private static native boolean nIsCloseRequested(); /** - * @return true if the window is minimized or otherwise not visible + * @return true if the window is visible, false if not */ - public static boolean isMinimized() { + public static boolean isVisible() { if (!isCreated()) throw new IllegalStateException("Cannot determine minimized state of uncreated window"); - return nIsMinimized(); + return nIsVisible(); } - private static native boolean nIsMinimized(); + private static native boolean nIsVisible(); /** - * @return true if window is focused + * @return true if window is active, that is, the foreground display of the operating system. */ - public static boolean isFocused() { + public static boolean isActive() { if (!isCreated()) throw new IllegalStateException("Cannot determine focused state of uncreated window"); - return nIsFocused(); + return nIsActive(); } - private static native boolean nIsFocused(); - - /** - * Minimize the game and allow the operating system's default display to become - * visible. It is the responsibility of LWJGL's native code to restore the display - * to its normal display settings. - * - * If the display is already minimized then this is a no-op. - */ - public static native void minimize(); - - /** - * Restore the game and hide the operating system away. It is the responsibility of - * LWJGL's native code to restore the display to its game display settings. - * - * If the display is not minimized then this is a no-op/ - */ - public static native void restore(); + private static native boolean nIsActive(); /** * Determine if the window's contents have been damaged by external events. @@ -253,7 +230,7 @@ if (!isCreated()) throw new IllegalStateException("Cannot update uncreated window"); nUpdate(); - if ((isDirty() && !isMinimized()) || (isFocused() && !isMinimized())) { + if ((isDirty() && isVisible()) || (isActive() && isVisible())) { Util.checkGLError(); swapBuffers(); } @@ -347,7 +324,6 @@ if (isCreated()) throw new IllegalStateException("Only one LWJGL window may be instantiated at any one time."); Window.fullscreen = true; - Window.undecorated = true; Window.x = 0; Window.y = 0; Window.width = Display.getWidth(); @@ -374,7 +350,7 @@ * the minimum requirements could not be met satisfactorily */ public static void create(String title, int x, int y, int width, int height, int bpp, int alpha, int depth, int stencil) throws LWJGLException { - create(title, x, y, width, height, false, bpp, alpha, depth, stencil); + create(title, x, y, width, height, bpp, alpha, depth, stencil); } /** @@ -388,28 +364,6 @@ * @param y The position of the window on the y axis. May be ignored. * @param width The width of the window's client area * @param height The height of the window's client area - * @param undecorated A hint to specify that the window should not have OS decorations such as drag bar and close box - * @param bpp Minimum bits per pixel - * @param alpha Minimum bits per pixel in alpha buffer - * @param depth Minimum bits per pixel in depth buffer - * @throws LWJGLException if the window could not be created for any reason; typically because - * the minimum requirements could not be met satisfactorily - */ - public static void create(String title, int x, int y, int width, int height, boolean undecorated, int bpp, int alpha, int depth, int stencil) throws LWJGLException { - create(title, x, y, width, height, undecorated, bpp, alpha, depth, stencil, 0); - } - - /** - * Create a window. If the underlying OS does not have "floating" windows, then a fullscreen - * display will be created instead. If this fails too then an LWJGLException will be thrown. - * If the window is created fullscreen, then its size may not match the specified size - * here. - * <p>The window created will be set up in orthographic 2D projection, with 1:1 pixel ratio with GL coordinates. - * @param title The title of the window - * @param x The position of the window on the x axis. May be ignored. - * @param y The position of the window on the y axis. May be ignored. - * @param width The width of the window's client area - * @param height The height of the window's client area * @param bpp Minimum bits per pixel * @param alpha Minimum bits per pixel in alpha buffer * @param depth Minimum bits per pixel in depth buffer @@ -422,42 +376,7 @@ public static void create(String title, int x, int y, int width, int height, int bpp, int alpha, int depth, int stencil, int samples) throws LWJGLException { - create(title, x, y, width, height, false, bpp, alpha, depth, stencil, samples); - } - - /** - * Create a window. If the underlying OS does not have "floating" windows, then a fullscreen - * display will be created instead. If this fails too then an LWJGLException will be thrown. - * If the window is created fullscreen, then its size may not match the specified size - * here. - * <p>The window created will be set up in orthographic 2D projection, with 1:1 pixel ratio with GL coordinates. - * @param title The title of the window - * @param x The position of the window on the x axis. May be ignored. - * @param y The position of the window on the y axis. May be ignored. - * @param width The width of the window's client area - * @param height The height of the window's client area - * @param undecorated A hint to specify that the window should not have OS decorations such as drag bar and close box - * @param bpp Minimum bits per pixel - * @param alpha Minimum bits per pixel in alpha buffer - * @param depth Minimum bits per pixel in depth buffer - * @param stencil Minimum bits per pixel in stencil buffer - * @param samples Minimum samples in multisample buffer (corresponds to GL_SAMPLES_ARB in GL_ARB_multisample spec). - Pass 0 to disable multisampling. This parameter is ignored if GL_ARB_multisample is not supported. - * @throws LWJGLException if the window could not be created for any reason; typically because - * the minimum requirements could not be met satisfactorily - */ - public static void create(String title, int x, int y, int width, int height, boolean undecorated, int bpp, int alpha, int depth, int stencil, int samples) - throws LWJGLException { - if (isCreated()) - throw new IllegalStateException("Only one LWJGL window may be instantiated at any one time."); - Window.fullscreen = false; - Window.undecorated = undecorated; - Window.x = x; - Window.y = y; - Window.width = width; - Window.height = height; - Window.title = title; - createWindow(bpp, alpha, depth, stencil, samples); + create(title, x, y, width, height, bpp, alpha, depth, stencil, samples); } /** @@ -471,7 +390,6 @@ int width, int height, boolean fullscreen, - boolean undecorated, int bpp, int alpha, int depth, @@ -480,7 +398,7 @@ throws LWJGLException; private static void createWindow(int bpp, int alpha, int depth, int stencil, int samples) throws LWJGLException { - nCreate(title, x, y, width, height, fullscreen, undecorated, bpp, alpha, depth, stencil, samples); + nCreate(title, x, y, width, height, fullscreen, bpp, alpha, depth, stencil, samples); context = new Window(); makeCurrent(); @@ -621,68 +539,68 @@ private static native void nSetVSyncEnabled(boolean sync); - /** - * Set the window's location. This is a no-op on fullscreen windows. - * The window is clamped to remain entirely on the screen. If you attempt - * to position the window such that it would extend off the screen, the window - * is simply placed as close to the edge as possible. - * @param x, y The new window location - */ - public static void setLocation(int x, int y) { - if (!isCreated()) - throw new IllegalStateException("Cannot move uncreated window"); - if (fullscreen) { - return; - } - Window.x = Math.max(0, Math.min(Display.getWidth() - Window.width, x)); - Window.y = Math.max(0, Math.min(Display.getHeight() - Window.height, y)); - nReshape(Window.x, Window.y, Window.width, Window.height); - } - - /** - * Set the window's size. This is a no-op on fullscreen windows. - * The window is clamped to remain entirely on the screen. If you attempt - * to position the window such that it would extend off the screen, the window - * is simply placed as close to the edge as possible. - * @param width, height The new window dimensions - */ - public static void setSize(int width, int height) { - if (!isCreated()) - throw new IllegalStateException("Cannot resize uncreated window"); - if (fullscreen) { - return; - } - Window.width = Math.max(0, Math.min(Display.getWidth() - Window.x, width)); - Window.height = Math.max(0, Math.min(Display.getHeight() - Window.y, height)); - nReshape(Window.x, Window.y, Window.width, Window.height); - } - - /** - * Set the window's bounds. This is a no-op on fullscreen windows. - * The window is clamped to remain entirely on the screen. - * @param x, y The new window location - * @param width, height The new window dimensions - */ - public static void setBounds(int x, int y, int width, int height) { - if (!isCreated()) - throw new IllegalStateException("Cannot reshape uncreated window"); - if (fullscreen) { - return; - } - width = Math.max(0, Math.min(Display.getWidth(), width)); - height = Math.max(0, Math.min(Display.getHeight(), height)); - Window.x = Math.max(0, Math.min(Display.getWidth() - width, x)); - Window.y = Math.max(0, Math.min(Display.getHeight() - height, y)); - Window.width = Math.max(0, Math.min(Display.getWidth() - Window.x, width)); - Window.height = Math.max(0, Math.min(Display.getHeight() - Window.y, height)); - nReshape(Window.x, Window.y, Window.width, Window.height); - } - - /** - * Native method to reshape the window - * @param x, y The new window location - * @param width, height The new window dimensions - */ - private static native void nReshape(int x, int y, int width, int height); +// /** +// * Set the window's location. This is a no-op on fullscreen windows. +// * The window is clamped to remain entirely on the screen. If you attempt +// * to position the window such that it would extend off the screen, the window +// * is simply placed as close to the edge as possible. +// * @param x, y The new window location +// */ +// public static void setLocation(int x, int y) { +// if (!isCreated()) +// throw new IllegalStateException("Cannot move uncreated window"); +// if (fullscreen) { +// return; +// } +// Window.x = Math.max(0, Math.min(Display.getWidth() - Window.width, x)); +// Window.y = Math.max(0, Math.min(Display.getHeight() - Window.height, y)); +// nReshape(Window.x, Window.y, Window.width, Window.height); +// } +// +// /** +// * Set the window's size. This is a no-op on fullscreen windows. +// * The window is clamped to remain entirely on the screen. If you attempt +// * to position the window such that it would extend off the screen, the window +// * is simply placed as close to the edge as possible. +// * @param width, height The new window dimensions +// */ +// public static void setSize(int width, int height) { +// if (!isCreated()) +// throw new IllegalStateException("Cannot resize uncreated window"); +// if (fullscreen) { +// return; +// } +// Window.width = Math.max(0, Math.min(Display.getWidth() - Window.x, width)); +// Window.height = Math.max(0, Math.min(Display.getHeight() - Window.y, height)); +// nReshape(Window.x, Window.y, Window.width, Window.height); +// } +// +// /** +// * Set the window's bounds. This is a no-op on fullscreen windows. +// * The window is clamped to remain entirely on the screen. +// * @param x, y The new window location +// * @param width, height The new window dimensions +// */ +// public static void setBounds(int x, int y, int width, int height) { +// if (!isCreated()) +// throw new IllegalStateException("Cannot reshape uncreated window"); +// if (fullscreen) { +// return; +// } +// width = Math.max(0, Math.min(Display.getWidth(), width)); +// height = Math.max(0, Math.min(Display.getHeight(), height)); +// Window.x = Math.max(0, Math.min(Display.getWidth() - width, x)); +// Window.y = Math.max(0, Math.min(Display.getHeight() - height, y)); +// Window.width = Math.max(0, Math.min(Display.getWidth() - Window.x, width)); +// Window.height = Math.max(0, Math.min(Display.getHeight() - Window.y, height)); +// nReshape(Window.x, Window.y, Window.width, Window.height); +// } +// +// /** +// * Native method to reshape the window +// * @param x, y The new window location +// * @param width, height The new window dimensions +// */ +// private static native void nReshape(int x, int y, int width, int height); } |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:04:20
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26523/src/native/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 09:34:11 -0000 1.29 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 12:51:52 -0000 1.30 @@ -456,15 +456,14 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate - (JNIEnv * env, jclass clazz, jstring title, jint x, jint y, jint width, jint height, jboolean fullscreen, jboolean undecorated, jint bpp, jint alpha, jint depth, jint stencil, jint samples) + (JNIEnv * env, jclass clazz, jstring title, jint x, jint y, jint width, jint height, jboolean fullscreen, jint bpp, jint alpha, jint depth, jint stencil, jint samples) { int screen; Display *disp; bool fscreen = false; if (fullscreen == JNI_TRUE) fscreen = true; - if (undecorated == JNI_TRUE) - isUndecorated = true; + isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); if (!extgl_Open()) { throwException(env, "Could not load gl libs"); @@ -520,23 +519,6 @@ glXSwapBuffers(getCurrentDisplay(), getCurrentWindow()); } -/* - * Class: org_lwjgl_opengl_Window - * Method: minimize - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_minimize - (JNIEnv *env, jclass clazz) { -} - -/* - * Class: org_lwjgl_opengl_Window - * Method: restore - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_restore - (JNIEnv *env, jclass clazz) { -} /* * Class: org_lwjgl_opengl_Window @@ -547,17 +529,17 @@ (JNIEnv *env, jclass clazz) { bool result = dirty; dirty = false; - return result; + return result ? JNI_TRUE : JNI_FALSE; } /* * Class: org_lwjgl_opengl_Window - * Method: nIsMinimized + * Method: nIsVisible * Signature: ()Z */ -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsMinimized +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsVisible (JNIEnv *env, jclass clazz) { - return minimized; + return minimized ? JNI_FALSE : JNI_TRUE; } /* @@ -574,12 +556,12 @@ /* * Class: org_lwjgl_opengl_Window - * Method: nIsFocused + * Method: nIsActive * Signature: ()Z */ -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsFocused +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsActive (JNIEnv *env, jclass clazz) { - return focused; + return focused ? JNI_TRUE : JNI_FALSE; } JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsVSyncEnabled @@ -601,8 +583,3 @@ } } -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nReshape - (JNIEnv *env, jclass clazz, jint x, jint y, jint width, jint height) -{ - XMoveResizeWindow(current_disp, current_win, x, y, width, height); -} |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:02:11
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26159/src/native/win32 Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- org_lwjgl_opengl_Window.cpp 3 Apr 2004 23:01:38 -0000 1.25 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 12:49:40 -0000 1.26 @@ -482,33 +482,6 @@ /* * Class: org_lwjgl_Window - * Method: minimize - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_minimize - (JNIEnv * env, jclass clazz) -{ - if (isMinimized) - return; - ShowWindow(hwnd, SW_MINIMIZE); -} - -/* - * Class: org_lwjgl_Window - * Method: minimize - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_restore - (JNIEnv * env, jclass clazz) -{ - if (!isMinimized) - return; - - ShowWindow(hwnd, SW_RESTORE); -} - -/* - * Class: org_lwjgl_Window * Method: swapBuffers * Signature: ()V */ @@ -526,14 +499,14 @@ * Signature: (Ljava/lang/String;IIIIZIIII)V */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate - (JNIEnv * env, jclass clazz, jstring title, jint x, jint y, jint width, jint height, jboolean fullscreen, jboolean undecorated, jint bpp, jint alpha, jint depth, jint stencil, jint samples) + (JNIEnv * env, jclass clazz, jstring title, jint x, jint y, jint width, jint height, jboolean fullscreen, jint bpp, jint alpha, jint depth, jint stencil, jint samples) { closerequested = false; isMinimized = false; isFocused = true; isDirty = true; isFullScreen = fullscreen == JNI_TRUE; - isUndecorated = undecorated == JNI_TRUE; + isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated"); vsync = JNI_FALSE; // Speacial option for allowing software opengl @@ -626,12 +599,12 @@ /* * Class: org_lwjgl_opengl_Window - * Method: nIsMinimized + * Method: nIsVisible * Signature: ()Z */ -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsMinimized +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsVisible (JNIEnv *env, jclass clazz) { - return isMinimized; + return isMinimized ? JNI_FALSE : JNI_TRUE; } /* @@ -648,10 +621,10 @@ /* * Class: org_lwjgl_opengl_Window - * Method: nIsFocused + * Method: nIsActive * Signature: ()Z */ -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsFocused +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsActive (JNIEnv *env, jclass clazz) { return isFocused; } @@ -691,6 +664,7 @@ wglMakeCurrent(hdc, hglrc); } +/* JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nReshape (JNIEnv *env, jclass clazz, jint x, jint y, jint width, jint height) { @@ -725,3 +699,4 @@ SetWindowPos(hwnd, HWND_TOP, x, y, clientSize.right - clientSize.left, clientSize.bottom - clientSize.top, SWP_NOZORDER); } +*/ \ No newline at end of file |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:01:50
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25915/src/native/common Modified Files: org_lwjgl_opengl_Window.h Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: org_lwjgl_opengl_Window.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/org_lwjgl_opengl_Window.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- org_lwjgl_opengl_Window.h 3 Apr 2004 23:01:39 -0000 1.15 +++ org_lwjgl_opengl_Window.h 4 Apr 2004 12:48:52 -0000 1.16 @@ -36,34 +36,18 @@ /* * Class: org_lwjgl_opengl_Window - * Method: nIsMinimized + * Method: nIsVisible * Signature: ()Z */ -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsMinimized +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsVisible (JNIEnv *, jclass); /* * Class: org_lwjgl_opengl_Window - * Method: nIsFocused + * Method: nIsActive * Signature: ()Z */ -JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsFocused - (JNIEnv *, jclass); - -/* - * Class: org_lwjgl_opengl_Window - * Method: minimize - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_minimize - (JNIEnv *, jclass); - -/* - * Class: org_lwjgl_opengl_Window - * Method: restore - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_restore +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Window_nIsActive (JNIEnv *, jclass); /* @@ -93,10 +77,10 @@ /* * Class: org_lwjgl_opengl_Window * Method: nCreate - * Signature: (Ljava/lang/String;IIIIZZIIIII)V + * Signature: (Ljava/lang/String;IIIIZIIIII)V */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate - (JNIEnv *, jclass, jstring, jint, jint, jint, jint, jboolean, jboolean, jint, jint, jint, jint, jint); + (JNIEnv *, jclass, jstring, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint); /* * Class: org_lwjgl_opengl_Window @@ -134,9 +118,9 @@ * Class: org_lwjgl_opengl_Window * Method: nReshape * Signature: (IIII)V - */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nReshape (JNIEnv *, jclass, jint, jint, jint, jint); + */ #ifdef __cplusplus } |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:01:49
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25915/src/java/org/lwjgl/test/opengl Modified Files: Game.java VBOTest.java PbufferTest.java Grass.java FullScreenWindowedTest.java VBOIndexTest.java Removed Files: BouncingWindowTest.java Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: VBOIndexTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/VBOIndexTest.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- VBOIndexTest.java 29 Mar 2004 16:46:24 -0000 1.17 +++ VBOIndexTest.java 4 Apr 2004 12:48:51 -0000 1.18 @@ -114,7 +114,7 @@ while ( !finished ) { Window.update(); - if ( Window.isMinimized() ) + if ( !Window.isVisible() ) Thread.sleep(200); else if ( Window.isCloseRequested() ) System.exit(0); Index: FullScreenWindowedTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- FullScreenWindowedTest.java 26 Mar 2004 21:57:57 -0000 1.28 +++ FullScreenWindowedTest.java 4 Apr 2004 12:48:51 -0000 1.29 @@ -95,7 +95,7 @@ */ private void mainLoop() { while (!Keyboard.isKeyDown(Keyboard.KEY_ESCAPE) && !Window.isCloseRequested()) { - if (!Window.isMinimized()) { + if (Window.isVisible()) { // check keyboard input processKeyboard(); // do "game" logic, and render it Index: Grass.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/Grass.java,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- Grass.java 29 Mar 2004 16:46:24 -0000 1.33 +++ Grass.java 4 Apr 2004 12:48:51 -0000 1.34 @@ -192,7 +192,7 @@ while (!finished) { if (Window.isCloseRequested()) { finished = true; - } else if (!Window.isMinimized()) { + } else if (Window.isVisible()) { keyPoll(); float degree = (1.0f + (aslod.value * 20.0f)) * 0.01745329f; Index: VBOTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/VBOTest.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- VBOTest.java 29 Mar 2004 16:46:24 -0000 1.23 +++ VBOTest.java 4 Apr 2004 12:48:51 -0000 1.24 @@ -110,7 +110,7 @@ while ( !finished ) { Window.update(); - if ( Window.isMinimized() ) + if ( !Window.isVisible() ) Thread.sleep(200); else if ( Window.isCloseRequested() ) System.exit(0); Index: PbufferTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/PbufferTest.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- PbufferTest.java 26 Mar 2004 11:26:03 -0000 1.29 +++ PbufferTest.java 4 Apr 2004 12:48:51 -0000 1.30 @@ -123,7 +123,7 @@ */ private void mainLoop() { while (!Keyboard.isKeyDown(Keyboard.KEY_ESCAPE) && !Window.isCloseRequested()) { - if (!Window.isMinimized()) { + if (!Window.isVisible()) { // check keyboard input processKeyboard(); // do "game" logic, and render it Index: Game.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/Game.java,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- Game.java 26 Mar 2004 11:26:03 -0000 1.31 +++ Game.java 4 Apr 2004 12:48:51 -0000 1.32 @@ -94,7 +94,7 @@ try { init(); while (!finished) { - if (Window.isMinimized()) { + if (!Window.isVisible()) { Thread.sleep(200); } else if (Window.isCloseRequested()) { finished = true; --- BouncingWindowTest.java DELETED --- |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:01:49
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/shaders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25915/src/java/org/lwjgl/test/opengl/shaders Modified Files: ShadersTest.java Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: ShadersTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/shaders/ShadersTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ShadersTest.java 31 Mar 2004 21:03:20 -0000 1.3 +++ ShadersTest.java 4 Apr 2004 12:48:50 -0000 1.4 @@ -77,7 +77,7 @@ long lastFrameTime = 0; while ( run ) { - if ( Window.isMinimized() ) + if (!Window.isVisible() ) Thread.yield(); else { // This is the current frame time. |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:01:38
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25915/src/java/org/lwjgl/test/openal Modified Files: PositionTest.java Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: PositionTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/PositionTest.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- PositionTest.java 26 Mar 2004 21:57:56 -0000 1.17 +++ PositionTest.java 4 Apr 2004 12:49:09 -0000 1.18 @@ -229,7 +229,7 @@ Window.update(); // render and paint if !minimized and not dirty - if(!Window.isMinimized()) { + if(Window.isVisible()) { render(); } else { // sleeeeeep @@ -237,7 +237,7 @@ } // act on pause mode - paused(Window.isMinimized() || !Window.isFocused()); + paused(!(Window.isVisible() || Window.isActive())); // start sound after first paint, since we don't want // the delay before something is painted on the screen |
|
From: Caspian Rychlik-P. <ci...@us...> - 2004-04-04 13:01:37
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25915/src/java/org/lwjgl/test/input Modified Files: HWCursorTest.java KeyboardTest.java MouseTest.java ControllerTest.java Log Message: Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. Index: ControllerTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/ControllerTest.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- ControllerTest.java 26 Mar 2004 21:57:56 -0000 1.21 +++ ControllerTest.java 4 Apr 2004 12:49:09 -0000 1.22 @@ -161,7 +161,7 @@ // pause and continue if minimized - if(Window.isMinimized()) { + if(!Window.isVisible()) { pause(100); render(); continue; Index: KeyboardTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/KeyboardTest.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- KeyboardTest.java 26 Mar 2004 15:03:07 -0000 1.22 +++ KeyboardTest.java 4 Apr 2004 12:49:09 -0000 1.23 @@ -117,7 +117,7 @@ while (!Window.isCloseRequested()) { Window.update(); - if (Window.isMinimized()) { + if (!Window.isVisible()) { try { Thread.sleep(100); } catch (InterruptedException inte) { Index: HWCursorTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/HWCursorTest.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- HWCursorTest.java 26 Mar 2004 21:57:56 -0000 1.29 +++ HWCursorTest.java 4 Apr 2004 12:48:52 -0000 1.30 @@ -211,7 +211,7 @@ // allow subsystem to get a chance to run too Window.update(); - if (!Window.isMinimized()) { + if (Window.isVisible()) { // check keyboard input processKeyboard(); Index: MouseTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/MouseTest.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- MouseTest.java 26 Mar 2004 21:57:56 -0000 1.30 +++ MouseTest.java 4 Apr 2004 12:49:09 -0000 1.31 @@ -173,7 +173,7 @@ // pause and continue if minimized - if(Window.isMinimized()) { + if(!Window.isVisible()) { if(Window.isDirty()) { render(); } |
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30787 Modified Files: links.php license.php installation.php forum.php documentation.php demos.php credits.php contact.php changelog.php about.php Log Message: removed news require Index: license.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/license.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- license.php 30 Mar 2004 17:18:35 -0000 1.1 +++ license.php 4 Apr 2004 10:24:39 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("license"); Index: links.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/links.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- links.php 30 Mar 2004 17:18:35 -0000 1.1 +++ links.php 4 Apr 2004 10:24:39 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("links"); Index: contact.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/contact.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- contact.php 30 Mar 2004 17:18:35 -0000 1.1 +++ contact.php 4 Apr 2004 10:24:40 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("contact"); Index: demos.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/demos.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- demos.php 30 Mar 2004 17:18:35 -0000 1.1 +++ demos.php 4 Apr 2004 10:24:40 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("demos"); Index: about.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/about.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- about.php 30 Mar 2004 17:18:35 -0000 1.1 +++ about.php 4 Apr 2004 10:24:40 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("about"); Index: changelog.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/changelog.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- changelog.php 30 Mar 2004 17:18:35 -0000 1.1 +++ changelog.php 4 Apr 2004 10:24:40 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("changelog"); Index: installation.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/installation.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- installation.php 30 Mar 2004 17:18:35 -0000 1.1 +++ installation.php 4 Apr 2004 10:24:39 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("installation"); Index: credits.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/credits.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- credits.php 30 Mar 2004 17:18:35 -0000 1.1 +++ credits.php 4 Apr 2004 10:24:40 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("credits"); Index: forum.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/forum.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- forum.php 30 Mar 2004 17:18:35 -0000 1.1 +++ forum.php 4 Apr 2004 10:24:39 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("forum"); Index: documentation.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/documentation.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- documentation.php 30 Mar 2004 17:18:35 -0000 1.1 +++ documentation.php 4 Apr 2004 10:24:39 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("documentation"); |
|
From: Brian M. <ma...@us...> - 2004-04-04 10:36:42
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30688 Modified Files: download.php Log Message: added win32 cvs build Index: download.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/download.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- download.php 30 Mar 2004 17:18:35 -0000 1.1 +++ download.php 4 Apr 2004 10:24:15 -0000 1.2 @@ -1,6 +1,5 @@ <?php require 'include/default.php'; - require 'include/news.php'; printHeader(null, null); printMenu("download"); @@ -14,6 +13,10 @@ <a href="http://sourceforge.net/project/showfiles.php?group_id=58488&package_id=54362&release_id=192924" target="_blank">LWJGL 0.8 alpha</a> </p> <p> + Random Win32 CVS builds are provided here: <i>Please note that these builds may be more buggy than an official release, but will typically contain the newest features.</i><br> + <a href="http://matzon.dk/brian/lwjgl/builds/lwjgl-2004-03-31.rar" target="">lwjgl-2004-03-31.rar</a><br> + </p> + <p> Latest CVS tarball. Please download it here:<br> <a href="http://cvs.sourceforge.net/cvstarballs/java-game-lib-cvsroot.tar.bz2">CVS Tarball</a> </p> |
|
From: Brian M. <ma...@us...> - 2004-04-04 10:36:11
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30583 Modified Files: projects.php Log Message: made projects random Index: projects.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/projects.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- projects.php 30 Mar 2004 17:18:35 -0000 1.1 +++ projects.php 4 Apr 2004 10:23:43 -0000 1.2 @@ -1,6 +1,6 @@ <?php require 'include/default.php'; - require 'include/news.php'; + require 'include/projects.php'; printHeader(null, null); printMenu("projects"); @@ -62,137 +62,10 @@ The following is a list of projects that use LWJGL:<br> <i>Please write to <a href="mailto:in...@lw...">in...@lw...</a> if you have a project you want to have listed</i> </p> - - <!-- ALIEN FLUX --> - <p><u>Alien Flux</u></p> - <p> - <table width="600" border="0"> - <tr> - <td width="75">Website: </td> - <td><a href="http://puppygames.net/info.php?game=Alien_Flux" target="_blank">http://puppygames.net</a></td> - </tr> - <tr> - <td width="75">Type: </td> - <td>Commercial game</td> - </tr> - <tr valign="top "> - <td width="75">Description:</td> - <td>Defend the cutest, fluffiest little creatures in the Galaxy from a horde of evil aliens from the fifth dimension! With only fast reactions, animal cunning and a very big laser cannon to help you, you must rescue the Fluffies as malevolent Bubbles attempt to turn them into lime jelly. Fast, fun and furious original arcade action, incredible graphics, and atmospheric sound effects combine to make Alien Flux the best arcade shoot-em-up you've played for over a decade!</td> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - </table> - <table width="600" border="0"> - <tr> - <td><a href="javascript:showScreenShot('AlienFlux', 'alienflux', '1', 499, 379);"><img src="images/projects/alienflux_small_1.jpg" border="0" width="150" height="112"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('AlienFlux', 'alienflux', '2', 499, 379);"><img src="images/projects/alienflux_small_2.jpg" border="0" width="150" height="112"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('AlienFlux', 'alienflux', '3', 499, 379);"><img src="images/projects/alienflux_small_3.jpg" border="0" width="150" height="112"><a/></td> - </tr> - </table> - </p> - <!-- TRIBAL TROUBLE --> - <p> </p> - <p> </p> - <p><u>Tribal Trouble</u></p> - <p> - <table width="600" border="0"> - <tr> - <td width="75">Website: </td> - <td><a href="http://www.tribaltrouble.com/" target="_blank">http://www.tribaltrouble.com/</a></td> - </tr> - <tr> - <td width="75">Type: </td> - <td>Commercial game</td> - </tr> - <tr valign="top "> - <td width="75">Description:</td> - <td>Take the role of a chieftain and lead your clueless kinsmen to new discoveries and victories as tribal clashes rage across a group of tropical islands. Tribal Trouble is a fast paced realtime strategy game where you will find yourself pitted against your computer or online players as you collect resources, research new ground-breaking technologies (such as the spear) and rejoice as your armies burn down enemy villages.</td> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - </table> - <table width="600" border="0"> - <tr> - <td><a href="javascript:showScreenShot('TribalTrouble', 'tribaltrouble', '1', 1024, 768);"><img src="images/projects/tribaltrouble_small_1.jpg" border="0" width="150" height="113"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('TribalTrouble', 'tribaltrouble', '2', 1024, 768);"><img src="images/projects/tribaltrouble_small_2.jpg" border="0" width="150" height="113"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('TribalTrouble', 'tribaltrouble', '3', 1024, 768);"><img src="images/projects/tribaltrouble_small_3.jpg" border="0" width="150" height="113"><a/></td> - </tr> - </table> - </p> - - <!-- EXTORRIS --> - <p> </p> - <p> </p> - <p><u>Extorris</u></p> - <p> - <table width="600" border="0"> - <tr> - <td width="75">Website: </td> - <td><a href="http://extorris.com/" target="_blank">http://extorris.com/</a></td> - </tr> - <tr> - <td width="75">Type: </td> - <td><i>not provided</i></td> - </tr> - <tr valign="top "> - <td width="75">Description:</td> - <td><i>not provided</i></td> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - </table> - <table width="600" border="0"> - <tr> - <td><a href="javascript:showScreenShot('Extorris', 'extorris', '1', 1024, 768);"><img src="images/projects/extorris_small_1.jpg" border="0" width="150" height="113"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('Extorris', 'extorris', '2', 1024, 768);"><img src="images/projects/extorris_small_2.jpg" border="0" width="150" height="113"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('Extorris', 'extorris', '3', 1024, 768);"><img src="images/projects/extorris_small_3.jpg" border="0" width="150" height="113"><a/></td> - </tr> - </table> - </p> - - <!-- MARATHON --> - <p> </p> - <p> </p> - <p><u>Marathon</u></p> - <p> - <table width="600" border="0"> - <tr> - <td width="75">Website: </td> - <td><a href="http://www.digitalage.gr/zdimensions/" target="_blank">http://www.digitalage.gr/zdimensions/</a></td> - </tr> - <tr> - <td width="75">Type: </td> - <td><i>not provided</i></td> - </tr> - <tr valign="top "> - <td width="75">Description:</td> - <td><i>not provided</i></td> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - </table> - <table width="600" border="0"> - <tr> - <td><a href="javascript:showScreenShot('Marathon', 'marathon', '1', 600, 450);"><img src="images/projects/marathon_small_1.jpg" border="0" width="150" height="113"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('Marathon', 'marathon', '2', 1024, 768);"><img src="images/projects/marathon_small_2.jpg" border="0" width="150" height="113"><a/></td> - <td witdh="10"> </td> - <td><a href="javascript:showScreenShot('Marathon', 'marathon', '3', 600, 450);"><img src="images/projects/marathon_small_3.jpg" border="0" width="150" height="113"><a/></td> - </tr> - </table> - </p> - </div> +<?php + printProjects(); +?> <?php printFooter(); |
|
From: Brian M. <ma...@us...> - 2004-04-04 10:35:39
|
Update of /cvsroot/java-game-lib/LWJGL/www/images/projects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30496 Added Files: vermins_small_2.jpg vermins_small_1.jpg vermins_2.jpg vermins_1.jpg Log Message: Vermin ExTerminator screenshots added --- NEW FILE: vermins_small_1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vermins_1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vermins_2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vermins_small_2.jpg --- (This appears to be a binary file; contents omitted.) |
|
From: Brian M. <ma...@us...> - 2004-04-04 10:34:42
|
Update of /cvsroot/java-game-lib/LWJGL/www/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30365 Added Files: projects.php Log Message: made projects random --- NEW FILE: projects.php --- <?php // Projects // ======================================================= $projects[0] = array( "Alien Flux", "http://puppygames.net/info.php?game=Alien_Flux", "http://puppygames.net", "Commercial game", "Defend the cutest, fluffiest little creatures in the Galaxy from a horde of evil aliens from the fifth dimension! With only fast reactions, animal cunning and a very big laser cannon to help you, you must rescue the Fluffies as malevolent Bubbles attempt to turn them into lime jelly. Fast, fun and furious original arcade action, incredible graphics, and atmospheric sound effects combine to make Alien Flux the best arcade shoot-em-up you've played for over a decade!", array ("AlienFlux", 499, 379, 150, 112), array ("AlienFlux", 499, 379, 150, 112), array ("AlienFlux", 499, 379, 150, 112)); $projects[1] = array( "Tribal Trouble", "http://www.tribaltrouble.com/", "http://www.tribaltrouble.com/", "Commercial game", "Take the role of a chieftain and lead your clueless kinsmen to new discoveries and victories as tribal clashes rage across a group of tropical islands. Tribal Trouble is a fast paced realtime strategy game where you will find yourself pitted against your computer or online players as you collect resources, research new ground-breaking technologies (such as the spear) and rejoice as your armies burn down enemy villages.", array ("TribalTrouble", 1024, 768, 150, 113), array ("TribalTrouble", 1024, 768, 150, 113), array ("TribalTrouble", 1024, 768, 150, 113)); $projects[2] = array( "Extorris", "http://extorris.com/", "http://extorris.com/", "Commercial game", "The extorris game is multiplayer online game set in a futuristic society of convicts. The game build upon the classic concept of space warfare and exploration. The player is a convict banished by an authority to a far away galaxy. Here is he left on his own with a small ship. His goal is now to survive among the other convicts in a harsh anarchistic world and if possible find a way home.", array ("Extorris", 1024, 768, 150, 113), array ("Extorris", 1024, 768, 150, 113), array ("Extorris", 1024, 768, 150, 113)); $projects[3] = array( "Marathon", "http://www.digitalage.gr/zdimensions/", "http://www.digitalage.gr/zdimensions/", "Not provided", "Not provided", array ("Marathon", 600, 450, 150, 113), array ("Marathon", 1024, 768, 150, 113), array ("Marathon", 600, 450, 150, 113)); $projects[3] = array( "Vermin ExTerminator", "http://www.vermin-exterminator.de/", "http://www.vermin-exterminator.de/", "Free, open source game", "Vermin ExTerminator is a free multiplayer network game. It's a 2D real-time first-person shooter. Little worms (vermins) fight against each other using hand guns, rifles, grenades or rockets. In other words the game is mix of liero and a real-time worms. The game is written in Java with LWJGL as OpenGL and OpenAL interface. The development is open source and still in progress and till now Vermin ExTerminator is only in alpha version.", array ("Vermins", 800, 600, 150, 112), array ("Vermins", 800, 600, 150, 112)); // ------------------------------------------------------- ///////////////////////////////////////////////////////////////////////////////// // Prints the project items //////////////////////////////////////////////////////////////////////////////// function printProjects() { global $projects; shuffle($projects); // iterate each array for sub items foreach ($projects as $item) { echo "<!-- ". strtoupper($item[0]) ." -->\n"; echo "<p><u>$item[0]</u></p>"; echo "<p>"; echo "<table width=\"600\" border=\"0\">"; echo "<tr>"; echo "<td width=\"75\">Website: </td>"; echo "<td><a href=\"$item[1]\" target=\"_blank\">$item[2]</a></td>"; echo "</tr>"; echo "<tr>"; echo "<td width=\"75\">Type: </td>"; echo "<td>$item[3]</td>"; echo "</tr>"; echo "<tr valign=\"top\">"; echo "<td width=\"75\">Description:</td>"; echo "<td>$item[4]</td>"; echo "</tr>"; echo "<tr>"; echo "<td colspan=\"2\"> </td>"; echo "</tr>"; echo "</table>"; // check for screenshots if($item[5] != null) { echo "<table width=\"600\" border=\"0\">"; echo "<tr>"; // we have at most 3 screenshots for($i=0; $i<3; $i++) { if(isset($item[5+$i]) && $item[5+$i] != null) { echo "<td width=\"150\"><a href=\"javascript:showScreenShot('" . $item[5+$i][0] . "', '". strtolower($item[5+$i][0]) . "', '" . ($i+1) . "', " . $item[5+$i][1] . ", " . $item[5+$i][2] . ");\"><img src=\"images/projects/" . strtolower($item[5+$i][0]) . "_small_" . ($i+1) . ".jpg\" border=\"0\" width=\"" . $item[5+$i][3] . "\" height=\"" . $item[5+$i][4] . "\"><a/></td>"; echo "<td width=\"10\"> </td>"; } else { echo "<td width=\"150\"> </td>"; echo "<td width=\"10\"> </td>"; } } echo "</tr>"; echo "</table>"; } echo "</p>"; echo "<p> </p>"; echo "<p> </p>"; } echo "\n </div>\n"; } ?> |
|
From: Elias N. <eli...@us...> - 2004-04-04 09:46:38
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23231/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Implemented the undecorated flag and reshape on linux Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- org_lwjgl_opengl_Window.cpp 4 Apr 2004 08:36:55 -0000 1.28 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 09:34:11 -0000 1.29 @@ -205,7 +205,7 @@ attribs.event_mask = ExposureMask | FocusChangeMask | VisibilityChangeMask| StructureNotifyMask | KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask | PointerMotionMask; attribs.background_pixel = 0xFF000000; attribmask = CWColormap | CWBackPixel | CWEventMask; - if (fullscreen) { + if (fullscreen && undecorated) { attribmask |= CWOverrideRedirect; attribs.override_redirect = True; } @@ -227,7 +227,6 @@ XMapRaised(disp, win); waitMapped(disp, win); XClearWindow(disp, win); -// XSetInputFocus(current_disp, current_win, RevertToParent, CurrentTime); XSync(disp, True); } @@ -605,4 +604,5 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nReshape (JNIEnv *env, jclass clazz, jint x, jint y, jint width, jint height) { + XMoveResizeWindow(current_disp, current_win, x, y, width, height); } |