Camilla Berglund
4cd493dd9a
Add Win32 helper window
2015-11-23 20:48:51 +01:00
Camilla Berglund
b4b210526a
Move to RegisterWindowClassEx for no real reason
2015-11-23 20:38:18 +01:00
Camilla Berglund
1bf33a7402
Clarify WNDPROC window pointer handling
2015-11-21 20:55:13 +01:00
Camilla Berglund
27462c1078
Cleanup
2015-11-10 13:43:55 +01:00
Stanislav
dc373d2e0e
Fix for MinGW compilation
...
GET_XBUTTON_WPARAM is not defined on legacy MinGW.
Fixes #639 .
2015-11-10 13:43:17 +01:00
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
2015-11-09 14:46:09 +01:00
Camilla Berglund
3efaa065a5
Fix comment
2015-11-05 20:55:15 +01:00
Camilla Berglund
9f3636a103
Add partial support for Windows 8.1 per-monitor DPI
...
Related to #235 .
2015-11-01 17:39:21 +01:00
Camilla Berglund
3489b759a0
Simplify Win32 key and mouse button handling
2015-11-01 17:39:18 +01:00
Camilla Berglund
d725eeaf84
Simplify Win32 character message handling
2015-11-01 17:30:52 +01:00
Camilla Berglund
37b20124f9
Make call to DefWindowProcW explicit
2015-10-29 14:03:22 +01:00
Camilla Berglund
43f4afef78
Clarify WGL recreation comment
2015-10-28 03:44:02 +01:00
Camilla Berglund
c117965072
Fix misplaced #endif
2015-10-28 03:42:47 +01:00
Camilla Berglund
23bf1b530b
Move all WGL weirdness to Win32 code
2015-10-28 02:08:01 +01:00
Camilla Berglund
496f559c9a
Add GLFW_NO_API for creating context-less windows
2015-10-26 00:30:30 +01:00
Camilla Berglund
a94a84b507
Fix segfault on early WM_GETMINMAXINFO
2015-10-18 18:50:38 +02:00
Camilla Berglund
9dd3b8101a
Clarify Win32 getWindowFullSize
2015-10-18 17:18:34 +02:00
Camilla Berglund
d84772d620
Add size limits and aspect ratio functions
...
Fixes #555 .
2015-10-18 17:18:29 +02:00
Camilla Berglund
0aca5082ab
Replace LoadIcon with LoadImage
...
Fixes #585 .
2015-10-15 17:58:29 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
13fbb4748a
Clean up cursor mode setting
2015-10-12 22:01:50 +02:00
Camilla Berglund
95a07f3340
Start 3.2
2015-10-12 21:59:49 +02:00
Camilla Berglund
3dc53e21e5
Cleanup
2015-09-20 15:52:44 +02:00
Camilla Berglund
67eadf1e97
Fix glfwIconifyWindow not restoring video mode
...
Fixes #590 .
2015-09-07 16:32:10 +02:00
Camilla Berglund
0db3940cc4
Formatting
2015-08-16 14:28:51 +02:00
Camilla Berglund
e2bb5e1726
Fix glfwWaitEvents generating events on Win32
...
Disabled cursor mode caused subsequent glfwWaitEvents calls to return
directly on Win32 due to cursor re-centring emitting WM_MOUSEMOVE.
Fixes #543 .
2015-08-16 14:27:54 +02:00
Camilla Berglund
fcd6ec99d3
Formatting
2015-08-09 13:58:50 +02:00
Camilla Berglund
0a1225d0df
Decouple Win32 cursor setting and tracking
2015-08-09 13:26:41 +02:00
Camilla Berglund
bfe55118dd
Fixed name of Win32 cursor tracking flag.
2015-07-14 15:45:22 +02:00
Camilla Berglund
0f3b69c79d
Fixed missing utility function return types.
...
Fixes #546 .
2015-07-05 01:13:52 +02:00
Camilla Berglund
cc4c232956
Renamed cursor window library struct member.
...
Since _glfwPlatformWindowFocused it has a more limited role.
2015-06-17 12:06:45 +02:00
Camilla Berglund
ec6f0811a0
Improved initial placement of full screen windows.
2015-06-08 16:14:51 +02:00
Camilla Berglund
a257e7a3ee
Removed caching of Win32 window styles.
2015-06-08 16:10:07 +02:00
Camilla Berglund
b067bb6304
Removed swap interval re-application hack.
...
This approach is not compatible with multi-threading.
2015-06-02 03:32:27 +02:00
Camilla Berglund
8309e0ecb0
Use DwmFlush when DWM is enabled.
...
Use DwmFlush instead of WGL_EXT_swap_control when desktop compositing is
enabled, to avoid the jitter of DWM and WGL vsync fighting.
Fixes #516 .
2015-05-21 18:28:53 +02:00
Camilla Berglund
d493a82f9e
Various error fixes.
...
Fixed incorrect error types. Added missing error string prefixes.
Removed some invalid or superfluous error emissions. Clarified some
error strings. Joined error string lines to aid grep. Replaced some
generic error strings with specific ones. Documentation work.
Fixes #450 .
2015-03-15 15:52:27 +01:00
Camilla Berglund
93855ae6ab
Fixed name of path drop list.
2015-02-16 15:40:08 +01:00
Camilla Berglund
dcc78017b0
Fixed iconification event for maximized windows.
2015-01-06 15:36:15 +01:00
Camilla Berglund
9ec1a4361b
Removed duplication from bad rebase.
2015-01-06 15:24:53 +01:00
Camilla Berglund
439417a22c
Comment and string spell check pass.
2015-01-05 22:21:31 +01:00
Camilla Berglund
3c70155504
Formatting.
2015-01-05 20:24:48 +01:00
Camilla Berglund
d459145d28
Made glfwGetCursorPos query system directly.
...
Fixes #103 .
Fixes #153 .
Fixes #193 .
Fixes #355 .
Fixes #381 .
2015-01-04 16:54:19 +01:00
Camilla Berglund
641761ddb0
Changed state attribs to direct access.
...
Changed the window states (focused, iconified and visible) to query the
system directly.
THIS IS A BREAKING CHANGE, although a fairly obscure one. It affects
applications that both care about telling actual key events from
synthetic ones, and are implemented in a non-self-synchronizing way, and
that poll the GLFW_FOCUSED window attribute instead of using the window
focus callback.
If you maintain one of these, please feel free to drop me an email and
I'll help any way I can to transition your application to 3.1.
Fixes #189 .
Fixes #204 .
2015-01-04 16:53:32 +01:00
Camilla Berglund
45eebb39fb
Fixed order of operations.
2014-12-31 22:32:09 +01:00
Camilla Berglund
44372b89f6
Documentation work.
2014-12-18 02:53:14 +01:00
Camilla Berglund
2a1375e97c
Added glfwCreateStandardCursor.
...
This function allows the creation of cursor objects using one of several
standard cursor shapes from the current system cursor theme.
2014-12-15 21:58:44 +01:00
Camilla Berglund
1495134398
Changed all key translation to arrays.
2014-12-15 21:55:17 +01:00
Camilla Berglund
3b9a14fc9c
Moved note to new place of inversion.
2014-10-26 18:29:34 +01:00
Camilla Berglund
4c64e94d39
Fixed X-axis scroll offset inversion (take two).
...
Fixed #239 (properly).
2014-10-26 15:15:42 +01:00
Camilla Berglund
5ca875a7ff
Fixed incorrect full screen window placement.
...
Fixes #213 .
2014-09-10 14:31:22 +02:00