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
(1) |
2
|
|
3
|
4
(3) |
5
|
6
|
7
|
8
|
9
(12) |
|
10
|
11
(4) |
12
(18) |
13
(2) |
14
(1) |
15
|
16
|
|
17
(1) |
18
(2) |
19
(1) |
20
|
21
|
22
|
23
|
|
24
|
25
(2) |
26
|
27
(2) |
28
(7) |
29
(2) |
30
(1) |
|
From: Elias N. <eli...@us...> - 2005-04-29 15:20:28
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2968/src/native/win32 Modified Files: Window.h context.c org_lwjgl_input_Mouse.c org_lwjgl_opengl_Display.c Log Message: Win32: Compile fixes Index: Window.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/Window.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- Window.h 23 Feb 2005 11:42:04 -0000 1.24 +++ Window.h 29 Apr 2005 15:20:19 -0000 1.25 @@ -54,10 +54,6 @@ #define WINDOW_H_API #else #define WINDOW_H_API extern - extern bool isFullScreen; // Whether we're fullscreen or not - extern bool isMinimized; // Whether we're minimized or not - extern bool isFocused; // Whether we're focused or not - extern bool isDirty; // Whether we're dirty or not #endif /* _PRIVATE_WINDOW_H_ */ WINDOW_H_API HWND getCurrentHWND(); @@ -72,6 +68,7 @@ WINDOW_H_API void handleMessages(void); + WINDOW_H_API bool getCurrentFullscreen(); /* * Handle native Win32 messages */ Index: org_lwjgl_opengl_Display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Display.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- org_lwjgl_opengl_Display.c 29 Apr 2005 15:08:16 -0000 1.22 +++ org_lwjgl_opengl_Display.c 29 Apr 2005 15:20:19 -0000 1.23 @@ -63,6 +63,10 @@ #define WINDOWCLASSNAME "LWJGL" +bool getCurrentFullscreen() { + return isFullScreen; +} + HDC getCurrentHDC() { return display_hdc; } @@ -378,7 +382,7 @@ return; } - getWindowFlags(&windowflags, &exstyle, isFullscreen, getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")); + getWindowFlags(&windowflags, &exstyle, isFullScreen, getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")); // If we're not a fullscreen window, adjust the height to account for the // height of the title bar: Index: org_lwjgl_input_Mouse.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_input_Mouse.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- org_lwjgl_input_Mouse.c 29 Apr 2005 15:08:16 -0000 1.13 +++ org_lwjgl_input_Mouse.c 29 Apr 2005 15:20:19 -0000 1.14 @@ -363,7 +363,7 @@ int left_border_width; int bottom_border_width; - getWindowFlags(&windowflags, &extyle, isFullscreen, getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")); + getWindowFlags(&windowflags, &exstyle, getCurrentFullscreen(), getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")); if (!GetClientRect(getCurrentHWND(), &client_rect)) { printfDebugJava(env, "GetClientRect failed"); return; @@ -383,7 +383,7 @@ bottom_border_width = adjusted_client_rect.bottom - client_rect.bottom; transformed_x = window_rect.left + left_border_width + x; - transformed_y = window_rect.bottom - bottom_border_width - y; + transformed_y = window_rect.bottom - bottom_border_width - 1 - y; if (!SetCursorPos(transformed_x, transformed_y)) printfDebugJava(env, "SetCursorPos failed"); } Index: context.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/context.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- context.c 29 Apr 2005 15:08:15 -0000 1.6 +++ context.c 29 Apr 2005 15:20:19 -0000 1.7 @@ -140,7 +140,7 @@ DWORD exstyle, windowflags; HWND new_hwnd; - getWindowFlags(&windowflags, &exstyle, fullscreen, indecorated); + getWindowFlags(&windowflags, &exstyle, fullscreen, undecorated); // If we're not a fullscreen window, adjust the height to account for the // height of the title bar (unless undecorated) |
|
From: Elias N. <eli...@us...> - 2005-04-29 15:08:31
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29229/src/native/win32 Modified Files: context.c context.h org_lwjgl_input_Mouse.c org_lwjgl_opengl_Display.c Log Message: Win32: Fix Mouse.setCursorLocation() Index: context.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/context.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- context.c 30 Mar 2005 10:46:21 -0000 1.5 +++ context.c 29 Apr 2005 15:08:15 -0000 1.6 @@ -110,18 +110,8 @@ } } -/* - * Create a window with the specified title, position, size, and - * fullscreen attribute. The window will have DirectInput associated - * with it. - * - * Returns true for success, or false for failure - */ -HWND createWindow(LPCTSTR window_class_name, int x, int y, int width, int height, bool fullscreen, bool undecorated) -{ - RECT clientSize; - int exstyle, windowflags; - HWND new_hwnd; +void getWindowFlags(DWORD *windowflags_return, DWORD *exstyle_return, bool fullscreen, bool undecorated) { + DWORD exstyle, windowflags; if (fullscreen) { exstyle = WS_EX_APPWINDOW | WS_EX_TOPMOST; windowflags = WS_POPUP; @@ -133,6 +123,24 @@ windowflags = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU; } windowflags = windowflags | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; + *windowflags_return = windowflags; + *exstyle_return = exstyle; +} + +/* + * Create a window with the specified title, position, size, and + * fullscreen attribute. The window will have DirectInput associated + * with it. + * + * Returns true for success, or false for failure + */ +HWND createWindow(LPCTSTR window_class_name, int x, int y, int width, int height, bool fullscreen, bool undecorated) +{ + RECT clientSize; + DWORD exstyle, windowflags; + HWND new_hwnd; + + getWindowFlags(&windowflags, &exstyle, fullscreen, indecorated); // If we're not a fullscreen window, adjust the height to account for the // height of the title bar (unless undecorated) Index: org_lwjgl_opengl_Display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Display.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- org_lwjgl_opengl_Display.c 18 Apr 2005 07:31:07 -0000 1.21 +++ org_lwjgl_opengl_Display.c 29 Apr 2005 15:08:16 -0000 1.22 @@ -371,24 +371,14 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_reshape(JNIEnv *env, jobject self, jint x, jint y, jint width, jint height) { - int exstyle, windowflags; + DWORD exstyle, windowflags; RECT clientSize; if (isFullScreen) { return; } - if (isFullScreen) { - exstyle = WS_EX_APPWINDOW | WS_EX_TOPMOST; - windowflags = WS_POPUP; - } else if (getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")) { - exstyle = WS_EX_APPWINDOW; - windowflags = WS_POPUP; - } else { - exstyle = WS_EX_APPWINDOW; - windowflags = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU; - } - windowflags = windowflags | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; + getWindowFlags(&windowflags, &exstyle, isFullscreen, getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")); // If we're not a fullscreen window, adjust the height to account for the // height of the title bar: Index: org_lwjgl_input_Mouse.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_input_Mouse.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- org_lwjgl_input_Mouse.c 12 Apr 2005 12:04:36 -0000 1.12 +++ org_lwjgl_input_Mouse.c 29 Apr 2005 15:08:16 -0000 1.13 @@ -354,14 +354,36 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_setCursorPosition (JNIEnv * env, jobject self, jint x, jint y) { + DWORD windowflags, exstyle; int transformed_x, transformed_y; RECT window_rect; + RECT client_rect; + RECT adjusted_client_rect; + + int left_border_width; + int bottom_border_width; + + getWindowFlags(&windowflags, &extyle, isFullscreen, getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated")); + if (!GetClientRect(getCurrentHWND(), &client_rect)) { + printfDebugJava(env, "GetClientRect failed"); + return; + } + + adjusted_client_rect = client_rect; + if (!AdjustWindowRectEx(&adjusted_client_rect, windowflags, FALSE, exstyle)) { + printfDebugJava(env, "AdjustWindowRectEx failed"); + return; + } + if (!GetWindowRect(getCurrentHWND(), &window_rect)) { printfDebugJava(env, "GetWindowRect failed"); return; } - transformed_x = window_rect.left + x; - transformed_y = window_rect.bottom - y; + left_border_width = -adjusted_client_rect.left; + bottom_border_width = adjusted_client_rect.bottom - client_rect.bottom; + + transformed_x = window_rect.left + left_border_width + x; + transformed_y = window_rect.bottom - bottom_border_width - y; if (!SetCursorPos(transformed_x, transformed_y)) printfDebugJava(env, "SetCursorPos failed"); } Index: context.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/context.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- context.h 24 Feb 2005 13:24:08 -0000 1.2 +++ context.h 29 Apr 2005 15:08:16 -0000 1.3 @@ -79,6 +79,11 @@ */ extern HWND createDummyWindow(int x, int y); +/** + * Return appropriate window and extended style flags from the given fullscreen and undecorated property + */ +extern void getWindowFlags(DWORD *windowflags_return, DWORD *exstyle_return, bool fullscreen, bool undecorated); + /* * Create a window with the specified position, size, and * fullscreen attribute. The window will have DirectInput associated |